ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Ardupilot Mega + Labview

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...

0 Kudos
Message 1 of 7
(6,177 Views)

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.

0 Kudos
Message 2 of 7
(4,270 Views)

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.

0 Kudos
Message 3 of 7
(4,270 Views)

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

0 Kudos
Message 4 of 7
(4,270 Views)

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.

Message 5 of 7
(4,270 Views)

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

0 Kudos
Message 6 of 7
(4,270 Views)

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.

0 Kudos
Message 7 of 7
(4,270 Views)