38 friend class ::Bldc_impl;
52 uint8_t motors_count);
137 void SetPower(
int motor_id,
float value);
182 virtual void SetMotors(
float *values) = 0;
184 class Bldc_impl *pimpl_;
Abstract class for data types.
Definition: io_data.h:94
void UnlockUserInterface(void) const
Unlock user interface.
Base class for all Framework's classes.
Definition: Object.h:83
Abstract class for input/ouput system.
Definition: IODevice.h:45
namespace of the flair Framework
Definition: Ahrs.h:19
void SetPower(int motor_id, float value)
Set motor power.
virtual bool HasCurrentMeasurement(void) const =0
Has current measurement.
Abstract class for input/ouput system.
uint8_t MotorsCount(void) const
Motors count.
core::Matrix * Output(void) const
Output from motors.
Bldc(const core::IODevice *parent, gui::Layout *layout, std::string name, uint8_t motors_count)
Constructor.
void LockUserInterface(void) const
Lock user interface.
Abstract class to display a layout on the ground station.
Definition: Layout.h:33
void SetEnabled(bool status)
Enable motors.
virtual bool HasSpeedMeasurement(void) const =0
Has speed measurement.
void UseDefaultPlot(gui::TabWidget *tabwidget)
Use default plot.
bool AreEnabled(void) const
Are motors enabled?
gui::Layout * GetLayout(void) const
Layout.
Base class for brushless motors drivers.
Definition: Bldc.h:37
Class defining a matrix.
Definition: Matrix.h:31