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