Open DaAwesomeP opened 2 years ago
Appears to be related to https://github.com/RobotWebTools/rosbridge_suite/issues/552 and https://github.com/RobotWebTools/rosbridge_suite/issues/697
might be related to https://github.com/RobotWebTools/rosbridge_suite/pull/804
Description
I am trying to use an action from
irobot_create_msgs
, but I am not quite sure how I am supposed to formatActionClient()
to properly associate the action withirobot_create_msgs
. If this is instead a bug with rosbridge, please let me know.To Reproduce Steps to reproduce the behavior:
roslibpy
ros.py
:client = roslibpy.Ros(host='127.0.0.1', port=9090) client.run()
action_client = roslibpy.actionlib.ActionClient(client, '/myrobot', 'irobot_create_msgs/DriveDistanceAction')
goal = roslibpy.actionlib.Goal(action_client, roslibpy.Message({'distance': 0.5}))
goal.on('feedback', lambda f: print(f['remaining_travel_distance'])) goal.send() result = goal.wait(10) action_client.dispose()
print('Result: {}'.format(result['pose']))
Expected behavior
Screenshots
rosbridge log:
System (please complete the following information):
Additional context
rosbridge is running in a Docker container on the same machine with networking in host mode and the following Dockerfile:
The bridge is definitely functioning and connecting with the iRobot, as I see the iRobot topics in the correct namespace when I run
roslibpy topic list
. I also verified that the action is installed: