Classes | |
class | MoveToPoints |
Functions | |
is_front_hazard_active (hazards) | |
Returns T/F if a hazard is detected. | |
create_pose_stamped (navigator, position_x, position_y, rotation_z) | |
Global function that uses values to create an object of PoseStamped. | |
main (args=None) | |
GridSpiralAlgorithm.create_pose_stamped | ( | navigator, | |
position_x, | |||
position_y, | |||
rotation_z ) |
Global function that uses values to create an object of PoseStamped.
PoseStamped is a class that contains coordinates that can be used to create a waypoint for the roomba to move to relative to a map
navigator | <—header stamp |
posistion_x | <— posistion on map x |
posistion_y | <– posistion on map y |
rotation_z | <— angle of roomba z |
GridSpiralAlgorithm.is_front_hazard_active | ( | hazards | ) |
Returns T/F if a hazard is detected.
Global function that checks if there is a hazard in front of the roomba
GridSpiralAlgorithm.main | ( | args = None | ) |