APM:Libraries
|
#include <AP_Mount_SToRM32.h>
Public Member Functions | |
AP_Mount_SToRM32 (AP_Mount &frontend, AP_Mount::mount_state &state, uint8_t instance) | |
virtual void | init (const AP_SerialManager &serial_manager) |
virtual void | update () |
virtual bool | has_pan_control () const |
virtual void | set_mode (enum MAV_MOUNT_MODE mode) |
virtual void | status_msg (mavlink_channel_t chan) |
![]() | |
AP_Mount_Backend (AP_Mount &frontend, AP_Mount::mount_state &state, uint8_t instance) | |
virtual | ~AP_Mount_Backend (void) |
virtual void | update_fast () |
virtual void | set_angle_targets (float roll, float tilt, float pan) |
virtual void | set_roi_target (const struct Location &target_loc) |
virtual void | control (int32_t pitch_or_lat, int32_t roll_or_lon, int32_t yaw_or_alt, MAV_MOUNT_MODE mount_mode) |
virtual void | configure_msg (mavlink_message_t *msg) |
virtual void | control_msg (mavlink_message_t *msg) |
virtual void | handle_gimbal_report (mavlink_channel_t chan, mavlink_message_t *msg) |
virtual void | handle_param_value (mavlink_message_t *msg) |
virtual void | send_gimbal_report (mavlink_channel_t chan) |
Private Member Functions | |
void | find_gimbal () |
void | send_do_mount_control (float pitch_deg, float roll_deg, float yaw_deg, enum MAV_MOUNT_MODE mount_mode) |
Private Attributes | |
bool | _initialised |
uint8_t | _sysid |
uint8_t | _compid |
mavlink_channel_t | _chan |
uint32_t | _last_send |
Additional Inherited Members | |
![]() | |
void | update_targets_from_rc () |
int32_t | angle_input (RC_Channel *rc, int16_t angle_min, int16_t angle_max) |
float | angle_input_rad (RC_Channel *rc, int16_t angle_min, int16_t angle_max) |
void | calc_angle_to_location (const struct Location &target, Vector3f &angles_to_target_rad, bool calc_tilt, bool calc_pan, bool relative_pan=true) |
MAV_MOUNT_MODE | get_mode (void) const |
![]() | |
AP_Mount & | _frontend |
AP_Mount::mount_state & | _state |
uint8_t | _instance |
Vector3f | _angle_ef_target_rad |
Definition at line 20 of file AP_Mount_SToRM32.h.
AP_Mount_SToRM32::AP_Mount_SToRM32 | ( | AP_Mount & | frontend, |
AP_Mount::mount_state & | state, | ||
uint8_t | instance | ||
) |
Definition at line 7 of file AP_Mount_SToRM32.cpp.
|
private |
Definition at line 108 of file AP_Mount_SToRM32.cpp.
Referenced by init(), and update().
|
virtual |
Implements AP_Mount_Backend.
Definition at line 82 of file AP_Mount_SToRM32.cpp.
Referenced by init().
|
inlinevirtual |
Implements AP_Mount_Backend.
Definition at line 28 of file AP_Mount_SToRM32.h.
|
private |
Definition at line 126 of file AP_Mount_SToRM32.cpp.
Referenced by init(), and update().
|
virtual |
Implements AP_Mount_Backend.
Definition at line 89 of file AP_Mount_SToRM32.cpp.
Referenced by init().
|
virtual |
Reimplemented from AP_Mount_Backend.
Definition at line 101 of file AP_Mount_SToRM32.cpp.
Referenced by init().
|
virtual |
Implements AP_Mount_Backend.
Definition at line 17 of file AP_Mount_SToRM32.cpp.
Referenced by init().
|
private |
Definition at line 54 of file AP_Mount_SToRM32.h.
Referenced by find_gimbal(), and send_do_mount_control().
|
private |
Definition at line 53 of file AP_Mount_SToRM32.h.
Referenced by find_gimbal(), and send_do_mount_control().
|
private |
Definition at line 51 of file AP_Mount_SToRM32.h.
Referenced by find_gimbal(), send_do_mount_control(), set_mode(), and update().
|
private |
Definition at line 55 of file AP_Mount_SToRM32.h.
Referenced by send_do_mount_control(), and update().
|
private |
Definition at line 52 of file AP_Mount_SToRM32.h.
Referenced by find_gimbal(), and send_do_mount_control().