#include <missionExecution.hpp>
Definition at line 71 of file missionExecution.hpp.
Subscribers
Publishers
Services
Define primitive parameters
TODO Automate primitive map creation.
Definition at line 187 of file missionExecution.hpp.
Activate primitive timeout
Definition at line 325 of file missionExecution.hpp.
Activate primitive timeout
Definition at line 334 of file missionExecution.hpp.
Evaluate primitive data with current values
Activate primitive timeout
Activate primitive
Definition at line 265 of file missionExecution.hpp.
void labust::mission::MissionExecution::evaluatePrimitive | ( | string | primitiveString | ) |
Debug
Definition at line 230 of file missionExecution.hpp.
Definition at line 260 of file missionExecution.hpp.
Evaluate primitive data with current values
Activate primitive timeout
Activate primitive
Definition at line 280 of file missionExecution.hpp.
Evaluate primitive data with current values
Activate primitive timeout
Activate primitive
Definition at line 297 of file missionExecution.hpp.
Activate primitive timeout
Definition at line 314 of file missionExecution.hpp.
void labust::mission::MissionExecution::onDataEventsContainer | ( | const misc_msgs::DataEventsContainer::ConstPtr & | data | ) |
DataEventsContainer callback
If primitive has active events
Reset flag and counters
For each primitive event check if it is true
First true event has priority
Definition at line 381 of file missionExecution.hpp.
void labust::mission::MissionExecution::onEventString | ( | const std_msgs::String::ConstPtr & | msg | ) |
EventString topic callback
Definition at line 447 of file missionExecution.hpp.
Reset timers and flags
Stop timeout timer
Reset execution flags
Definition at line 491 of file missionExecution.hpp.
void labust::mission::MissionExecution::onReceivePrimitive | ( | const misc_msgs::SendPrimitive::ConstPtr & | data | ) |
ReceivePrimitive topic callback
Check if received primitive has active events
Call primitive
Definition at line 410 of file missionExecution.hpp.
void labust::mission::MissionExecution::onStateHat | ( | const auv_msgs::NavSts::ConstPtr & | data | ) |
Definition at line 437 of file missionExecution.hpp.
void labust::mission::MissionExecution::onTimeout | ( | const ros::TimerEvent & | timer | ) |
On timeout finish primitive execution
Definition at line 483 of file missionExecution.hpp.
Request new primitive
Definition at line 465 of file missionExecution.hpp.
void labust::mission::MissionExecution::setTimeout | ( | double | timeout | ) |
Set primitive timeout
Definition at line 473 of file missionExecution.hpp.
Execution flags
Definition at line 174 of file missionExecution.hpp.
Controller manager class
Definition at line 138 of file missionExecution.hpp.
Vectors
Definition at line 165 of file missionExecution.hpp.
Mission state flag
Definition at line 180 of file missionExecution.hpp.
Next primitive to request
Definition at line 177 of file missionExecution.hpp.
ROS Node handle
Definition at line 141 of file missionExecution.hpp.
auv_msgs::NED labust::mission::MissionExecution::oldPosition |
Remember last primitive end point
Definition at line 159 of file missionExecution.hpp.
map<string, double> labust::mission::MissionExecution::primitiveMap |
Map for storing last primitive floating point data
Definition at line 168 of file missionExecution.hpp.
Definition at line 165 of file missionExecution.hpp.
map<string, string> labust::mission::MissionExecution::primitiveStringMap |
Map for storing last primitive string data
Definition at line 171 of file missionExecution.hpp.
Definition at line 147 of file missionExecution.hpp.
Publishers
Definition at line 147 of file missionExecution.hpp.
misc_msgs::SendPrimitive labust::mission::MissionExecution::receivedPrimitive |
Store last received primitive
Definition at line 162 of file missionExecution.hpp.
Services
Definition at line 153 of file missionExecution.hpp.
auv_msgs::NavSts labust::mission::MissionExecution::state |
stateHat container
Definition at line 156 of file missionExecution.hpp.
Subscribers
Definition at line 150 of file missionExecution.hpp.
Definition at line 150 of file missionExecution.hpp.
Definition at line 150 of file missionExecution.hpp.
Definition at line 150 of file missionExecution.hpp.
Definition at line 174 of file missionExecution.hpp.
Timers
Definition at line 144 of file missionExecution.hpp.