|
MAV'RIC
|
Interface for flight controllers. More...
#include <flight_controller.hpp>


Public Member Functions | |
| virtual bool | update (void)=0 |
| Main update function. | |
| virtual bool | failsafe (void)=0 |
| Sets actuators in safety mode. | |
| virtual bool | set_command (const position_command_t &command)=0 |
| Set of command setters. | |
| virtual bool | set_command (const velocity_command_t &command)=0 |
| Sets the input command. | |
| virtual bool | set_command (const attitude_command_t &command)=0 |
| Sets the input command. | |
| virtual bool | set_command (const rate_command_t &command)=0 |
| Sets the input command. | |
| virtual bool | set_command (const torque_command_t &command)=0 |
| Sets the input command. | |
| virtual bool | set_command (const thrust_command_t &command)=0 |
| Sets the input command. | |
| virtual bool | set_manual_rate_command (const Manual_control &manual_control)=0 |
| Set command from manual control in rate mode. | |
| virtual bool | set_manual_attitude_command (const Manual_control &manual_control)=0 |
| Set command from manual control in attitude mode. | |
| virtual bool | set_manual_velocity_command (const Manual_control &manual_control)=0 |
| Set command from manual control in velocity mode. | |
| virtual bool | set_flight_command (const Flight_command_source &command_source) |
| Set command from autonomous command source. | |
| const command_t & | command (void) const |
| Get const reference to command structure. | |
Protected Attributes | |
| command_t | command_ |
Interface for flight controllers.
| virtual bool Flight_controller::set_command | ( | const velocity_command_t & | command | ) | [pure virtual] |
Sets the input command.
| command | Input command |
Implements Controller< velocity_command_t >.
Implemented in Flight_controller_stack.
| virtual bool Flight_controller::set_command | ( | const attitude_command_t & | command | ) | [pure virtual] |
Sets the input command.
| command | Input command |
Implements Controller< attitude_command_t >.
Implemented in Flight_controller_stack.
| virtual bool Flight_controller::set_command | ( | const rate_command_t & | command | ) | [pure virtual] |
Sets the input command.
| command | Input command |
Implements Controller< rate_command_t >.
Implemented in Flight_controller_stack.
| virtual bool Flight_controller::set_command | ( | const torque_command_t & | command | ) | [pure virtual] |
Sets the input command.
| command | Input command |
Implements Controller< torque_command_t >.
Implemented in Flight_controller_stack.
| virtual bool Flight_controller::set_command | ( | const thrust_command_t & | command | ) | [pure virtual] |
Sets the input command.
| command | Input command |
Implements Controller< thrust_command_t >.
Implemented in Flight_controller_stack.
| virtual bool Flight_controller::set_flight_command | ( | const Flight_command_source & | command_source | ) | [inline, virtual] |
Set command from autonomous command source.
| command_source | Reference to source of control command |

| virtual bool Flight_controller::set_manual_attitude_command | ( | const Manual_control & | manual_control | ) | [pure virtual] |
Set command from manual control in attitude mode.
| manual_control | Reference to manual_control |
Implemented in Flight_controller_hexhog, Flight_controller_copter< N_ROTORS >, Flight_controller_copter< 4 >, and Flight_controller_copter< 6 >.
| virtual bool Flight_controller::set_manual_rate_command | ( | const Manual_control & | manual_control | ) | [pure virtual] |
Set command from manual control in rate mode.
| manual_control | Reference to manual_control |
Implemented in Flight_controller_hexhog, Flight_controller_copter< N_ROTORS >, Flight_controller_copter< 4 >, and Flight_controller_copter< 6 >.
| virtual bool Flight_controller::set_manual_velocity_command | ( | const Manual_control & | manual_control | ) | [pure virtual] |
Set command from manual control in velocity mode.
| manual_control | Reference to manual_control |
Implemented in Flight_controller_hexhog, Flight_controller_copter< N_ROTORS >, Flight_controller_copter< 4 >, and Flight_controller_copter< 6 >.
1.7.6.1