XK2/X4: Stunt flag for the Sky Viper Vector

This commit is contained in:
pascallanger
2026-07-14 19:46:38 +02:00
parent e5f9f8c840
commit 174efa332b
3 changed files with 12 additions and 7 deletions

View File

@@ -196,8 +196,8 @@
62,0,XK,X450,1,FMode,TakeOf,Emerg,3D_6G,Pict,Video
62,1,XK,X420,1,FMode,TakeOf,Emerg,3D_6G,Pict,Video,Flip,Light
62,2,XK,Cars,0,FMode,TakeOf,Emerg,3D_6G,Pict,Video,Flip,Light
99,0,XK2,X4,0,Rate,Mode,Hover,Light
99,1,XK2,P10,0,Rate,Mode,Hover,Light
99,0,XK2,X4,0,Rate,Mode,Hover,Light,Stunt
99,1,XK2,P10,0,Rate,Mode,Hover,Light,Stunt
8,0,YD717,Std,1,Flip,Light,Pict,Video,HLess
8,1,YD717,SkyWlkr,1,Flip,Light,Pict,Video,HLess
8,2,YD717,Simax4,1,Flip,Light,Pict,Video,HLess

View File

@@ -86,7 +86,8 @@ static void __attribute__((unused)) XK2_send_packet()
packet[5] |= 0x10; //Gyro off (senior mode)
else if(Channel_data[CH6] > CHANNEL_MIN_COMMAND)
packet[5] |= 0x08; //3D
//Requiest telemetry flag
packet[5] |= GET_FLAG(CH9_SW, 0x04); //Sky Viper Vector stunt flag
//Request telemetry flag
packet[6] = 0x01;
//RXID checksum
packet[7] = crc8; //Sum RX_ID[0..2]

View File

@@ -1574,9 +1574,9 @@ If a CC2500 is installed it will be used for this sub protocol. Option in this c
If only a NRF24L01 is installed then this sub protocol might be problematic because it is using the xn297L emulation with a transmission speed of 250kbps which doesn't work very well with every NRF24L01, this is an hardware issue with the authenticity and accuracy of the components.
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8
---|---|---|---|---|---|---|---
A|E|T|R|Rate|Mode|Hover|Light
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9
---|---|---|---|---|---|---|---|---
A|E|T|R|Rate|Mode|Hover|Light|Stunt
The plane does not need to be bound each time if it is powered on **after** the radio/protocol is on.
@@ -1586,9 +1586,13 @@ The rudder trim is driven from the rudder channel to increase the range (Origina
Mode: -100%=6G, 0%=3D, +100%=Gyro off (Senior mode)
Stunt: Sky Viper Vector
### Sub_protocol X4 - *0*
Transmitter: XK X4-A160, X5S, model: XK A160S, XK A280, XK A300
Model: Sky Viper Vector
### Sub_protocol P10 - *1*
Model: Park10 J3-CUB
@@ -2016,7 +2020,7 @@ Model: XK K170 UH-60L Black hawk, XK K270 UH-60L
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11
---|---|---|---|---|---|---|---|---|---|---
A|E|T|R|RATE|EMERGENCY|TAKE_OFF/LANDING|CALIB|TrimA|TrimE|Optic
A|E|T|R|RATE|EMERGENCY|TAKE_OFF/LANDING|CALIB|TrimA|TrimE|Optical
RATE: -100% Low, 0% Mid, +100% High