Variables | |
float | duration = 0.0 |
is_on = bool(rospy.get_param('~is_on')) | |
rate = rospy.Rate(100) | |
set_state = rospy.ServiceProxy(srv_name, SetThrusterState) | |
string | srv_name = '/%s/thrusters/%d/set_thruster_state' |
float | starting_time = 0.0 |
success = set_state(is_on) | |
thruster_id = rospy.get_param('~thruster_id') | |
timeout | |
vehicle_name = rospy.get_namespace().replace('/', '') | |
set_thruster_state.duration = 0.0 |
Definition at line 34 of file set_thruster_state.py.
set_thruster_state.is_on = bool(rospy.get_param('~is_on')) |
Definition at line 44 of file set_thruster_state.py.
set_thruster_state.rate = rospy.Rate(100) |
Definition at line 72 of file set_thruster_state.py.
set_thruster_state.set_state = rospy.ServiceProxy(srv_name, SetThrusterState) |
Definition at line 68 of file set_thruster_state.py.
Definition at line 60 of file set_thruster_state.py.
set_thruster_state.starting_time = 0.0 |
Definition at line 28 of file set_thruster_state.py.
Definition at line 76 of file set_thruster_state.py.
set_thruster_state.thruster_id = rospy.get_param('~thruster_id') |
Definition at line 49 of file set_thruster_state.py.
set_thruster_state.timeout |
Definition at line 63 of file set_thruster_state.py.
set_thruster_state.vehicle_name = rospy.get_namespace().replace('/', '') |
Definition at line 58 of file set_thruster_state.py.