forked from ArduPilot/MissionPlanner
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
250 changed files
with
4,723 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
ExtLibs/DroneCAN/dsdl/.github/workflows/test_regression.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: test regression | ||
|
||
on: [push, pull_request, workflow_dispatch] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
# git checkout the PR | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install gcc | ||
run: sudo apt-get install -y gcc libc6-dev | ||
|
||
- name: test DSDL generation and encode/decode | ||
shell: bash | ||
run: | | ||
tests/test_regression.sh | ||
- name: Archive generated headers | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: dsdl_generated | ||
path: | | ||
dsdl_generated/include | ||
dsdl_generated/src | ||
retention-days: 90 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Himark servo commands | ||
# it is not recommended that anyone implement this message. It is here as a placeholder | ||
# for existing Himark servos | ||
|
||
# signature from original file location | ||
OVERRIDE_SIGNATURE 0x5D09E48551CE9194 | ||
|
||
uint10[<=17] cmd | ||
|
34 changes: 34 additions & 0 deletions
34
ExtLibs/DroneCAN/dsdl/com/himark/servo/2019.ServoInfo.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Himark servo feedback information | ||
# it is not recommended that anyone implement this message. It is here as a placeholder | ||
# for existing Himark servos | ||
|
||
# signature from original file location | ||
OVERRIDE_SIGNATURE 0xCA8F4B8F97D23B57 | ||
|
||
# servo ID from 0 to 17 | ||
uint5 servo_id | ||
|
||
# current commanded input, range 700 to 2300, 1 LSB/us | ||
uint12 pwm_input | ||
|
||
# commanded position from -18000 to 18000, 1 LSB == 0.01 degrees | ||
int16 pos_cmd | ||
|
||
# sensed position from -18000 to 18000, 1 LSB == 0.01 degrees | ||
int16 pos_sensor | ||
|
||
# voltage, range 0 to 4095, 1 LSB == 0.01V | ||
uint12 voltage | ||
|
||
# current, range 0 to 1023, 1 LSB == 0.01A | ||
uint10 current | ||
|
||
# PCB temperature, range 0 to 1023, 1 LSB == 0.2 degrees Celsius, temp = pcb_tem*0.2-40 | ||
uint10 pcb_temp | ||
|
||
# motor temperature, range 0 to 1023, 1 LSB == 0.2 degrees Celsius, temp = motor_tem*0.2-40 | ||
uint10 motor_temp | ||
|
||
uint5 ERROR_STATUS_NO_ERROR = 0 | ||
uint5 ERROR_STATUS_DATA_ERROR = 1 | ||
uint5 error_status |
5 changes: 5 additions & 0 deletions
5
ExtLibs/DroneCAN/dsdl/com/hobbywing/esc/20013.GetEscID.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# signature from original file location | ||
OVERRIDE_SIGNATURE 0x4E2D | ||
|
||
uint8[<=3] payload | ||
|
5 changes: 5 additions & 0 deletions
5
ExtLibs/DroneCAN/dsdl/com/hobbywing/esc/20050.StatusMsg1.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
OVERRIDE_SIGNATURE 0x0813b3e2c4ad670e | ||
|
||
uint16 rpm | ||
uint16 pwm | ||
uint16 status |
6 changes: 6 additions & 0 deletions
6
ExtLibs/DroneCAN/dsdl/com/hobbywing/esc/20051.StatusMsg2.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
OVERRIDE_SIGNATURE 0x1675da01c3b91297 | ||
|
||
int16 input_voltage # 0.1V | ||
int16 current # 0.1A | ||
uint8 temperature # degC | ||
|
5 changes: 5 additions & 0 deletions
5
ExtLibs/DroneCAN/dsdl/com/hobbywing/esc/20052.StatusMsg3.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
OVERRIDE_SIGNATURE 0x24919cd1eb34ece9 | ||
|
||
uint8 MOS_T | ||
uint8 CAP_T | ||
uint8 Motor_T |
3 changes: 3 additions & 0 deletions
3
ExtLibs/DroneCAN/dsdl/com/hobbywing/esc/20100.RawCommand.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
OVERRIDE_SIGNATURE 0xbdf086c79f6640ad | ||
|
||
int14[<=8] command |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
OVERRIDE_SIGNATURE 0xc323cb5e9ec2b6f7 | ||
|
||
uint8 node_id | ||
uint8 throttle_channel | ||
|
||
--- | ||
|
||
uint8 node_id | ||
uint8 throttle_channel |
11 changes: 11 additions & 0 deletions
11
ExtLibs/DroneCAN/dsdl/com/hobbywing/esc/211.SetBaud.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
OVERRIDE_SIGNATURE 0xada98653b52de435 | ||
|
||
uint8 BAUD_1MBPS = 0 | ||
uint8 BAUD_500KBPS = 1 | ||
uint8 BAUD_250KBPS = 2 | ||
uint8 BAUD_200KBPS = 3 | ||
uint8 BAUD_100KBPS = 4 | ||
uint8 BAUD_50KBPS = 5 | ||
uint8 baud | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
OVERRIDE_SIGNATURE 0xb493bd48c0853ee5 | ||
|
||
uint8 OPTION_SAVE = 1 | ||
uint8 option | ||
|
||
uint8 COLOR_R = 4 | ||
uint8 COLOR_G = 2 | ||
uint8 COLOR_B = 1 | ||
uint8 color | ||
|
||
uint8 BLINK_OFF = 0 | ||
uint8 BLINK_1HZ = 1 | ||
uint8 BLINK_2HZ = 2 | ||
uint8 BLINK_5HZ = 5 | ||
uint8 blink | ||
|
||
--- | ||
|
||
uint8 option | ||
uint8 color | ||
uint8 blink |
9 changes: 9 additions & 0 deletions
9
ExtLibs/DroneCAN/dsdl/com/hobbywing/esc/213.SetDirection.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
OVERRIDE_SIGNATURE 0x9d793111d262ba68 | ||
|
||
uint8 DIRECTION_CLOCKWISE = 0 | ||
uint8 DIRECTION_COUNTER_CLOCKWISE = 1 | ||
uint8 DIRECTION_QUERY = 255 | ||
uint8 direction | ||
|
||
--- | ||
uint8 direction |
25 changes: 25 additions & 0 deletions
25
ExtLibs/DroneCAN/dsdl/com/hobbywing/esc/214.SetReportingFrequency.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
OVERRIDE_SIGNATURE 0x1fd0404420983deb | ||
|
||
uint8 OPTION_READ = 0 | ||
uint8 OPTION_WRITE = 1 | ||
uint8 option | ||
|
||
uint16 MSG_ID | ||
|
||
uint8 RATE_500HZ = 1 | ||
uint8 RATE_250HZ = 2 | ||
uint8 RATE_200HZ = 3 | ||
uint8 RATE_100HZ = 4 | ||
uint8 RATE_50HZ = 5 | ||
uint8 RATE_20HZ = 6 | ||
uint8 RATE_10HZ = 7 | ||
uint8 RATE_1HZ = 8 | ||
uint8 RATE_0HZ = 9 | ||
uint8 rate | ||
|
||
--- | ||
|
||
uint8 option | ||
uint16 MSG_ID | ||
uint8 rate | ||
|
9 changes: 9 additions & 0 deletions
9
ExtLibs/DroneCAN/dsdl/com/hobbywing/esc/215.SetThrottleSource.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
OVERRIDE_SIGNATURE 0x0c248faaefe5e29a | ||
|
||
uint8 SOURCE_CAN_DIGITAL = 0 | ||
uint8 SOURCE_PWM = 1 | ||
uint8 source | ||
|
||
--- | ||
|
||
uint8 source |
Oops, something went wrong.