Hi Matt, thanks for the questions, I'll immediately integrate on the webpage so it can be useful to others.
1) Pixhawk (telemetry port) -> serial to ethernet converter -> OdroixXU3. So you need a serial cable and a ethernet short cable.
2) Lubuntu OS can be downloaded dyrectly from the link. Then you have to put it on the SD Card. Speedtest-cli has a 2 step installation from terminal: sudo apt-get install python-pip then sudo pip install speedtest-cli . Finally you should install http://www.brokestream.com/udp_redirect.html. This is the minimu to run 4Gmetry.
Could you please explain the need of a serial to ethernet converter?
Probably all the single board computers do have uart pins.
All that's needed is a df13-6pin cable, cut it half, solder one half to breadboard type jumper cables and connect these to the serial (uart) pins of the board. Serial can be accessed by /dev/ttySn where n is the number of the serial port.
I'm speaking of beaglebone black in the example, but on the odroid there's the uart connection probably on the io expansion header.
Volta Robots > Wilhelm MatilainenMarch 24, 2015 at 4:41pm
Hello Wilhelm, welcome to 4Gmetry and thanks for the question. I'm just working to remove the converter. Yesterday I was discussing about this with Bernt: the point is that for TCP <-> UART is ok, but is not for UDP (or - more precisely - we didn't manage to use it for UDP, but probably it's possible). So if you have some suggestion you're super-welcome! Tnx, S.
I can not confirm anything running on Windows since I'm using Arch Linux myself.
Volta Robots > Wilhelm MatilainenMarch 25, 2015 at 12:42pm
Hi Wilhelm so your solution is Socat? http://www.dest-unreach.org/socat/doc/README @Bernt this could solve the entire architecture: no converter, both UDP & TCP. Thanks Wilhelm for your contribution!!! Have you already tested? Under what conditions (OS, physical port, SBC,...)?
Checkout my blog if it's any use: http://matilai.net/blog
There I describe how to connect the serial over network connection to qgc.
In the code snippet you can change tcp to udp.
Replies
Hi Matt,
thanks for the questions, I'll immediately integrate on the webpage so it can be useful to others.
1) Pixhawk (telemetry port) -> serial to ethernet converter -> OdroixXU3. So you need a serial cable and a ethernet short cable.
2) Lubuntu OS can be downloaded dyrectly from the link. Then you have to put it on the SD Card. Speedtest-cli has a 2 step installation from terminal: sudo apt-get install python-pip then sudo pip install speedtest-cli . Finally you should install http://www.brokestream.com/udp_redirect.html. This is the minimu to run 4Gmetry.
PLease ask here for other questions!
Could you please explain the need of a serial to ethernet converter?
Probably all the single board computers do have uart pins.
All that's needed is a df13-6pin cable, cut it half, solder one half to breadboard type jumper cables and connect these to the serial (uart) pins of the board. Serial can be accessed by /dev/ttySn where n is the number of the serial port.
I'm speaking of beaglebone black in the example, but on the odroid there's the uart connection probably on the io expansion header.
Pixhawk --- Df13-6p --- Jumper cable male/female --- Single board computer
Hello Wilhelm, welcome to 4Gmetry and thanks for the question.
I'm just working to remove the converter. Yesterday I was discussing about this with Bernt: the point is that for TCP <-> UART is ok, but is not for UDP (or - more precisely - we didn't manage to use it for UDP, but probably it's possible). So if you have some suggestion you're super-welcome!
Tnx,
S.
I now have a solution: http://matilai.net/blog/pixhawks-serial-to-udp/
This will connect the Pixhawk's serial to UDP, which can be used from QGroundControl.
Again, done with socat.
Can you confirm that this will work with mission planner and without errors?
I can not confirm anything running on Windows since I'm using Arch Linux myself.
Hi Wilhelm so your solution is Socat? http://www.dest-unreach.org/socat/doc/README
@Bernt this could solve the entire architecture: no converter, both UDP & TCP.
Thanks Wilhelm for your contribution!!! Have you already tested? Under what conditions (OS, physical port, SBC,...)?
There I describe how to connect the serial over network connection to qgc.
In the code snippet you can change tcp to udp.
Hi
I previously tested several methods of streaming at UDP , but none of the metioned syntax will work when connecting directly to GPIO TX/RX.
I tested UDP with Socat, Udp_redirect, Phyton script, ++. TCP works without any problem.
Please give me a scout if anyone finds a workaround for this.
Why does ser2net not work?