uavpos component
- Ports
- Services
- set_saturation (attribute)
- set_servo_gain (attribute)
- set_mass (attribute)
- set_xyradius (attribute)
- set_emerg (attribute)
- get_servo_parameters (attribute)
- get_body_parameters (attribute)
- get_reference (function)
- servo (activity)
- set_state (function)
- set_position (function)
- set_current_position (activity)
- stop (function)
- log (function)
- log_stop (function)
- log_info (function)
- Tasks
Ports
uav_input (out)
Data structure
|
Attitude/thrust control input.
wrench_measure (in)
Data structure
|
Provides current wrench measurements.
This port contains the current wrench exerted by the UAV according to the propeller measurements and the geometric model.
state (in)
Data structure
|
reference (in)
Data structure
|
Services
set_saturation (attribute)
Inputs
|
set_servo_gain (attribute)
Inputs
|
set_emerg (attribute)
Inputs
|
Set thresholds for emergency descent.
dx
and dv
represent the maximum uncertainty tolerated in the
input state (in) for position (dx
) and linear velocity (dv
),
measured as 3 times the standard deviation.
By default, dx
is 5cm and dv
20cm/s. Beyond that threshold, an
emergency descent is started.
As long as the emergency descent is active, the position error or
linear velocity error are cancelled (i.e. the desired roll and pitch
are set to 0) and a vertical acceleration of descent
(by default
-0.1 m/s²) is requested. The descent is based on the mass only,
with no feedback, as the state is considered invalid.
get_servo_parameters (attribute)
Outputs
|
get_reference (function)
Outputs
|
servo (activity)
Throws
|
Context
|
Track a desired position
set_state (function)
Inputs
|
Context
|
Set the desired state
set_position (function)
Inputs
|
Context
|
Set the desired position
set_current_position (activity)
Throws
|
Context
|
Set the desired position