Skip to content

Commit 94ea1e9

Browse files
committed
added Himark servo feedback and control
these are vendor specific commands which should not be adopted. They are included as a placeholder to prevent the IDs being used by other messages and to allow for bus analysis
1 parent 4d11191 commit 94ea1e9

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Himark servo commands
2+
# it is not recommended that anyone implement this message. It is here as a placeholder
3+
# for existing Himark servos
4+
5+
# signature from original file location
6+
OVERRIDE_SIGNATURE 0x5D09E48551CE9194
7+
8+
uint10[<=17] cmd
9+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Himark servo feedback information
2+
# it is not recommended that anyone implement this message. It is here as a placeholder
3+
# for existing Himark servos
4+
5+
# signature from original file location
6+
OVERRIDE_SIGNATURE 0xCA8F4B8F97D23B57
7+
8+
# servo ID from 0 to 17
9+
uint5 servo_id
10+
11+
# current commanded input, range 700 to 2300, 1 LSB/us
12+
uint12 pwm_input
13+
14+
# commanded position from -18000 to 18000, 1 LSB == 0.01 degrees
15+
int16 pos_cmd
16+
17+
# sensed position from -18000 to 18000, 1 LSB == 0.01 degrees
18+
int16 pos_sensor
19+
20+
# voltage, range 0 to 4095, 1 LSB == 0.01V
21+
uint12 voltage
22+
23+
# current, range 0 to 1023, 1 LSB == 0.01A
24+
uint10 current
25+
26+
# PCB temperature, range 0 to 1023, 1 LSB == 0.2 degrees Celsius, temp = pcb_tem*0.2-40
27+
uint10 pcb_temp
28+
29+
# motor temperature, range 0 to 1023, 1 LSB == 0.2 degrees Celsius, temp = motor_tem*0.2-40
30+
uint10 motor_temp
31+
32+
uint5 ERROR_STATUS_NO_ERROR = 0
33+
uint5 ERROR_STATUS_DATA_ERROR = 1
34+
uint5 error_status

0 commit comments

Comments
 (0)