mageshms / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

Add Servo Output Message to Binary Protocol to Support HIL Simulation #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Right now on the ardupilot-mega side we are using the XPlane protocol for HIL. 
But it seems much easier to just define a new message for the binary protocol 
under the radio section that outputs the current servo positions. The servo 
positions can then be fed to the dynamics. The rest of the xplane protocol 
packets aren't required for HIL. On the arducopter side this would require 
updating the protocal.def file and regenerating the protocol.h file with awk 
for APM_BinComm.

diff APM_BinComm/protocol/protocol.def 
ardupilot-mega-read-only/libraries/APM_BinComm/protocol/protocol.def 
180,189d176
< 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:51

GoogleCodeExporter commented 8 years ago
This patch was already accepted so you can remove the issue.

Original comment by james.goppert@gmail.com on 27 Oct 2010 at 5:11

GoogleCodeExporter commented 8 years ago

Original comment by rmackay...@gmail.com on 27 Oct 2010 at 11:36