Homing
Description
Homing (or in other words, move until a crash and then stop immediately)
Inputs
i32 maxDistance: The maximum distance to move (if a crash does not occur). This can be positive or negative. the sign determines the direction of movement.
u32 maxDuration: The maximum time to allow for homing. Make sure to give enough time for the motor to cover the maximum distance or the motor may move too fast or throw a fatal error.
Outputs
None
Log window