#include <CNRRemoteRadio.hpp>
The class that implements the CART side of the CNR remote station control protocol.
Definition at line 66 of file CNRRemoteRadio.hpp.
anonymous enum [private] |
Definition at line 68 of file CNRRemoteRadio.hpp.
anonymous enum [private] |
Definition at line 70 of file CNRRemoteRadio.hpp.
anonymous enum [private] |
Definition at line 71 of file CNRRemoteRadio.hpp.
anonymous enum [private] |
Definition at line 72 of file CNRRemoteRadio.hpp.
anonymous enum [private] |
Definition at line 74 of file CNRRemoteRadio.hpp.
Main constructor
Definition at line 59 of file CNRRemoteRadio.cpp.
Main deconstructor
Definition at line 78 of file CNRRemoteRadio.cpp.
void CNRRemoteRadio::dummyRequest | ( | ) | [private] |
Send the buoy reply message.
Definition at line 462 of file CNRRemoteRadio.cpp.
void CNRRemoteRadio::onCurrentMode | ( | const std_msgs::Int32::ConstPtr & | mode | ) | [private] |
Handle the measurements.
Definition at line 123 of file CNRRemoteRadio.cpp.
void CNRRemoteRadio::onIncomingData | ( | const boost::system::error_code & | error, |
const size_t & | transferred | ||
) | [private] |
Handle incoming modem data.
Definition at line 182 of file CNRRemoteRadio.cpp.
void CNRRemoteRadio::onInit | ( | ) |
Initialize and setup the manager.
Definition at line 85 of file CNRRemoteRadio.cpp.
void CNRRemoteRadio::onLaunch | ( | const std_msgs::Bool::ConstPtr & | launch | ) | [private] |
Handle the launch.
Definition at line 126 of file CNRRemoteRadio.cpp.
void CNRRemoteRadio::onStateHat | ( | const auv_msgs::NavSts::ConstPtr & | estimate | ) | [private] |
Handle the estimates.
Definition at line 131 of file CNRRemoteRadio.cpp.
void CNRRemoteRadio::onSync | ( | const boost::system::error_code & | error, |
const size_t & | transferred | ||
) | [private] |
Handle incoming modem data.
Definition at line 145 of file CNRRemoteRadio.cpp.
void CNRRemoteRadio::onTimeout | ( | ) | [private] |
Modem timeout detection.
Definition at line 477 of file CNRRemoteRadio.cpp.
void CNRRemoteRadio::reply | ( | ) | [private] |
Send the reply message.
Definition at line 418 of file CNRRemoteRadio.cpp.
void CNRRemoteRadio::replyBuoy | ( | ) | [private] |
Send the buoy reply message.
Definition at line 441 of file CNRRemoteRadio.cpp.
void CNRRemoteRadio::start | ( | ) |
Start the radio node.
Definition at line 520 of file CNRRemoteRadio.cpp.
void CNRRemoteRadio::start_receive | ( | ) | [private] |
Start the receiving thread.
Definition at line 139 of file CNRRemoteRadio.cpp.
The asio streambuffer.
Definition at line 174 of file CNRRemoteRadio.hpp.
double labust::control::CNRRemoteRadio::buoyDistance [private] |
Definition at line 146 of file CNRRemoteRadio.hpp.
boost::mutex labust::control::CNRRemoteRadio::cdataMux [private] |
The data protector.
Definition at line 170 of file CNRRemoteRadio.hpp.
The service client.
Definition at line 182 of file CNRRemoteRadio.hpp.
boost::mutex labust::control::CNRRemoteRadio::clientMux [private] |
Definition at line 170 of file CNRRemoteRadio.hpp.
Definition at line 154 of file CNRRemoteRadio.hpp.
double labust::control::CNRRemoteRadio::currLat [private] |
Definition at line 146 of file CNRRemoteRadio.hpp.
double labust::control::CNRRemoteRadio::currLon [private] |
Definition at line 146 of file CNRRemoteRadio.hpp.
double labust::control::CNRRemoteRadio::currYaw [private] |
Definition at line 146 of file CNRRemoteRadio.hpp.
double labust::control::CNRRemoteRadio::desiredHeading [private] |
Definition at line 146 of file CNRRemoteRadio.hpp.
double labust::control::CNRRemoteRadio::desiredLat [private] |
Definition at line 146 of file CNRRemoteRadio.hpp.
double labust::control::CNRRemoteRadio::desiredLon [private] |
Definition at line 146 of file CNRRemoteRadio.hpp.
bool labust::control::CNRRemoteRadio::doDummyRequest [private] |
Dummy requester.
Definition at line 190 of file CNRRemoteRadio.hpp.
bool labust::control::CNRRemoteRadio::doLaunch [private] |
Definition at line 190 of file CNRRemoteRadio.hpp.
The subscribed topics.
Definition at line 154 of file CNRRemoteRadio.hpp.
Definition at line 150 of file CNRRemoteRadio.hpp.
int32_t labust::control::CNRRemoteRadio::id [private] |
My id.
Definition at line 186 of file CNRRemoteRadio.hpp.
boost::asio::io_service labust::control::CNRRemoteRadio::io [private] |
The io service.
Definition at line 158 of file CNRRemoteRadio.hpp.
boost::thread labust::control::CNRRemoteRadio::iorunner [private] |
The io service thread.
Definition at line 166 of file CNRRemoteRadio.hpp.
Definition at line 154 of file CNRRemoteRadio.hpp.
The publishers.
Definition at line 150 of file CNRRemoteRadio.hpp.
Last mode field.
Definition at line 194 of file CNRRemoteRadio.hpp.
The last arrived message.
Definition at line 142 of file CNRRemoteRadio.hpp.
Definition at line 150 of file CNRRemoteRadio.hpp.
Definition at line 154 of file CNRRemoteRadio.hpp.
The ROS node handles.
Definition at line 138 of file CNRRemoteRadio.hpp.
Definition at line 138 of file CNRRemoteRadio.hpp.
boost::asio::serial_port labust::control::CNRRemoteRadio::port [private] |
The serial port
Definition at line 162 of file CNRRemoteRadio.hpp.
Definition at line 150 of file CNRRemoteRadio.hpp.
Definition at line 150 of file CNRRemoteRadio.hpp.
The sync buffer.
Definition at line 178 of file CNRRemoteRadio.hpp.
Definition at line 154 of file CNRRemoteRadio.hpp.
Definition at line 154 of file CNRRemoteRadio.hpp.
double labust::control::CNRRemoteRadio::timeout [private] |
The timeout length.
Definition at line 146 of file CNRRemoteRadio.hpp.
bool labust::control::CNRRemoteRadio::wasLaunched [private] |
Definition at line 190 of file CNRRemoteRadio.hpp.
double labust::control::CNRRemoteRadio::yawInc [private] |
Definition at line 146 of file CNRRemoteRadio.hpp.