#include <ServoMotor.h>
◆ ControlMode
| Enumerator |
|---|
| Position | |
| Velocity | |
◆ ServoMotor()
| ServoMotor::ServoMotor |
( |
| ) |
|
◆ SetTargetAngle()
| void ServoMotor::SetTargetAngle |
( |
float |
angle | ) |
|
|
virtual |
◆ GetTargetAngle()
| float ServoMotor::GetTargetAngle |
( |
| ) |
|
|
virtual |
◆ SetMaximumVelocity()
| void ServoMotor::SetMaximumVelocity |
( |
float |
maxVelocity | ) |
|
|
virtual |
◆ SetTargetVelocity()
| void ServoMotor::SetTargetVelocity |
( |
float |
velocity | ) |
|
|
virtual |
◆ GetTargetVelocity()
| float ServoMotor::GetTargetVelocity |
( |
| ) |
|
|
virtual |
◆ Update()
| void ServoMotor::Update |
( |
float |
currentTimeMs | ) |
|
|
virtual |
◆ SetAngle()
| virtual void Passer::RoboidContol::ServoMotor::SetAngle |
( |
float |
angle | ) |
|
|
protectedpure virtual |
◆ minAngle
| float Passer::RoboidContol::ServoMotor::minAngle = -90.0F |
◆ maxAngle
| float Passer::RoboidContol::ServoMotor::maxAngle = 90.0F |
◆ controlMode
◆ hasTargetAngle
| bool Passer::RoboidContol::ServoMotor::hasTargetAngle = false |
|
protected |
◆ targetAngle
| float Passer::RoboidContol::ServoMotor::targetAngle = 0.0F |
|
protected |
◆ maxVelocity
| float Passer::RoboidContol::ServoMotor::maxVelocity = 0.0F |
|
protected |
◆ targetVelocity
| float Passer::RoboidContol::ServoMotor::targetVelocity = 0.0F |
|
protected |
◆ limitedTargetAngle
| float Passer::RoboidContol::ServoMotor::limitedTargetAngle = 0.0F |
|
protected |
◆ lastUpdateTimeMs
| float Passer::RoboidContol::ServoMotor::lastUpdateTimeMs = 0.0F |
|
protected |
The documentation for this class was generated from the following files: