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
Original issue reported on code.google.com by
james.goppert@gmail.com
on 1 Oct 2010 at 5:51