Open vooon opened 8 years ago
https://github.com/osrf/uctf/blob/master/src/uctf/control.py#L210
I think it more intuitive to write:
req.custom_mode = 'AUTO.MISSION'
http://wiki.ros.org/mavros/CustomModes
And:
try: service = rospy.ServiceProxy(service_name, SetMode) resp = service(base_mode=0, custom_mode='AUTO.MISSION') except rospy.ServiceException as e:
Thank you for the suggestion. The file control.py is only a test and will soon be removed.
control.py
https://github.com/osrf/uctf/blob/master/src/uctf/control.py#L210
I think it more intuitive to write:
http://wiki.ros.org/mavros/CustomModes
And: