We're trying to use a panda-board as a mediator between the flight controller and the mission planner. Where we send the bytes read on the serial port to a TCP server running on a linux machine, and the mission planner connects to this server.
But, the problem is that it fails in the connection, and outputs an exception. Has anyone tried forwarding mavlink packets?
Thanks
Tags: TCP
i need more information.
so long as you have 2 way comms, it will work.
Permalink Reply by menna.seyam on May 29, 2012 at 5:03am We were able to solve the problem of establishing a connection, but the sensors data are not available in the flight data tab.
Although when using the CLI terminal tab it works perfectly and tested the readings of imu, sonar and optical flow.
We use qextserialport to read directly from the flight controller, whenever readyRead signal is fired we forward the bytes read to a TCP server to which the mission planner is connected.
Are we supposed to wait for certain number of bytes to be read before forwarding packet?
so long as there are no large delays it should be fine. check the connection stats ni the planner for lost packets
Permalink Reply by menna.seyam on May 29, 2012 at 9:44am After checking the stats in the planner, I found out that the issue was with me wrongly writing an extra null terminating character to the string mavlink message sent from mission planner to the flight controller.
Thanks
Permalink Reply by Dan Ho on February 5, 2013 at 11:00pm Hi Michael,
What documentation exists that would help me to connect another processor to APM 1 via UART, or other serial bus, and be able to display the data via Mission Planner? Does Mission Planner have a simple way to label and display additional data?
Thanks, Dan
Dan, depening on what you want to do, most people just override an existing item they dont use.
Permalink Reply by Dan Ho on February 7, 2013 at 8:27pm And to override an existing item, I need to learn how to use Mavlink commands - is that right?
Permalink Reply by Steve Berl on November 5, 2012 at 1:02pm Hi,
I'm doing some thing similar, but with a Beagleboard. I was hoping to use UDP instead of TCP over the Wifi link between the Beagleboard (onboard the copter) and the ground station.
Any chance I could get a look at your forwarding code?
Permalink Reply by Philou Max on May 11, 2013 at 10:36am hello,
I try to make a bridge between my flight controller using megapirate ng and an android phone with the ioio board for android.
I have a communication in uart between the two board and I would like tranfer mavlink packet from uart to IP (3G).
Do you have code or tricks to implements forwarding mavlink packets ?
Congratulations,
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.684 members
4 members
1291 members
110 members
184 members
© 2013 Created by Chris Anderson.
Powered by
