Revert "fix: sot navigation.h khi dong bo route graph - addRouteGraph() chua co trong BaseNavigation"
This reverts commit 929ce11384.
This commit is contained in:
@@ -18,7 +18,6 @@
|
|||||||
#include <robot_sensor_msgs/LaserScan.h>
|
#include <robot_sensor_msgs/LaserScan.h>
|
||||||
#include <robot_sensor_msgs/PointCloud.h>
|
#include <robot_sensor_msgs/PointCloud.h>
|
||||||
#include <robot_sensor_msgs/PointCloud2.h>
|
#include <robot_sensor_msgs/PointCloud2.h>
|
||||||
#include <robot_sensor_msgs/RouteGraph.h>
|
|
||||||
#include <robot_protocol_msgs/Action.h>
|
#include <robot_protocol_msgs/Action.h>
|
||||||
#include <robot_protocol_msgs/Order.h>
|
#include <robot_protocol_msgs/Order.h>
|
||||||
#include <robot_nav_2d_utils/conversions.h>
|
#include <robot_nav_2d_utils/conversions.h>
|
||||||
@@ -253,21 +252,6 @@ namespace robot
|
|||||||
*/
|
*/
|
||||||
virtual void addStaticMap(const std::string &topic, robot_nav_msgs::OccupancyGrid map) = 0;
|
virtual void addStaticMap(const std::string &topic, robot_nav_msgs::OccupancyGrid map) = 0;
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Hand in a route graph compiled offline from the static map (see
|
|
||||||
* robot_sensor_msgs/RouteGraph). Optional: a global planner that can use one reads
|
|
||||||
* it from the shared sensor store; without it every planner behaves as before.
|
|
||||||
*
|
|
||||||
* @param topic Store KEY, same rule as @ref addStaticMap: must match an entry in
|
|
||||||
* `sensor_store_params.yaml` (by convention `/route_graph`) and the topic the
|
|
||||||
* consumer is configured with. Unknown key = dropped with one log line.
|
|
||||||
* @param graph The graph. Its `width/height/resolution/origin` and `map_hash` must
|
|
||||||
* describe the map passed to @ref addStaticMap; the consumer verifies that
|
|
||||||
* against its live static layer and rejects a mismatch. Push it AFTER the
|
|
||||||
* static map it belongs to.
|
|
||||||
*/
|
|
||||||
virtual void addRouteGraph(const std::string &topic, robot_sensor_msgs::RouteGraph graph) = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Add a laser scan to the navigation system.
|
* @brief Add a laser scan to the navigation system.
|
||||||
* @param topic Logical topic this scan arrives on. See @ref addStaticMap for what
|
* @param topic Logical topic this scan arrives on. See @ref addStaticMap for what
|
||||||
|
|||||||
Reference in New Issue
Block a user