UDP errors when compling HeliRCRx

91 views
Skip to first unread message

TriCopter

unread,
Nov 20, 2012, 8:11:01 AM11/20/12
to rc...@googlegroups.com
Using Arduinio IDE 1.0.1, current version of IRrc v1.2, and WiShield 1.3.0-0 mikem I'm getting UDP compile errors when compiling HeliRCRx ...
RCKit TestSuite compiles fine ... any help appreciated

Mike McCauley

unread,
Nov 20, 2012, 4:10:48 PM11/20/12
to rc...@googlegroups.com
Consult the documentation for instructions on how to configure WiShield first.

If continued problems, you need to post more info including the actual error
messages.

Cheers.

--
Mike McCauley mi...@open.com.au
Open System Consultants Pty. Ltd
9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au
Phone +61 7 5598-7474 Fax +61 7 5598-7070

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.

TriCopter

unread,
Nov 20, 2012, 6:43:42 PM11/20/12
to rc...@googlegroups.com
 
 
 
Using your copy of WiShield …..

 

//*** Change in uip-conf file ***

 

#define UIP_CONF_UDP             1  // jung from 0 to 1

 

//*** Change in apps-conf file ***

 

#define APP_UDPAPP      //jung

 

 

IRrc, WiShield, and RCKit libs copied to Arduino 1.0.1 Library area

 

IDE errors

 

In file included from C:\Documents and Settings\xx\Desktop\RCkit\arduino-1.0.1-windows\arduino-1.0.1\libraries\RCKit\EthernetTransceiver.cpp:9:

C:\Documents and Settings\xx\Desktop\RCkit\arduino-1.0.1-windows\arduino-1.0.1\libraries\RCKit/EthernetTransceiver.h:64: error: 'UDP_TX_PACKET_MAX_SIZE' was not declared in this scope

C:\Documents and Settings\xx\Desktop\RCkit\arduino-1.0.1-windows\arduino-1.0.1\libraries\RCKit/EthernetTransceiver.h:67: error: 'EthernetUDP' does not name a type

C:\Documents and Settings\xx\Desktop\RCkit\arduino-1.0.1-windows\arduino-1.0.1\libraries\RCKit\EthernetTransceiver.cpp: In member function 'virtual void EthernetTransceiver::init()':

C:\Documents and Settings\xx\Desktop\RCkit\arduino-1.0.1-windows\arduino-1.0.1\libraries\RCKit\EthernetTransceiver.cpp:27: error: 'Ethernet' was not declared in this scope

C:\Documents and Settings\xx\Desktop\RCkit\arduino-1.0.1-windows\arduino-1.0.1\libraries\RCKit\EthernetTransceiver.cpp:28: error: '_udp' was not declared in this scope

C:\Documents and Settings\xx\Desktop\RCkit\arduino-1.0.1-windows\arduino-1.0.1\libraries\RCKit\EthernetTransceiver.cpp: In member function 'virtual void EthernetTransceiver::run()':

C:\Documents and Settings\xx\Desktop\RCkit\arduino-1.0.1-windows\arduino-1.0.1\libraries\RCKit\EthernetTransceiver.cpp:34: error: '_udp' was not declared in this scope

C:\Documents and Settings\xx\Desktop\RCkit\arduino-1.0.1-windows\arduino-1.0.1\libraries\RCKit\EthernetTransceiver.cpp:38: error: '_packetBuffer' was not declared in this scope

C:\Documents and Settings\xx\Desktop\RCkit\arduino-1.0.1-windows\arduino-1.0.1\libraries\RCKit\EthernetTransceiver.cpp:38: error: 'UDP_TX_PACKET_MAX_SIZE' was not declared in this scope

C:\Documents and Settings\xx\Desktop\RCkit\arduino-1.0.1-windows\arduino-1.0.1\libraries\RCKit\EthernetTransceiver.cpp: In member function 'virtual void EthernetTransceiver::sendReply(uint8_t*, uint16_t)':

C:\Documents and Settings\xx\Desktop\RCkit\arduino-1.0.1-windows\arduino-1.0.1\libraries\RCKit\EthernetTransceiver.cpp:49: error: '_udp' was not declared in this scope

Mike McCauley

unread,
Nov 20, 2012, 7:49:45 PM11/20/12
to rc...@googlegroups.com, TriCopter
Hi,

Thanks.
Problem was that the IRrc example code for HeliRCRx had not been updated for
recent changes in RCKit.

New version 1.3 of IRrc is now available with new version of the example that
compiles here.

Cheers.

TriCopter

unread,
Nov 21, 2012, 10:18:40 AM11/21/12
to rc...@googlegroups.com
Thanks for the update Mike,
 
     Had to import the SPI library to make this last vesion work ....
 
//*** Added
 
#include <SPI.h>
 
Thanks to Ken Shirriff''s hard work  we have a simple Arduino circuit and sketch to decode 38khz RC signals in raw mode.
 
 
I would like to add an additional code for popular 4 channel Ir copters to fly sideways ... WiFi Bee fits comfortably in the landing carraige of the copter and can be powered by the onboard Lipo ... improves outdoor experience if you isolate the onboard ir path.
 
Tricopter

On Tuesday, November 20, 2012 8:11:01 AM UTC-5, TriCopter wrote:

Mike McCauley

unread,
Nov 21, 2012, 3:55:03 PM11/21/12
to rc...@googlegroups.com
Hi,

On Wednesday, November 21, 2012 07:18:40 AM TriCopter wrote:
> Thanks for the update Mike,
>
> Had to import the SPI library to make this last vesion work ....
>
> //*** Added
>
> #include <SPI.h>

Strange. Not needed here.
Updated anyway.

Cheers.

>
> Thanks to Ken Shirriff''s hard work we have a simple Arduino circuit and
> sketch to decode 38khz RC signals in raw mode.
>
> http://www.arcfn.com/2009/09/arduino-universal-remote-record-and.html
>
> I would like to add an additional code for popular 4 channel Ir copters to
> fly sideways ... WiFi Bee fits comfortably in the landing carraige of the
> copter and can be powered by the onboard Lipo ... improves outdoor
> experience if you isolate the onboard ir path.
>
> Tricopter
>
> On Tuesday, November 20, 2012 8:11:01 AM UTC-5, TriCopter wrote:
> > Using Arduinio IDE 1.0.1, current version of IRrc v1.2, and WiShield
> > 1.3.0-0 mikem I'm getting UDP compile errors when compiling HeliRCRx ...
> > RCKit TestSuite compiles fine ... any help appreciated
Reply all
Reply to author
Forward
0 new messages