Skip to content

Commit

Permalink
Reactive easy full control (#286)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael X. Grey <[email protected]>
Signed-off-by: Xiyu Oh <[email protected]>
Co-authored-by: Xiyu <[email protected]>
  • Loading branch information
mxgrey and xiyuoh authored Aug 14, 2023
1 parent 0e1c2ae commit 67079c2
Show file tree
Hide file tree
Showing 28 changed files with 4,323 additions and 2,122 deletions.
10 changes: 10 additions & 0 deletions rmf_fleet_adapter/include/rmf_fleet_adapter/agv/Adapter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include <rmf_fleet_adapter/agv/FleetUpdateHandle.hpp>
#include <rmf_fleet_adapter/agv/EasyTrafficLight.hpp>
#include <rmf_fleet_adapter/agv/EasyFullControl.hpp>

#include <rmf_traffic/agv/VehicleTraits.hpp>
#include <rmf_traffic/agv/Graph.hpp>
Expand Down Expand Up @@ -77,6 +78,15 @@ class Adapter : public std::enable_shared_from_this<Adapter>
const rclcpp::NodeOptions& node_options = rclcpp::NodeOptions(),
std::optional<rmf_traffic::Duration> discovery_timeout = std::nullopt);

/// Add an Easy Full Control fleet to be adapted.
///
/// \param[in] config
/// Configuration for the new Easy Full Control fleet.
///
/// \return The handle for adding new robots to the fleet.
std::shared_ptr<EasyFullControl> add_easy_fleet(
const EasyFullControl::FleetConfiguration& config);

/// Add a fleet to be adapted.
///
/// If a single real-life fleet needs to integrate robots with varying traits
Expand Down
Loading

0 comments on commit 67079c2

Please sign in to comment.