Größe: 1757
Kommentar: add navi command 'Q'
|
Größe: 2547
Kommentar:
|
Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
Zeile 2: | Zeile 2: |
|| ''' Command ''' || ''' Description ''' || ''' Parameter's ''' || '''since FC Firmware'' || || K || compass || compass value || || || a || labels of analog Values || position of requested analog Value ( 1 byte ) || || || b || !ExternControl || struct !ExternControl (uart.h) || 0.68b || || c || !ExternControl + Debug request || struct !ExternControl (uart.h) || 0.68b || || h || request Display line || Key Value ( 1 Byte ) || || || t || Engine Test || values for the 4 engines ( 4 Bytes ) || || || k || Dubwise Keys || keys ( 4 bytes) || 0.67e || || v || Version Request || none || || || g || ExternControl Request || none || || || q || Settings Request || settings-num 1 Byte - or 0xff for actual setting (1 Byte) || || || l || Write Setting 1 || mk_param_struct (fc.h) || || || m || Write Setting 2 || mk_param_struct (fc.h) || || || n || Write Setting 3 || mk_param_struct (fc.h) || || || o || Write Setting 4 || mk_param_struct (fc.h) || || || p || Write Setting 5 || mk_param_struct (fc.h) || || || f || Debug Request || none || v0.71f || || R || Reset ATMEGA || in SIGNAL(INT_VEC_RX) || || |
|| ||||||<style="text-align: center;">'''Received by FC ''' ||||||<style="text-align: center;">'''Send by FC ''' || || ||'''Description''' ||'''ID''' ||'''Address''' ||'''Data''' ||'''ID''' ||'''Address''' ||'''Data''' ||'''since FC Firmware''' || || compass ||K || || compass value ||w||1||Nick Roll Attitude ...|| || || labels of analog Values ||a ||any|| position of requested analog Value ( 1 byte ) ||A||position||16 char label text|| || || !ExternControl ||b ||any|| struct !ExternControl (uart.h) ||Confirm Frame ID||'\r'||struct !ExternControl (uart.h) || 0.68b || || !ExternControl + Debug request ||c ||any|| struct !ExternControl (uart.h) ||D||1||Debug Data|| 0.68b || || request Display line ||h ||any|| param ( 1 Byte ) param == 255 PPch chanels are replyed else the diplay line cyclic 0->1->2->3->4 ||0 1 2 3 4||0||20 char display line text 20 char display line text 20 char display line text 20 char display line text PPM channels|| || || Engine Test ||t ||any|| values for the 4 engines ( 4 Bytes ) ||-||-||-|| || || Dubwise Keys ||k ||any|| keys (4 bytes) ||key[3]||'\r'||keys (4 bytes)|| 0.67e || || Version Request ||v ||any|| none ||V||1||Version Info Struct|| || || ExternControl Request ||g ||any|| none ||G||1||ExternControl|| || || Settings Request ||q ||any|| 1 Byte settings-num form 1 to 5, or 0xff for actual setting (1 Byte) ||L M N O P||1||mk_param_struct (fc.h) || || || Write Setting 1 ||l ||any|| mk_param_struct (fc.h) ||-||-||-|| || || Write Setting 2 ||m ||any|| mk_param_struct (fc.h) ||-||-||-|| || || Write Setting 3 ||n ||any|| mk_param_struct (fc.h) ||-||-||-|| || || Write Setting 4 ||o ||any|| mk_param_struct (fc.h) ||-||-||-|| || || Write Setting 5 ||p ||any|| mk_param_struct (fc.h) ||-||-||-|| || || Debug Request ||f ||any|| none ||D||1||Debug Data|| v0.71f || || Reset ATMEGA ||R ||any|| in SIGNAL(INT_VEC_RX) ||-||-||-|| || |
Zeile 23: | Zeile 37: |
|| ''' Command ''' || ''' Description ''' || ''' Parameter's ''' || '''since NC Firmware'' ''''' || | || Command ''' ''' || Description ''' ''' || Parameter's ''' ''' || since NC Firmware ''''' ''''' || |
Zeile 31: | Zeile 45: |
Zeile 33: | Zeile 46: |
CategoryCoding | . CategoryCoding |
Flight-Ctrl
|
Received by FC |
Send by FC |
|
||||
Description |
ID |
Address |
Data |
ID |
Address |
Data |
since FC Firmware |
compass |
K |
|
compass value |
w |
1 |
Nick Roll Attitude ... |
|
labels of analog Values |
a |
any |
position of requested analog Value ( 1 byte ) |
A |
position |
16 char label text |
|
ExternControl |
b |
any |
struct ExternControl (uart.h) |
Confirm Frame ID |
'\r' |
struct ExternControl (uart.h) |
0.68b |
ExternControl + Debug request |
c |
any |
struct ExternControl (uart.h) |
D |
1 |
Debug Data |
0.68b |
|| request Display line ||h ||any|| param ( 1 Byte ) param == 255 PPch chanels are replyed else the diplay line cyclic 0->1->2->3->4 ||0 1 2 3 4||0||20 char display line text 20 char display line text 20 char display line text 20 char display line text PPM channels|| ||
Engine Test |
t |
any |
values for the 4 engines ( 4 Bytes ) |
- |
- |
- |
|
Dubwise Keys |
k |
any |
keys (4 bytes) |
key[3] |
'\r' |
keys (4 bytes) |
0.67e |
Version Request |
v |
any |
none |
V |
1 |
Version Info Struct |
|
ExternControl Request |
g |
any |
none |
G |
1 |
|
|| Settings Request ||q ||any|| 1 Byte settings-num form 1 to 5, or 0xff for actual setting (1 Byte) ||L M N O P||1||mk_param_struct (fc.h) || ||
Write Setting 1 |
l |
any |
mk_param_struct (fc.h) |
- |
- |
- |
|
Write Setting 2 |
m |
any |
mk_param_struct (fc.h) |
- |
- |
- |
|
Write Setting 3 |
n |
any |
mk_param_struct (fc.h) |
- |
- |
- |
|
Write Setting 4 |
o |
any |
mk_param_struct (fc.h) |
- |
- |
- |
|
Write Setting 5 |
p |
any |
mk_param_struct (fc.h) |
- |
- |
- |
|
Debug Request |
f |
any |
none |
D |
1 |
Debug Data |
v0.71f |
Reset ATMEGA |
R |
any |
in SIGNAL(INT_VEC_RX) |
- |
- |
- |
|
Navi-Ctrl
Command |
Description |
Parameter's |
since NC Firmware |
a |
labels of analog Values |
position of requested analog Value ( 1 byte ) |
since beginning |
h |
request Display line |
Key Value ( 1 Byte ) |
since beginning |
v |
Version Request |
none |
since beginning |
e |
Error Code Request |
none |
0.12h |
s |
Send target Position |
none |
0.12h |
w |
Send Waypoint |
none |
0.12h |
q |
Request OSD-Data (Q) |
1 byte sending interval ( in 10ms steps ) |
0.12h |