08-31-2006 02:42 PM
09-02-2006 10:45 PM
09-26-2007 08:40 PM
Hi Jason,
I blinked and a year has passed. We are running the NXT course again this Fall semester and I am trolling the LabVIEW Fans of LEGO board again.
Still no success in taking this board out of Beta? =]
Last year we used the NXT toolkit and direct commands to make an adaptive cruise control system.
This year the project is an NXT Segway using the Hichtechnic 3-Axis acceleration/Tilt sensor. I don't remember college being this fun when I was in school...
-Bill =]
10-16-2007 04:21 PM
10-16-2007 08:19 PM
Hi PTP...
It is our aim to use the HiTechnique Accelerometer as a Level sensor... an alternative to the Gyro. After looking at the specs for the Gyro, it only returns rotation around a single axis while the Accelerometer returns pitch, roll and yaw.
Looking at the light-sensor solutions on Youtube, it is my guess that the light sensor simply provides a null point around which to set the balance. Too much lean forward increases light intensity and too much lean backward decreases intensity.
Rather than play with the NXT-G software, we are using LabVIEW and the Fantom.dll driver to talk to the NXT via bluetooth. We used this solution to "balance" the velocity of the wheels in an adaptive cruise control system using a Fuzzy Logic Controller. This semester we have designed a two-wheel "segway" and are using the Fuzzy Logic Controller to maintain a null pitch value from the Accelerometer.
We are also using LabVIEW and our LabVIEW-based Fuzzy Logic Controller to create a training set to optimize a Fuzzy Neural Network to achieve the same segway behaviour. Sort of standard, introductory stuff, but when it is deployed to the NXT bots, it makes it pretty fun...
-Bill =]
10-17-2007 03:15 PM
12-23-2008 11:41 AM
I've been trying to get a LabVIEW vi to read data from the accelerometer. It sounds like you already wrote the code. Please share.