ADVRHumanoids / XBotControl

XBotControl framework: XBotCore + OpenSoT + CartesI/O
33 stars 3 forks source link

[XBOT2] cartesian interface is not able to locate the ros_server_node #44

Closed lia2790 closed 3 years ago

lia2790 commented 3 years ago

Problem

Hi, after having install xbot2 with the procedure through db, I am not able to run the example here anymore. Then I tried to run the simple example included in the cartesian interface. The error which I get is the following

liana@liana-MS-7820 ~/catkin_ws $ roslaunch cartesian_interface coman.launch 
... logging to /home/liana/.ros/log/9f173824-b874-11eb-9887-d8cb8a3f0cce/roslaunch-liana-MS-7820-28161.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://liana-MS-7820:41953/

SUMMARY
========

PARAMETERS
 * /cartesian/problem_description: <...>
 * /interactive_markers/tf_prefix: ci
 * /robot_description: <?xml version="1....
 * /robot_description_semantic: <?xml version="1....
 * /ros_server_node/enable_otg: True
 * /ros_server_node/is_model_floating_base: True
 * /ros_server_node/model_type: RBDL
 * /ros_server_node/rate: 100.0
 * /ros_server_node/solver: OpenSot
 * /ros_server_node/tf_prefix: ci
 * /ros_server_node/use_xbot_config: False
 * /rosdistro: melodic
 * /rosversion: 1.14.11

NODES
  /
    interactive_markers (cartesian_interface/marker_spawner)
    ros_server_node (cartesian_interface/ros_server_node)

WARNING: [/opt/xbot/share/cartesian_interface/launch/cartesio.launch] unknown <node> attribute 'rosmon-stop-timeout'
auto-starting new master
process[master]: started with pid [28174]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 9f173824-b874-11eb-9887-d8cb8a3f0cce
process[rosout-1]: started with pid [28190]
started core service [/rosout]
ERROR: cannot launch node of type [cartesian_interface/ros_server_node]: Cannot locate node of type [ros_server_node] in package [cartesian_interface]. Make sure file exists in package path and permission is set to executable (chmod +x)
ERROR: cannot launch node of type [cartesian_interface/marker_spawner]: Cannot locate node of type [marker_spawner] in package [cartesian_interface]. Make sure file exists in package path and permission is set to executable (chmod +x)

which is the same of when I run my own code since I use the same code, that it I launch the cartesio.launch file of the cartesian_interface...

@liesrock @alaurenzi is it possible to fix it? thank you in advance!

lia2790 commented 3 years ago

@liesrock found out that there is a missing /opt/xbot/.catkin file which was installed before with the setup.sh