setTickVelocity

public final Unit setTickVelocity(Double velocity, Double acceleration)
public final Unit setTickVelocity(Double velocity)

Sets the velocity/accleration of all motors in encoder ticks per second.

Note: Because of physical constraints, motors may move at different speeds.

Parameters

velocity

The velocity to set.

acceleration

The acceleration to set.