7.13.2. robot_control.GoBack
- class robot_control.GoBack(*args: Any, **kwargs: Any)
Bases:
StateSmach state that will move the robot backwards.
- Returns:
‘succeeded’: The state only returns succeeded.
- Return type:
smach-result
- __init__(distance)
Initializes the GoBack state. Sets the distance to move backwards.
- Parameters:
distance (float) – The distance to move backwards in meters.
Methods
__init__(distance)Initializes the GoBack state.
execute(userdata)