Code Monkey home page Code Monkey logo

Comments (2)

lugu avatar lugu commented on August 18, 2024

diagnostic confirmed:

> github.com/lugu/qiloop/bus.(*client).Call() /home/ludo/go/src/github.com/lugu/qiloop/bus/client.go:57 (PC: 0x970c58)
Frame 0: /home/ludo/go/src/github.com/lugu/qiloop/bus/client.go:57 (PC: 970c58)
    52:         }
    53:
    54:         msg := c.newMessage(serviceID, objectID, actionID, payload)
    55:         messageID := msg.Header.ID
    56:
=>  57:         reply := make(chan *net.Message)
    58:
    59:         filter := func(hdr *net.Header) (matched bool, keep bool) {
    60:                 if hdr.Service == serviceID && hdr.Object == objectID &&
    61:                         hdr.Action == actionID && hdr.ID == messageID {
    62:                         return true, false
(dlv) p actionID
149
(dlv) frame 5
> github.com/lugu/qiloop/bus.(*client).Call() /home/ludo/go/src/github.com/lugu/qiloop/bus/client.go:57 (PC: 0x970c58)
Frame 5: ./main.go:29 (PC: 995050)
    24:         if err != nil {
    25:                 panic(err)
    26:         }
    27:
    28:         // Remote procedure call: call the method "move to" of the service.
=>  29:         err = motion.MoveTo(0.2, 0, 0)
    30:         if err != nil {
    31:                 panic(err)
    32:         }
    33:
    34:         // Demonstrate cancellation: create a context which expires in
(dlv) p motion.ObjectProxy.proxy.meta.Methods[149]
github.com/lugu/qiloop/type/object.MetaMethod {
        Uid: 149,
        ReturnSignature: "b",
        Name: "moveTo",
        ParametersSignature: "(m)",
        Description: "Makes the robot move to the given relative positions. This is a ...+14 more",
        Parameters: []github.com/lugu/qiloop/type/object.MetaMethodParameter len: 1, cap: 1, [
                (*"github.com/lugu/qiloop/type/object.MetaMethodParameter")(0xc00000e1c0),
        ],
        ReturnDescription: "true if the moveTo finished successfully",}
(dlv)

from qiloop.

lugu avatar lugu commented on August 18, 2024

@ng2dev : if you still have this issue, maybe you can take a look at:
#31

from qiloop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.