Skip to content

Commit 0e237b5

Browse files
committed
doc complete
1 parent 5fa4030 commit 0e237b5

File tree

1 file changed

+39
-29
lines changed

1 file changed

+39
-29
lines changed

README.md

+39-29
Original file line numberDiff line numberDiff line change
@@ -106,45 +106,55 @@ For all methods, the ID of the servo is always needed, so be sure to always defi
106106
| `set_lock(ID,status)` |Define if the EEPROM can be modified.|`status`: a value of 0 if the EEPROM is modified, and 1 if it doesn't want to be modified.|
107107
| `set_punch(ID, punch)` |Defines minimum current with which the servo would work.|`punch`: The initial value is set to 0x20 and its maximum value is 0x3ff.|
108108

109-
#### Especificos de lectura
109+
#### Specific read methods
110110

111-
Todos los metodos de lectura tiene como parámetro nada más que el ID, por lo que no se explica a continucación, solo que hace cada metodo.
112-
113-
Tener en cuenta que todos los metodos de lectura, al usarlos, por ahora imprimen todo lo que le llega al microcontrolador. Se tiene que entonces identificar que generalmente el unico print que se mostraría es lo que envia como respuesta el motor. Lo cual correspondera a un paquete del cual se tendrá que identificar los valores regresados.
111+
Here could be more important to include the parameter `rxbuf` so that you get just what you want from the servo. However, it already has a value and every of the reading methods returns the packet received in `list` form.
114112

115113
##### EEPROM
116114

117-
| Metodos | ¿Qué hace? |
115+
| Methods | Returned info |
118116
| ------------------------ | ------------------------------------------------------------ |
119-
| read_model_number(ID) | Lectura el numero de modelo del motor. |
120-
| read_firmware(ID) | Lectura el firmware que tiene el motor. |
121-
| read_baudrate(ID) | Lectura el valor de baud rate con el que esta trabajando el motor para la comunicación. |
122-
| read_delay_time(ID) | Lectura el tiempo de delay entre escritura y respuesta. **Todavia no esta implementado el metodo para el cambio de delay time** |
123-
| read_cw_angle_limit(ID) | Lectura de angulo limite para el giro horario. |
124-
| read_ccw_angle_limit(ID) | Lectura de angulo limite para el giro anti-horario. |
125-
| read_control_mode(ID) | Lectura de modo de control actual. |
126-
| read_max_torque(ID) | Lectura de torque máximo al cual ha sido seteado el motor. |
127-
| read_return_level(ID) | Lectura de nivel de retorno en el motor. |
117+
| `read_model_number(ID)` | Model number of the servo. |
118+
| `read_firmware(ID)` | Firmware embedded in the servo. |
119+
| `read_id(ID)` | ID of the connected servo. |
120+
| `read_baud_rate(ID)` | Current baud rate with which the servo communicates. |
121+
| `read_return_delay_time(ID)` | The time the servo takes in order to respond after receiving its packet. |
122+
| `read_cw_angle_limit(ID)` | Limit angle in which the servo can turn with cw direction. |
123+
| `read_ccw_angle_limit(ID)` | Limit angle in which the servo can turn with ccw direction. |
124+
| `read_temperature_limit(ID)` | Limit high temperature with which the servo would work. |
125+
| `read_lowest_voltage(ID)` | Lowest voltage with which the servo would work. |
126+
| `read_highest_voltage(ID)` | Highest voltage with which the servo would work. |
127+
| `read_max_torque(ID)` | Max torque the servo would give. |
128+
| `read_status_return_level(ID)` | Number of the status return level. |
129+
| `read_alarm_led(ID)` | The alarm led value. |
130+
| `read_alarm_shutdown(ID)` | The alarm shutdown value. |
131+
| `read_down_calibration(ID) ` | The down calibration value. |
132+
| `read_up_calibration(ID)` | The up calibration value. |
128133

129134
##### RAM
130-
| Metodos | ¿Qué hace? |
131-
| ---------------------------- | ------------------------------------------------------------ |
132-
| read_torque_enable(ID) | Lectura del estado de torque, si esta activado o no. |
133-
| read_goal_torque(ID) | Lectura de el valor de torque al que se haya seteado el motor. |
134-
| read_goal_speed(ID) | Lectura del valor de goal speed puesto. |
135-
| read_present_position(ID) | Lectura de la posición actual del motor. |
136-
| read_present_speed(ID) | Lectura de la velocidad actual del motor. |
137-
| read_present_load(ID) | Lectura del peso o fuerza ejercida por el motor. |
138-
| read_present_voltage(ID) | Lectura del voltage presente suministrado al motor. |
139-
| read_present_temperature(ID) | Lectura de temperatura actual del motor. |
140-
| read_moving(ID) | Lectura de estado del motor, para saber si esta o no en movimiento. |
141-
| read_hw_error_status(ID) | Lectura de estado de error de hardware. |
142-
| read_goal_position(ID) | Lectura de valor de goal position indicado. |
143-
| read_punch(ID) | Lectura de minima corriente suministrada al motor. |
135+
| Methods | Returned info |
136+
| -------------------------------- | ------------------------------------------------------------ |
137+
| `read_torque_enable(ID)` | Returns if torque is enabled or not. |
138+
| `read_led(ID)` | Returns if the led is on or off. |
139+
| `read_cw_compliance_margin(ID)` | Returns the compliance margin for cw direction. |
140+
| `read_ccw_compliance_margin(ID)` | Returns the compliance margin for ccw direction. |
141+
| `read_cw_compliance_slope(ID)` | Returns the compliance slope for cw direction. |
142+
| `read_ccw_compliance_slope(ID)` | Returns the compliance slope for ccw direction. |
143+
| `read_goal_position(ID)` | Returns the last asked angle. |
144+
| `read_moving_speed(ID)` | Returns the last requested speed. |
145+
| `read_torque_limit(ID)` | Returns the torque limit. |
146+
| `read_present_position(ID)` | Returns the angle present position. |
147+
| `read_present_speed( ID)` | Returns the current speed in which the servo is moving. |
148+
| `read_present_load(ID)` | Returns the current applied load. |
149+
| `read_present_voltage(ID)` | Returns the current voltage received by the servo. |
150+
| `read_moving(ID)` | Returns a value that expresses if the servo is moving or not. |
151+
| `read_lock(ID)` | Returns if the EEPROM can be modified or not. |
152+
| `read_punch(ID)` | Returns the current that the servo needs to work. |
144153

145154

146155

147156

148157

149158
## Referencias
150-
159+
* [Dynamixel Protocol 1.0](http://emanual.robotis.com/docs/en/dxl/protocol1/)
160+
* [Main info Dynamixel AX12](http://support.robotis.com/en/product/actuator/dynamixel/ax_series/dxl_ax_actuator.htm#Actuator_Address_28)

0 commit comments

Comments
 (0)