yarprunlogger doesn't have records & Driver <cartesiancontrollerclient> was found but could not open #663
-
Hi, I use my own laptop to do the simulation of icub, but I have trouble viewing the log: The error is: [DEBUG] |yarp.dev.PolyDriver|cartesiancontrollerclient| Parameters are (device cartesiancontrollerclient) (local "/cartesian_client/left_arm") (remote "/icubSim/cartesianController/left_arm")
[INFO] |yarp.os.Port|/cartesian_client/left_arm/command:o| Port /cartesian_client/left_arm/command:o active at tcp://10.2.159.151:10094/
[INFO] |yarp.os.Port|/cartesian_client/left_arm/state:i| Port /cartesian_client/left_arm/state:i active at tcp://10.2.159.151:10095/
[INFO] |yarp.os.Port|/cartesian_client/left_arm/events:i| Port /cartesian_client/left_arm/events:i active at tcp://10.2.159.151:10096/
[INFO] |yarp.os.Port|/cartesian_client/left_arm/rpc:o| Port /cartesian_client/left_arm/rpc:o active at tcp://10.2.159.151:10097/
[INFO] |yarp.os.impl.PortCoreOutputUnit|/cartesian_client/left_arm/rpc:o| Sending output from /cartesian_client/left_arm/rpc:o to /icubSim/cartesianController/left_arm/rpc:i using tcp
[INFO] |yarp.os.impl.PortCoreOutputUnit|/cartesian_client/left_arm/command:o| Sending output from /cartesian_client/left_arm/command:o to /icubSim/cartesianController/left_arm/command:i using udp
[INFO] |yarp.os.impl.PortCoreInputUnit|/cartesian_client/left_arm/state:i| Receiving input from /icubSim/cartesianController/left_arm/state:o to /cartesian_client/left_arm/state:i using udp
[INFO] |yarp.os.impl.PortCoreInputUnit|/cartesian_client/left_arm/events:i| Receiving input from /icubSim/cartesianController/left_arm/events:o to /cartesian_client/left_arm/events:i using udp
[ERROR] unable to connect to solver!
[INFO] |yarp.os.impl.PortCoreOutputUnit|/cartesian_client/left_arm/command:o| output for route /cartesian_client/left_arm/command:o->udp->/icubSim/cartesianController/left_arm/command:i asking other side to close by out-of-band means
[INFO] |yarp.os.impl.PortCoreOutputUnit|/cartesian_client/left_arm/command:o| Removing output from /cartesian_client/left_arm/command:o to /icubSim/cartesianController/left_arm/command:i
[INFO] |yarp.os.impl.PortCoreInputUnit|/cartesian_client/left_arm/state:i| Removing input from /icubSim/cartesianController/left_arm/state:o to /cartesian_client/left_arm/state:i
[INFO] |yarp.os.impl.PortCoreInputUnit|/cartesian_client/left_arm/events:i| Removing input from /icubSim/cartesianController/left_arm/events:o to /cartesian_client/left_arm/events:i
[INFO] |yarp.os.impl.PortCoreOutputUnit|/cartesian_client/left_arm/rpc:o| Removing output from /cartesian_client/left_arm/rpc:o to /icubSim/cartesianController/left_arm/rpc:i
[ERROR] |yarp.dev.PolyDriver|cartesiancontrollerclient| Driver <cartesiancontrollerclient> was found but could not open I cannot figure out why. Really thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I have figured out the question about yarplogger. Really thanks |
Beta Was this translation helpful? Give feedback.
Hi @Yujia-Zhang0913
Don't know what exact tutorial you're referring to.
At any rate, from the first log, it seems that you're trying to connect to
icubSim/right_arm
andicubSim/cartesianController/right_arm
, whereas YARP ports shall begin with the leading forward slash/
.Therefore, correct names for destination ports are instead:
/icubSim/right_arm
/icubSim/cartesianController/right_arm
Generally speaking, the Cartesian Control exploits only a limited knowledge for doing self-collision avoidance. In particular, the shoulder and the elbow are controlled in such a way that…