APM:Libraries
Public Member Functions | Private Attributes | List of all members
AP_Winch_Servo Class Reference

#include <AP_Winch_Servo.h>

Inheritance diagram for AP_Winch_Servo:
[legend]
Collaboration diagram for AP_Winch_Servo:
[legend]

Public Member Functions

 AP_Winch_Servo (struct AP_Winch::Backend_Config &_config)
 
void init (const AP_WheelEncoder *wheel_encoder) override
 
void update () override
 
- Public Member Functions inherited from AP_Winch_Backend
 AP_Winch_Backend (struct AP_Winch::Backend_Config &_config)
 

Private Attributes

const AP_WheelEncoder_wheel_encoder
 
uint32_t last_update_ms
 
bool limit_high
 
bool limit_low
 

Additional Inherited Members

- Protected Attributes inherited from AP_Winch_Backend
struct AP_Winch::Backend_Configconfig
 

Detailed Description

Definition at line 21 of file AP_Winch_Servo.h.

Constructor & Destructor Documentation

◆ AP_Winch_Servo()

AP_Winch_Servo::AP_Winch_Servo ( struct AP_Winch::Backend_Config _config)
inline

Definition at line 24 of file AP_Winch_Servo.h.

Here is the call graph for this function:

Member Function Documentation

◆ init()

void AP_Winch_Servo::init ( const AP_WheelEncoder wheel_encoder)
overridevirtual

Implements AP_Winch_Backend.

Definition at line 5 of file AP_Winch_Servo.cpp.

Referenced by AP_Winch_Servo().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ update()

void AP_Winch_Servo::update ( void  )
overridevirtual

Implements AP_Winch_Backend.

Definition at line 13 of file AP_Winch_Servo.cpp.

Referenced by AP_Winch_Servo().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _wheel_encoder

const AP_WheelEncoder* AP_Winch_Servo::_wheel_encoder
private

Definition at line 35 of file AP_Winch_Servo.h.

Referenced by init(), and update().

◆ last_update_ms

uint32_t AP_Winch_Servo::last_update_ms
private

Definition at line 37 of file AP_Winch_Servo.h.

Referenced by update().

◆ limit_high

bool AP_Winch_Servo::limit_high
private

Definition at line 38 of file AP_Winch_Servo.h.

Referenced by update().

◆ limit_low

bool AP_Winch_Servo::limit_low
private

Definition at line 39 of file AP_Winch_Servo.h.

Referenced by update().


The documentation for this class was generated from the following files: