|
libstp
Robotics library for Botball
|
#include <types.hpp>
Public Member Functions | |
| VelocityCommandGain ()=default | |
| VelocityCommandGain (double vx_, double vy_, double wz_) | |
Public Attributes | |
| double | vx {1.0} |
| Forward-axis command gain (1.0 = no scaling). | |
| double | vy {1.0} |
| Lateral-axis command gain (1.0 = no scaling). | |
| double | wz {1.0} |
| Angular-axis command gain (1.0 = no scaling). | |
Per-axis velocity-command gain folded into a drivetrain's forward kinematics to compensate efficiency losses (e.g. mecanum roller slip). Calibrated by the autotune velocity phase; identity (1.0) means no scaling. Shares the vx/vy/wz axis convention with ChassisVelocity but is a distinct type so it cannot be mixed up with an actual velocity.
|
default |
|
inline |
| double libstp::foundation::VelocityCommandGain::vx {1.0} |
| double libstp::foundation::VelocityCommandGain::vy {1.0} |
| double libstp::foundation::VelocityCommandGain::wz {1.0} |