Graph based routing engine with switch map engine which build with ROS ecosystem. Can coupled with Nav2 later on.
Navigate to your ROS workspace and build the packages:
colcon build --packages-select routing_agent routing_agent_interfacesStart the routing agent server:
ros2 run routing_agent serverros2 launch routing_agent runServer.launch.pyYou should choose either b or c to execute.
Load the global waypoint graph by specifying the path to your graph file:
ros2 run routing_agent loadGraph <path_to_your_global_graph_file.json>Merge additional graph files by specifying the path to the configuration file:
ros2 run routing_agent mergeGraph <path_to_your_graph_files_config.config.json>Load task data and vehicle data by specifying the paths to the respective JSON files:
ros2 run routing_agent routingClient <path_to_your_task_data.json> <path_to_your_vehicle_data.json>To communicate with the navigation system, use the following commands. Replace <T or F> with T (true) or F (false), and <global_location> with the specific location (e.g., 000_000).
-
Navigate to the location with
T:ros2 run routing_agent nav T 000_000
-
Navigate to the location with
F:ros2 run routing_agent nav F 000_000
1.Routing Engine (Server)
-
Single Agent Task Assign (TSP)
-
Pathfinding (Dijkstra)
-
WaypointGraph Data format
-
Switch Map Server
- FileName: template_data_format
- functionName
- SelfDefinedData
- parameterisparameter
- localVariableName
- globalVariableName