onboardsdk
Loading...
Searching...
No Matches
PioneerDrone.hpp
1#pragma once
2#include <memory>
3#include <optional>
4#include <string>
5
6#include "Drone.hpp"
7#include "thrust_allocation/ControlForce.hpp"
8#include "thrust_allocation/PioneerAllocator.hpp"
9
22namespace blunux::drone {
31class PioneerDrone : public Drone {
32 public:
34
41
47 virtual void set_force(thrust_allocation::ControlForce force);
48
55
56 private:
57 blunux::thrust_allocation::PioneerAllocator allocator;
58 pmu::PioneerThrustersSetpoint thrusters_set_point{};
59};
60
61} // namespace blunux::drone
Class representing a drone.
Definition Drone.hpp:30
Class representing a drone.
Definition PioneerDrone.hpp:31
pmu::PioneerThrustersSetpoint get_thrusters_set_point() const
Get the thrusters set point.
void set_thrusters(pmu::PioneerThrustersSetpoint thrusters_set_point)
Set value of the thrusters.
virtual void set_force(thrust_allocation::ControlForce force)
Apply a force on the drone.
Structure representing setpoint values for thrusters.
Definition PioneerThrustersSetpoint.hpp:15