mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-20 22:55:00 +08:00
svd for FreeRTOS, state doc updates
This commit is contained in:
@@ -40,6 +40,8 @@ The current state of an axis is indicated by `<axis>.current_state`. The user ca
|
||||
* Can only be entered if the motor is calibrated (`<axis>.motor.is_calibrated`) or the motor direction is unspecified (`<axis>.motor.config.direction == 1`)
|
||||
10. `AXIS_STATE_ENCODER_DIR_FIND` Run encoder direction search.
|
||||
* Can only be entered if the motor is calibrated (`<axis>.motor.is_calibrated`).
|
||||
11. `AXIS_STATE_HOMING` Run axis homing function.
|
||||
* Endstops must be enabled to use this feature.
|
||||
|
||||
|
||||
### Startup Procedure
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@ The debouncing time for this endstop. Most switches exhibit some sort of bounce
|
||||
### is_active_high
|
||||
This is how you configure the endstop to be either "NPN" or "PNP". An "NPN" configuration would be `is_active_high = False` whereas a PNP configuration is `is_active_high = True`. Refer to the following table for more information:
|
||||
|
||||
3D printer endstops (like those that come with a RAMPS 1.4) are typically configuration **4**.
|
||||
3D printer endstops (like those that come with a RAMPS 1.4) are typically configuration **4**. Typically configuration **1** or **3** is preferred when using mechanical switches as the most common failure mode leaves the switch open.
|
||||
|
||||

|
||||
|
||||
|
||||
Reference in New Issue
Block a user