|
APM:Libraries
|
#include <SIM_Gripper_Servo.h>
Public Member Functions | |
| Gripper_Servo (const uint8_t _gripper_servo) | |
| void | update (const struct Aircraft::sitl_input &input) |
| float | payload_mass () const |
| void | set_aircraft (Aircraft *_aircraft) |
Public Attributes | |
| const uint8_t | gripper_servo |
Private Member Functions | |
| bool | should_report () |
Private Attributes | |
| Aircraft * | aircraft |
| const uint32_t | report_interval = 1000000 |
| uint64_t | last_report_us |
| const float | gap = 30 |
| float | position |
| float | position_slew_rate = 35 |
| float | reported_position = -1 |
| uint64_t | last_update_us |
| const float | string_length = 2.0f |
| float | load_mass = 0.0f |
Definition at line 25 of file SIM_Gripper_Servo.h.
|
inline |
| float Gripper_Servo::payload_mass | ( | ) | const |
Definition at line 75 of file SIM_Gripper_Servo.cpp.
Referenced by Gripper_Servo(), and SITL::MultiCopter::gross_mass().
|
inline |
Definition at line 38 of file SIM_Gripper_Servo.h.
Referenced by SITL::MultiCopter::MultiCopter().
|
private |
Definition at line 61 of file SIM_Gripper_Servo.cpp.
Referenced by update().
| void Gripper_Servo::update | ( | const struct Aircraft::sitl_input & | input | ) |
Definition at line 27 of file SIM_Gripper_Servo.cpp.
Referenced by Gripper_Servo(), and SITL::MultiCopter::update().
|
private |
Definition at line 42 of file SIM_Gripper_Servo.h.
Referenced by payload_mass(), set_aircraft(), and update().
|
private |
Definition at line 47 of file SIM_Gripper_Servo.h.
Referenced by update().
| const uint8_t SITL::Gripper_Servo::gripper_servo |
Definition at line 27 of file SIM_Gripper_Servo.h.
Referenced by update().
|
private |
Definition at line 45 of file SIM_Gripper_Servo.h.
Referenced by should_report(), and update().
|
private |
Definition at line 53 of file SIM_Gripper_Servo.h.
Referenced by update().
|
private |
Definition at line 59 of file SIM_Gripper_Servo.h.
Referenced by payload_mass(), and update().
|
private |
Definition at line 49 of file SIM_Gripper_Servo.h.
Referenced by should_report(), and update().
|
private |
Definition at line 50 of file SIM_Gripper_Servo.h.
Referenced by update().
|
private |
Definition at line 44 of file SIM_Gripper_Servo.h.
Referenced by should_report().
|
private |
Definition at line 51 of file SIM_Gripper_Servo.h.
Referenced by should_report(), and update().
|
private |
Definition at line 58 of file SIM_Gripper_Servo.h.
Referenced by payload_mass().
1.8.13