SecurBot  0.1
A cutting edge robotic security platform
Classes | Namespaces | Functions | Variables
patrolExecutive.py File Reference

Classes

class  patrolExecutive.Status
 

Namespaces

 patrolExecutive
 

Functions

def patrolExecutive.waypointToPixelPoseStamped (waypointObject)
 Format Waypoint to Pixel PoseStamped. More...
 
def patrolExecutive.pixelPoseStampedToRealPoseStamped (pixelPoseStamped)
 Publish Pixel PoseStamped to map_image_generator to format it into Real PoseStamped. More...
 
def patrolExecutive.realPoseStampedReceiverCallback (realPoseStamped)
 Callback funtion receiving processed waypoint from map_image. More...
 
def patrolExecutive.startPatrolNavigation ()
 This function starts sending the different waypoint that were converted in the list. More...
 
def patrolExecutive.waypointsListReceiverCallback (waypointsJsonStr)
 Callback funtion that handles the reception of new patrol plans. More...
 
def patrolExecutive.interruptReceiverCallback (interruptJsonStr)
 Interprets interruption requests. More...
 
def patrolExecutive.getStatusString (uInt8Status)
 Returns status as a string, used primarly for debugging purposes. More...
 
def patrolExecutive.publishPatrolFeedBack (patrolId, status, acheivedWaypointCount, plannedWaypointCount)
 Publishes the advancement of a patrol. More...
 
def patrolExecutive.sendGoalDoneCallback (terminalState, result)
 Callback function called when an action sent to move_base is done. More...
 
def patrolExecutive.patrolExecutive ()
 Main function starting the Patrol Executive Node. More...
 

Variables

int patrolExecutive.PIXEL_POSESTAMPED_INDEX = 1
 
int patrolExecutive.REAL_POSESTAMPED_INDEX = 2
 
 patrolExecutive.actionClient = actionlib.SimpleActionClient('move_base', MoveBaseAction)
 
list patrolExecutive.waypointsPatrolList = []
 
int patrolExecutive.currentWaypointIndex = 0
 
bool patrolExecutive.isLooped = False
 
string patrolExecutive.patrolId = ""
 
 patrolExecutive.toMapImageGenerator = rospy.Publisher("toMapImageGenerator", PoseStamped, queue_size=20)
 
 patrolExecutive.toElectron = rospy.Publisher("toElectron", String, queue_size=20)