![]() |
accelerometer return acceleration 0
Today I tried to program the "FRC GYRO & ACCEL" we got on FIRST CHOICE. It is a On-Board accelerometer and gyro. the gyro work fine but the accelerometer always returns me 0 XYZ. The robot drove about 5m and noting changes. I used the ADXL362 class at the wpilib and tried all the functions to read the acceloration. Also tried to chage the sesor to another one. Help please.
|
Re: accelerometer return acceleration 0
Post your code
|
Re: accelerometer return acceleration 0
Quote:
Code:
public class Robot extends IterativeRobot { |
| All times are GMT -5. The time now is 09:46. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi