#include <USBLFilter.hpp>
Public Member Functions | |
void | onInit () |
void | run () |
USBLFilter () | |
~USBLFilter () | |
Protected Member Functions | |
void | configureModel (ros::NodeHandle &nh) |
void | onUsbl (const geometry_msgs::PointStamped::ConstPtr &msg) |
Protected Attributes | |
boost::mutex | dataMux |
double | depth |
KFilter | filter |
int | iteration |
tf::TransformListener | listener |
double | maxSpeed |
ros::Publisher | navPub |
int | timeout |
ros::Subscriber | usblSub |
boost::thread | worker |
Private Types | |
typedef labust::navigation::KFCore < labust::navigation::KinematicModel > | KFilter |
The class implements the Tritech USBL acquisition nodelet.
Definition at line 58 of file USBLFilter.hpp.
typedef labust::navigation::KFCore<labust::navigation::KinematicModel> labust::tritech::USBLFilter::KFilter [private] |
Definition at line 60 of file USBLFilter.hpp.
Default constructor.
Definition at line 50 of file USBLFilter.cpp.
Default destructor.
Definition at line 55 of file USBLFilter.cpp.
void USBLFilter::configureModel | ( | ros::NodeHandle & | nh | ) | [protected] |
Configure from ROS file.
Definition at line 68 of file USBLFilter.cpp.
void USBLFilter::onInit | ( | ) | [virtual] |
void USBLFilter::onUsbl | ( | const geometry_msgs::PointStamped::ConstPtr & | msg | ) | [protected] |
Handles arrived USBL navigation messages.
Definition at line 106 of file USBLFilter.cpp.
void USBLFilter::run | ( | ) |
The main run method.
Definition at line 155 of file USBLFilter.cpp.
boost::mutex labust::tritech::USBLFilter::dataMux [protected] |
The data and condition mux.
Definition at line 101 of file USBLFilter.hpp.
double labust::tritech::USBLFilter::depth [protected] |
The depth state.
Definition at line 97 of file USBLFilter.hpp.
KFilter labust::tritech::USBLFilter::filter [protected] |
The USBL device.
Definition at line 93 of file USBLFilter.hpp.
int labust::tritech::USBLFilter::iteration [protected] |
Definition at line 123 of file USBLFilter.hpp.
Frame transform listener.
Definition at line 119 of file USBLFilter.hpp.
double labust::tritech::USBLFilter::maxSpeed [protected] |
Maximum diver speed.
Definition at line 127 of file USBLFilter.hpp.
ros::Publisher labust::tritech::USBLFilter::navPub [protected] |
The navigation publisher.
Definition at line 111 of file USBLFilter.hpp.
int labust::tritech::USBLFilter::timeout [protected] |
Safety timeout.
Definition at line 123 of file USBLFilter.hpp.
ros::Subscriber labust::tritech::USBLFilter::usblSub [protected] |
The usbl measurement subscriber.
Definition at line 115 of file USBLFilter.hpp.
boost::thread labust::tritech::USBLFilter::worker [protected] |
The worker thread.
Definition at line 106 of file USBLFilter.hpp.