05-05-2012 03:13 PM
Hi,
I'm trying to communicate with an ArduPilot Mega (http://code.google.com/p/ardupilot-mega/) through LabVIEW and have been having issues with it. I loaded the I/O sketch on the Arduino and can read raw data from it (reading the analog pins will give me a stream of numbers), but what I really need to do is read the roll, pitch, and yaw of the board. Right now, I'm not even sure how to read any data from the gyros so I was wondering if anyone's attempted to work with an ArduPilot Mega in LabView? If you'd have any suggestions or input that might be helpful, I'd really appreciate it!
Thanks!
Additionally, I found a LabView Ground Control Station for the ArduPilot Mega (http://code.google.com/p/ardupilot/downloads/detail?name=GroundStation_Beta2.zip&can=2&q=) and have been looking at their block diagram to try to learn how they were able to read the roll/pitch/yaw, but I'm still working on this...
05-05-2012 03:14 PM
I forgot to mention that I also have the IMU shield attached to the ArduPilot Mega. The IMU has the x, y, and z gyros on it, which are what I'm trying to work with.
05-08-2012 03:33 AM
All the LabVIEW code does is parse the text that is retrieved from the serial port. The string from the serial port looks something like this:
!!!LAT:123,LON:123,ALT:132,etc.,***+++RLL:132,PCH:123,etc.,***
The number between the colon and comma is the value of the parameter denoted by the three letter identifier.
RLL is Roll
PCH is Pitch
Note: I have no experience with the specific system in question but all the info was obtained from the LabVIEW code.
02-15-2015 05:49 PM
Hi
i'm working in the same projet to read data(x,y,z and yaw,pitch and roll) from arudpilot by using labview,i use interface toolkit with arduino,and the bord worked,but when i want to read data i have a probelm,if somebody can give help, and thanks
02-15-2015 08:07 PM
Based solely on my previous post almost 3 years ago, that system communicates directly via serial communication and cannot be used with LIFA or LINX.
02-16-2015 05:03 PM
thanks Nathan_B for your help,i reloded the apm flash in the bord,just for your previous post i search for it but i can't find,kindly if you can guide me and tank you a lot
02-16-2015 05:54 PM
Unfortunately, I don't know anything more than my post 3 years ago at this point so I won't be able to help you for this.