CNCBASHER / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

Use APM Standard Binary Protocol for HIL #163

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It seems redundant to use the XPlane packet for our general HIL interface. Why 
don't we just add a message 0x53 to the radio section that outputs all of the 
servo channels.

Here is the patch I've submitted to arducopter for the APM_BinComm library that 
I hope that they will accept.

file: APM_BinComm/protocol/protocol.def

< message 0x53  MSG_SERVOS
<   int16_t     ch1
<   int16_t     ch2
<   int16_t     ch3
<   int16_t     ch4
<   int16_t     ch5
<   int16_t     ch6
<   int16_t     ch7
<   int16_t     ch8

Original issue reported on code.google.com by james.goppert@gmail.com on 1 Oct 2010 at 5:56

GoogleCodeExporter commented 9 years ago
Looks like a good addition to me.  

It will still need support in the application and the HIL bridge on the host, 
of course.

Fixed in r635.

Original comment by DrZip...@gmail.com on 9 Oct 2010 at 6:12