Driver Interfaces¶
Headers:
include/arch_nav/driver/i_platform_driver.hppinclude/arch_nav/driver/i_command_dispatcher.hpp
IPlatformDriver¶
class IPlatformDriver {
public:
virtual ICommandDispatcher& dispatcher() = 0;
virtual void start(context::VehicleContext& context,
std::chrono::milliseconds update_period) = 0;
virtual void stop() = 0;
virtual ~IPlatformDriver() = default;
};
ICommandDispatcher¶
execute_* methods return a CommandResponse immediately and complete asynchronously.
Supported hooks include:
execute_takeoffexecute_landexecute_waypoint_followingexecute_trajectoryexecute_armexecute_disarmstop
Each method can remain NOT_SUPPORTED by default if a driver does not implement it.