You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In your documentation to joy_teleop you say the node is looking for the teleop param in private space (~teleop).
But from tests and looking into your code you seem to look for teleop in relative space.
I think you can fix this by changing the doc on ros wiki or changing the code in /teleop_tools/joy_teleop/scripts/joy_teleop.py in line 40 from teleop_cfg = rospy.get_param("teleop") to teleop_cfg = rospy.get_param("~teleop").
And in line 25 check for ~teleop instead of teleop.
When looking in private space for params, maybe it would be more convinient to drop the teleop param at all and look for the name of the node as param instead (with if not rospy.has_param(rospy.get_name()): and teleop_cfg=rospy.get_param(rospy.get_name())). The rest of the code could be unchanged i think. An example .yaml would look like this then:
In your documentation to joy_teleop you say the node is looking for the teleop param in private space (~teleop).
But from tests and looking into your code you seem to look for teleop in relative space.
I think you can fix this by changing the doc on ros wiki or changing the code in
/teleop_tools/joy_teleop/scripts/joy_teleop.py
in line 40 fromteleop_cfg = rospy.get_param("teleop")
toteleop_cfg = rospy.get_param("~teleop")
.And in line 25 check for
~teleop
instead ofteleop
.When looking in private space for params, maybe it would be more convinient to drop the
teleop
param at all and look for the name of the node as param instead (withif not rospy.has_param(rospy.get_name()):
andteleop_cfg=rospy.get_param(rospy.get_name())
). The rest of the code could be unchanged i think. An example .yaml would look like this then:The text was updated successfully, but these errors were encountered: