MAV'RIC
Public Member Functions
Servos_mix Class Reference
Inheritance diagram for Servos_mix:
Inheritance graph
[legend]
Collaboration diagram for Servos_mix:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual bool update ()=0
 Main update function.
virtual bool failsafe ()=0
virtual bool set_command (const torque_command_t &torque)=0
 sets the torque command
virtual bool set_command (const thrust_command_t &thrust)=0
 sets the thrust command
virtual bool get_command (torque_command_t &torque) const =0
 sets the torque command
virtual bool get_command (thrust_command_t &thrust) const =0
 sets the thrust command
virtual bool get_output (empty_command_t &command) const
 Returns the output command.

Member Function Documentation

virtual bool Servos_mix::get_command ( torque_command_t torque) const [pure virtual]

sets the torque command

Parameters:
commandtorque command in body frame
Returns:
success whether command was accepted

Implements Controller_2_to_1< torque_command_t, thrust_command_t, empty_command_t >.

Implemented in Servos_mix_matrix< N >, Servos_mix_matrix< N_ROTORS >, and Servos_mix_matrix< 6 >.

Here is the caller graph for this function:

virtual bool Servos_mix::get_command ( thrust_command_t thrust) const [pure virtual]

sets the thrust command

Parameters:
commandthrust command in body frame
Returns:
success whether command was accepted

Implements Controller_2_to_1< torque_command_t, thrust_command_t, empty_command_t >.

Implemented in Servos_mix_matrix< N >, Servos_mix_matrix< N_ROTORS >, and Servos_mix_matrix< 6 >.

virtual bool Servos_mix::get_output ( empty_command_t command) const [inline, virtual]

Returns the output command.

Parameters:
commandoutput command
Returns:
success

Implements Controller_2_to_1< torque_command_t, thrust_command_t, empty_command_t >.

virtual bool Servos_mix::set_command ( const torque_command_t torque) [pure virtual]

sets the torque command

Parameters:
commandtorque command in body frame
Returns:
success whether command was accepted

Implements Controller_2_to_1< torque_command_t, thrust_command_t, empty_command_t >.

Implemented in Servos_mix_matrix< N >, Servos_mix_matrix< N_ROTORS >, and Servos_mix_matrix< 6 >.

Here is the caller graph for this function:

virtual bool Servos_mix::set_command ( const thrust_command_t thrust) [pure virtual]

sets the thrust command

Parameters:
commandthrust command in body frame
Returns:
success whether command was accepted

Implements Controller_2_to_1< torque_command_t, thrust_command_t, empty_command_t >.

Implemented in Servos_mix_matrix< N >, Servos_mix_matrix< N_ROTORS >, and Servos_mix_matrix< 6 >.

virtual bool Servos_mix::update ( void  ) [pure virtual]

Main update function.

Returns:
success

Implements Controller_2_to_1< torque_command_t, thrust_command_t, empty_command_t >.

Implemented in Servos_mix_matrix< N >, Servos_mix_matrix< N_ROTORS >, Servos_mix_matrix< 6 >, Servos_mix_wing, and Servos_mix_ywing.

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines