#include <ros/ros.h>#include <geometry_msgs/PoseWithCovarianceStamped.h>#include <geometry_msgs/PointStamped.h>#include <fstream>#include <igvc/StringUtils.hpp>#include <gps_common/conversions.h>#include <string>#include <mutex>
Go to the source code of this file.
Functions | |
| double | distanceBetweenPoints (const Point &p1, const Point &p2) |
| void | loadWaypointsFile (string path, vector< PointStamped > &waypoints) |
| int | main (int argc, char **argv) |
| void | originCallback (const geometry_msgs::PointStampedConstPtr &msg) |
| void | positionCallback (const geometry_msgs::PoseWithCovarianceStampedConstPtr &msg) |
Variables | |
| mutex | current_mutex |
| PointStamped | current_waypoint |
| Point | map_origin |
| ros::Publisher | waypoint_pub |
| vector< PointStamped > | waypoints |
| double distanceBetweenPoints | ( | const Point & | p1, |
| const Point & | p2 | ||
| ) |
Definition at line 68 of file waypoint_source/main.cpp.
| void loadWaypointsFile | ( | string | path, |
| vector< PointStamped > & | waypoints | ||
| ) |
Definition at line 21 of file waypoint_source/main.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 93 of file waypoint_source/main.cpp.
| void originCallback | ( | const geometry_msgs::PointStampedConstPtr & | msg | ) |
Definition at line 87 of file waypoint_source/main.cpp.
| void positionCallback | ( | const geometry_msgs::PoseWithCovarianceStampedConstPtr & | msg | ) |
Definition at line 73 of file waypoint_source/main.cpp.
| mutex current_mutex |
Definition at line 19 of file waypoint_source/main.cpp.
| PointStamped current_waypoint |
Definition at line 16 of file waypoint_source/main.cpp.
| Point map_origin |
Definition at line 17 of file waypoint_source/main.cpp.
| ros::Publisher waypoint_pub |
Definition at line 14 of file waypoint_source/main.cpp.
| vector<PointStamped> waypoints |
Definition at line 15 of file waypoint_source/main.cpp.