Page 1 of 1

control via Serial Protocol

Posted: Mon Apr 28, 2014 10:34 pm
by Settler
Hello.
Cann't tell. I need to make control via Serial Protocol

Conect to my coper at 115200 via uart.
When send
24 4d 3c 00 69 69
Get result
24 4d 3e 10 69 dc 05 dc 05 dc 05 dc 05 dc 05 dc 05 dc 05 dc 05 79

On the other team also answers come.

BAT
It is impossible to start the engines.
Trying to run the command
24 4d 3c 10 c8 dc 05 dc 05 ce 07 17 04 dc 05 dc 05 dc 05 dc 05 02

To what my error?

Re: control via Serial Protocol

Posted: Fri May 02, 2014 7:07 pm
by Wipo
if you want to fly (control) with joystick/gamepad on a windows pc/laptop then you can use this tool http://www.multiwii.be/multiwiijoystick

if you want to fly (control) with an android smartphone then check this app https://play.google.com/store/apps/deta ... iwii&hl=nl

Re: control via Serial Protocol

Posted: Sat May 03, 2014 7:59 pm
by treym
https://github.com/treymarc/multiwii-ma ... a_joystick

Code: Select all

payload->length = 0;
MWIserialbuffer_Payloadwrite16(payload, mavlinkState->rcdata.y);
MWIserialbuffer_Payloadwrite16(payload, mavlinkState->rcdata.x);
MWIserialbuffer_Payloadwrite16(payload, mavlinkState->rcdata.r);
MWIserialbuffer_Payloadwrite16(payload, mavlinkState->rcdata.z);
MWIserialbuffer_Payloadwrite16(payload, 1500);
MWIserialbuffer_Payloadwrite16(payload, 1500);
MWIserialbuffer_Payloadwrite16(payload, 1500);
MWIserialbuffer_Payloadwrite16(payload, 1500);

MWIserialbuffer_askForFrame(serialLink, MSP_SET_RAW_RC, payload);