Trapezoidal and Asymmetric Profiles
Use different accel/decel limits when needed.
Use different accel/decel limits when needed.
In this lesson, you will:
A trapezoidal profile accelerates, may cruise, and decelerates. Some mechanisms need asymmetric profiles because moving up and moving down do not behave the same.
Gravity, load, and friction make mechanisms asymmetric. An arm may safely accelerate upward differently than it decelerates downward.
Calculate whether the move reaches max velocity. If not, it becomes triangular. Choose constraints that match hardware rather than copying constants from another robot.
Constraints.javaJava
ProfileConstraints constraints = new ProfileConstraints(900, 1800, 2200); AsymmetricMotionProfile profile = new AsymmetricMotionProfile(current, target, constraints);
Bad constraints create impossible requests. If output saturates for most of the move, the profile is asking too much.
Compare a fast aggressive profile with a conservative one using telemetry only before moving the mechanism.
Check your understanding before moving on.
0 of 2 answered