GridSpiral Algorithm Prototype
a cleaning coverage planner
 
Loading...
Searching...
No Matches
GridSpiralAlgorithm Namespace Reference

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)
 

Function Documentation

◆ create_pose_stamped()

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

Parameters
navigator<—header stamp
posistion_x<— posistion on map x
posistion_y<– posistion on map y
rotation_z<— angle of roomba z
Returns
This function returns an object of PoseStampe

◆ is_front_hazard_active()

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

◆ main()

GridSpiralAlgorithm.main ( args = None)