Quote:
Originally Posted by Jonathan L.
We are looking at using the navX displacement values for automode.
We are communicating with it via SPI, and receiving yaw, pitch, roll etc. We can reset the yaw. However, I can not find a function to reset the displacement. Is there one?
Do you have any other tips for using displacement? I may have other questions moving forward.
|
Quote:
Originally Posted by euhlmann
In C++ there is a ResetDisplacement function, so I'm surprised it's not in labview. I guess you'll have to define your own offset variables and subtract those from the values.
The only other thing I would say is not to rely on it too much. Since it works from the accelerometer it may be inaccurate, especially if your robot shakes around (eg going over the rough terrain, rock wall, etc), and it will get more and more inaccurate over time (like yaw, hence the reset functions for both in C++).
Definitely don't use it as the only metric for your position. Use rangefinders or image processing to confirm it.
|
My bad, I missed adding those reset commands, oops

. Check the
Latest Release, I've just added those functions. Thanks for catching that.