ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
goal_status: actionlib_msgs/GoalStatus
this doesn't look like a proper Python type name to me.
shouldn't it at least be actionlib_msgs.msg.GoalStatus
?
2 | No.2 Revision |
however Im getting errors (expectedly) when type hinting for rosmsgs during function callbacks...
why expectedly?
ROS msgs in Python are Python modules containing (mainly) a class. So you should be able to treat them as such.
goal_status: actionlib_msgs/GoalStatus
this doesn't look like a proper Python type name to me.
shouldn't it at least be actionlib_msgs.msg.GoalStatus
?
3 | No.3 Revision |
however Im getting errors (expectedly) when type hinting for rosmsgs during function callbacks...
why expectedly?
ROS msgs in Python are Python modules containing (mainly) a class. So you should be able to treat them as such.
As long as the packages are on the PYTHONPATH
, I'd expect things to work.
goal_status: actionlib_msgs/GoalStatus
this doesn't look like a proper Python type name to me.
shouldn't it at least be actionlib_msgs.msg.GoalStatus
?