Gathiyo / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

Important! Order of ADC readings for gyros #272

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Arducopter latest code.

What steps will reproduce the problem?

Based on AP_ADC_ADS7844 line 8-9, John mentioned he changed the analog read 
order to GYROX, GYROY and GYROZ. But in line 33-36, the analog read order is 
GYROZ, GYROX and GYROY and this order is used in AP_IMU_Oilpan.cpp as well. 

So which order should be the correct one?

Someone please clarify this for me. Thanks!

What version of the product are you using? On what operating system?
ACM. Windows Vista.

Original issue reported on code.google.com by cheeguan...@gmail.com on 27 Oct 2011 at 2:32

GoogleCodeExporter commented 8 years ago
I don't know anything about it. Wouldn't the copter fail to fly if channels 
were switched?
Jason

Original comment by jasonshort on 28 Oct 2011 at 4:32

GoogleCodeExporter commented 8 years ago
Hi Jason,

Thank you for the prompt reply.

Yes I believe so I am still sticking with current settings. 

Sorry, but can I ask another thing about the sensor_signs? Right now signs for 
gyro and accelerometers are {1, -1, -1, 1, -1, -1} but a previous old version 
is {1 , -1, -1, -1, 1, 1}.

Are there any documents which shows the positive directions for the 3 axis 
accelerometer that is on the APM?

Original comment by cheeguan...@gmail.com on 28 Oct 2011 at 7:52

GoogleCodeExporter commented 8 years ago
Jose or Doug would be better to ask. Maybe post to the forum for Arduplane.

Original comment by jasonshort on 6 Nov 2011 at 3:46