#include <SensorHandlers.hpp>
Public Member Functions | |
void | configure (ros::NodeHandle &nh) |
const std::pair< double, double > & | latlon () const |
const std::pair< double, double > & | origin () const |
const std::pair< double, double > & | position () const |
Private Member Functions | |
void | onGps (const sensor_msgs::NavSatFix::ConstPtr &data) |
Private Attributes | |
ros::Subscriber | gps |
tf::TransformListener | listener |
std::pair< double, double > | originLL |
std::pair< double, double > | posLL |
std::pair< double, double > | posxy |
The GPS handler.
Definition at line 70 of file SensorHandlers.hpp.
void GPSHandler::configure | ( | ros::NodeHandle & | nh | ) |
Definition at line 42 of file SensorHandlers.cpp.
const std::pair<double, double>& labust::navigation::GPSHandler::latlon | ( | ) | const [inline] |
Definition at line 82 of file SensorHandlers.hpp.
void GPSHandler::onGps | ( | const sensor_msgs::NavSatFix::ConstPtr & | data | ) | [private] |
Definition at line 48 of file SensorHandlers.cpp.
const std::pair<double, double>& labust::navigation::GPSHandler::origin | ( | ) | const [inline] |
Definition at line 79 of file SensorHandlers.hpp.
const std::pair<double, double>& labust::navigation::GPSHandler::position | ( | ) | const [inline] |
Definition at line 76 of file SensorHandlers.hpp.
Definition at line 88 of file SensorHandlers.hpp.
Definition at line 87 of file SensorHandlers.hpp.
std::pair<double, double> labust::navigation::GPSHandler::originLL [private] |
Definition at line 86 of file SensorHandlers.hpp.
std::pair<double, double> labust::navigation::GPSHandler::posLL [private] |
Definition at line 86 of file SensorHandlers.hpp.
std::pair<double, double> labust::navigation::GPSHandler::posxy [private] |
Definition at line 86 of file SensorHandlers.hpp.