Magic Pingu
data class MagicPingu(var velocity: Double = 0.0, var acceleration: Double = 0.0, var jerk: Double = 0.0)
A data class that wraps magic motion with velocity, acceleration, and jerk.
Units depend on the motor's controlled variable:
For rotational motion: velocity in rotations/second, acceleration in rotations/second², jerk in rotations/second³
For linear motion: velocity in meters/second, acceleration in meters/second², jerk in meters/second³
Functions
Link copied to clipboard
Sets the acceleration of the MagicPingu.
Link copied to clipboard
Sets the jerk of the MagicPingu.
Link copied to clipboard
Sets the velocity of the MagicPingu.