Skip to content
Snippets Groups Projects
Commit 27ad2bf9 authored by bucyril's avatar bucyril
Browse files

CrazyRadio param fix

parent 6b00cd1d
No related branches found
No related tags found
No related merge requests found
......@@ -104,8 +104,8 @@ if __name__ == '__main__':
# Initialize the low-level drivers (don't list the debug drivers)
cflib.crtp.init_drivers(enable_debug_driver=False)
if rospy.has_param("/CrazyRadio/crazyFlieAddress"):
radio_address = rospy.get_param("/CrazyRadio/crazyFlieAddress")
if rospy.has_param("~crazyFlieAddress"):
radio_address = rospy.get_param("~crazyFlieAddress")
rospy.loginfo("Crazyradio connecting to %s" % radio_address)
global cf_client
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment