Hi, Thanks for great work! This is so awesome.
I am trying to port E010 control to PC, but some functions seems to be empty.
I would like to know more about 1) MJXq protocol, and 2) how to write command for all 12 channels.
I have forked nrf24_cx10_pc repo and figured out how to control "throttle, aileron, elevator, rudder".
I am currently working only with E010.
MJX.ino says,
packet[5] = GET_FLAG(MJX_CHANNEL_HEADLESS, 1) ? 0x40 : CHAN2TRIM(packet[2]); // trim elevatorpacket[6] = GET_FLAG(MJX_CHANNEL_HEADLESS, 1) ? 0x40 : CHAN2TRIM(packet[3]); // trim aileron
Besides these two trim options, there should be rudder trim too.
Also, I believe there are 360degree spin and speed controls buttons on the original controller.
I would like to know how to make these command on pc(which is connected to arduino and nrF24L01 card.).
Thank you very much for advance, and even giving me directions for dev would be thankful enough.
Hi, Thanks for great work! This is so awesome. I am trying to port E010 control to PC, but some functions seems to be empty. I would like to know more about 1) MJXq protocol, and 2) how to write command for all 12 channels.
I have forked nrf24_cx10_pc repo and figured out how to control "throttle, aileron, elevator, rudder".
This is what I have found.
command="%i,%i,%i,%i"% (throttle, aileron, elevator, rudder)
arduino.write(command+"\n")
I am currently working only with E010. MJX.ino says,
packet[5] = GET_FLAG(MJX_CHANNEL_HEADLESS, 1) ? 0x40 : CHAN2TRIM(packet[2]); // trim elevator
packet[6] = GET_FLAG(MJX_CHANNEL_HEADLESS, 1) ? 0x40 : CHAN2TRIM(packet[3]); // trim aileron
Besides these two trim options, there should be rudder trim too. Also, I believe there are 360degree spin and speed controls buttons on the original controller. I would like to know how to make these command on pc(which is connected to arduino and nrF24L01 card.).
Thank you very much for advance, and even giving me directions for dev would be thankful enough.