lanelet2_route_planning v2.0.0
Loading...
Searching...
No Matches
plan_route_action_client.cpp File Reference
#include <chrono>
#include <functional>
#include <iterator>
#include <optional>
#include <sstream>
#include <stdexcept>
#include <lanelet2_core/geometry/LaneletMap.h>
#include <tf2/LinearMath/Quaternion.h>
#include <tf2_geometry_msgs/tf2_geometry_msgs.hpp>
#include "plan_route_action_client/plan_route_action_client.hpp"

Go to the source code of this file.

Namespaces

namespace  plan_route_action_client
 

Functions

std::optional< std::vector< std::pair< double, double > > > plan_route_action_client::parseWaypoints (const std::vector< std::string > &waypoints_param, std::vector< double > &waypoint_wait_times, const rclcpp::Logger &logger)
 Parses WGS84 waypoints from "<LATITUDE>,<LONGITUDE>[,<WAIT_TIME_S>]" strings.
 
int main (int argc, char *argv[])
 Starts the ROS node.
 

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Starts the ROS node.

Parameters
[in]argcnumber of command-line arguments
[in]argvcommand-line arguments
Returns
process exit code

Definition at line 482 of file plan_route_action_client.cpp.

482 {
483 rclcpp::init(argc, argv);
484 rclcpp::spin(std::make_shared<plan_route_action_client::PlanRouteActionClient>());
485 rclcpp::shutdown();
486
487 return 0;
488}