MAV'RIC
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
Velocity_controller_copter Class Reference

Velocity controller for hovering platforms. More...

#include <velocity_controller_copter.hpp>

Inheritance diagram for Velocity_controller_copter:
Inheritance graph
[legend]
Collaboration diagram for Velocity_controller_copter:
Collaboration graph
[legend]

List of all members.

Classes

struct  args_t
 Required arguments. More...
struct  conf_t
 Velocity controller configuration. More...

Public Member Functions

 Velocity_controller_copter (const args_t &args, const conf_t &config=default_config())
 Constructor.

Static Public Member Functions

static conf_t default_config (void)
 Default Configuration.

Protected Member Functions

virtual bool compute_attitude_and_thrust_from_desired_accel (const std::array< float, 3 > &accel_command, attitude_command_t &attitude_command, thrust_command_t &thrust_command)
 Computes attitude and thrust command based on desired acceleration. Depends on robot dynamics.

Protected Attributes

float thrust_hover_point_
 Amount of thrust required to hover (between -1 and 1)

Detailed Description

Velocity controller for hovering platforms.


Constructor & Destructor Documentation

Constructor.

Parameters:
ahrsReference to estimated attitude
insReference to estimated speed and position
configConfiguration

Member Function Documentation

bool Velocity_controller_copter::compute_attitude_and_thrust_from_desired_accel ( const std::array< float, 3 > &  accel_command,
attitude_command_t attitude_command,
thrust_command_t thrust_command 
) [protected, virtual]

Computes attitude and thrust command based on desired acceleration. Depends on robot dynamics.

Parameters:
accel_vectorDesired acceleration vectors (input)
attitude_commandAttitude command (output)
thrust_commandThrust command (output)
Returns:
success

Implements Velocity_controller.

Reimplemented in Velocity_controller_holonomic.

Default Configuration.

/return config

Reimplemented in Velocity_controller_holonomic.


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