APM:Libraries
|
#include <SIM_Gripper_EPM.h>
Public Member Functions | |
Gripper_EPM (const uint8_t _gripper_servo) | |
void | update (const struct Aircraft::sitl_input &input) |
Public Attributes | |
const uint8_t | gripper_servo |
Private Member Functions | |
bool | should_report () |
void | update_from_demand (const Aircraft::sitl_input &input) |
void | update_servobased (const struct Aircraft::sitl_input &input) |
float | tesla () |
Private Attributes | |
const uint32_t | report_interval = 100000 |
uint64_t | last_report_us |
bool | servo_based = true |
double | field_strength |
double | reported_field_strength = -1 |
const float | field_strength_slew_rate = 400 |
const float | field_decay_rate = 2 |
const float | field_degauss_rate = 300 |
uint64_t | last_update_us |
float | demand |
Definition at line 25 of file SIM_Gripper_EPM.h.
|
inline |
|
private |
Definition at line 80 of file SIM_Gripper_EPM.cpp.
Referenced by update_from_demand().
|
private |
Definition at line 93 of file SIM_Gripper_EPM.cpp.
Referenced by update_from_demand().
void Gripper_EPM::update | ( | const struct Aircraft::sitl_input & | input | ) |
Definition at line 72 of file SIM_Gripper_EPM.cpp.
Referenced by Gripper_EPM(), and SITL::MultiCopter::update().
|
private |
Definition at line 40 of file SIM_Gripper_EPM.cpp.
Referenced by update().
|
private |
Definition at line 28 of file SIM_Gripper_EPM.cpp.
Referenced by update().
|
private |
Definition at line 60 of file SIM_Gripper_EPM.h.
Referenced by update_from_demand(), and update_servobased().
|
private |
Definition at line 48 of file SIM_Gripper_EPM.h.
Referenced by update_from_demand().
|
private |
Definition at line 49 of file SIM_Gripper_EPM.h.
Referenced by update_from_demand().
|
private |
Definition at line 43 of file SIM_Gripper_EPM.h.
Referenced by should_report(), tesla(), and update_from_demand().
|
private |
Definition at line 47 of file SIM_Gripper_EPM.h.
Referenced by update_from_demand().
const uint8_t SITL::Gripper_EPM::gripper_servo |
Definition at line 27 of file SIM_Gripper_EPM.h.
Referenced by update_servobased().
|
private |
Definition at line 39 of file SIM_Gripper_EPM.h.
Referenced by should_report(), and update_from_demand().
|
private |
Definition at line 51 of file SIM_Gripper_EPM.h.
Referenced by update_from_demand().
|
private |
Definition at line 38 of file SIM_Gripper_EPM.h.
Referenced by should_report().
|
private |
Definition at line 44 of file SIM_Gripper_EPM.h.
Referenced by should_report(), and update_from_demand().
|
private |
Definition at line 41 of file SIM_Gripper_EPM.h.
Referenced by update_servobased().