Quote from: h106frp on November 01, 2018, 09:13:20 PMGot this working to read the data on a remote PC on my LAN via wireless
edit proxy_udp
[params]
enable = 1
port = 30000
;ip = 127.0.0.1:30001; original localhost
ip = 192.168.1.20:30001 ;the IP of the client on the LAN
delay = 1
modify the line below in the original processing code
udp= new UDP(this,PORT_RX,HOST_IP);
to read
udp = new UDP (this,PORT_RX);
very cool Should be able to make an e-dash using the raspberry pi now
Hi, I am making a simrig for GPbikes and I ave the idea to potentialy lean this rig ...But for now I would like to learn a little bit UDP and everything else in order to know how to read output data from GPbikes,
I have an arduino R3 that I will use, and for now I would like to create the code in order just to see values in realtime but I do not know well arduino and code for that and I do not know UDP protocole at all, so with your helps I understood the code to read values and extract values from matrix in an arduino language but What do I need in order to test that ? Is it possible to use arduino over USB to read UDP data, DO I need wifi or ethernet absolutly to perform that ? Because if the arduino is connected over USB it is good for me because I have in mind to read data from GPbikes thanks to the arduino and send the lean angle to my motor (thanks to arduino too and shields) but for now I just want to test if I can extract porper values from GPbikes....I am a little bit lost with that.
SO if someone can give a little tuto about what do I need to do to connect my arduino to GPbikes UDP data stream and be able to see it than I will be able to use those values and mix them in order to have a right variable for my rig.
Thakns a lot for your help.