|
MAV'RIC
|


Classes | |
| struct | args_t |
| Required arguments. More... | |
| struct | conf_t |
| Configuration. More... | |
Public Member Functions | |
| Position_controller (args_t args, const conf_t &config=default_config()) | |
| Constructor. | |
| virtual bool | update () |
| Main update function. | |
| bool | set_command (const position_command_t &pos) |
| Sets the input command. | |
| bool | get_command (position_command_t &pos) const |
| Returns the input command. | |
| bool | get_output (velocity_command_t &vel) const |
| Returns the output command. | |
| pid_controller_t & | get_pid (void) |
| Gives acces to internal pid_controller. | |
Static Public Member Functions | |
| static conf_t | default_config () |
| Default configuration. | |
| Position_controller::Position_controller | ( | args_t | args, |
| const conf_t & | config = default_config() |
||
| ) |
Constructor.
| args | Required arguments |
| config | Configuration |
| Position_controller::conf_t Position_controller::default_config | ( | void | ) | [inline, static] |
Default configuration.
| bool Position_controller::get_command | ( | position_command_t & | pos | ) | const [virtual] |
Returns the input command.
| command | Input command |
Implements Controller< position_command_t, velocity_command_t >.
| bool Position_controller::get_output | ( | velocity_command_t & | vel | ) | const [virtual] |
Returns the output command.
| command | output command |
Implements Controller< position_command_t, velocity_command_t >.
| pid_controller_t & Position_controller::get_pid | ( | void | ) |
Gives acces to internal pid_controller.
| bool Position_controller::set_command | ( | const position_command_t & | pos | ) | [virtual] |
Sets the input command.
| command | Input command |
Implements Controller< position_command_t, velocity_command_t >.
1.7.6.1