VirtualWire.h Library Conflict

Hello All,

I know that I am posting this to the wrong section, but the ArduPilot Mega group is not as active as this group.

We are using ArduCopter 2.9.1, which should be similar to you all's ArduPlane. 

One issue that we are running into is trying to include the VirtualWire.h library. The second I include this library in the UserCode.pde a ton of errors appear. I think these are all related to the crc16.h which is used for error checking.

I would like to know if there is a way I could do something that is similar to what the VirtualWire.h is doing or perhaps even write the file from scratch to avoid the conflicts. Could I remove the error checking entirely from all the files? Or could I modify the VirtualWire.h to make it compatible with ArduCopter?

Why are we using this? We want to use simple 433MHz wireless receivers and transmitters for two way communication. We want to avoid the 3DR radio module if possible. The information that we want to transmit would be no more than 10 variables. 

 

So I dont clutter the forum, I have pasted the compilation errors into a txt file and attached it.

Thanks for the help!

VirtualWireErrors.txt

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • I did some searching and GCS_MAVLink.h also has #include <util/crc16.h>. Can util/crc16.h be included in two separate files? If they cannot, could I get my hands on a ArduCopter 2.9.1 that does not include anything that might use MAVLink?

This reply was deleted.

Activity