mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-29 19:17:28 +08:00
* Add drag to gazebo ardrone model Simple linear drag with guessed coefficient, not super accurate but better than no drag at all... * Fix #2090 Set accelerometer sensor bounds to correct values.
This commit is contained in:
committed by
Gautier Hattenberger
parent
93a9608c3b
commit
5a985ef691
@@ -4,6 +4,11 @@
|
|||||||
<pose>0 0 .1 0 0 0</pose>
|
<pose>0 0 .1 0 0 0</pose>
|
||||||
|
|
||||||
<link name="chassis">
|
<link name="chassis">
|
||||||
|
<velocity_decay>
|
||||||
|
<linear>0.001</linear>
|
||||||
|
</velocity_decay>
|
||||||
|
|
||||||
|
|
||||||
<inertial><!-- Taken from Paparazzi's ARDrone model for JSBsim -->
|
<inertial><!-- Taken from Paparazzi's ARDrone model for JSBsim -->
|
||||||
<mass>0.4</mass>
|
<mass>0.4</mass>
|
||||||
<inertia>
|
<inertia>
|
||||||
|
|||||||
@@ -34,8 +34,8 @@
|
|||||||
* Accelerometer
|
* Accelerometer
|
||||||
*/
|
*/
|
||||||
/* navdata has 12 bit resolution */
|
/* navdata has 12 bit resolution */
|
||||||
#define NPS_ACCEL_MIN -2047
|
#define NPS_ACCEL_MIN 0
|
||||||
#define NPS_ACCEL_MAX 2047
|
#define NPS_ACCEL_MAX 4095
|
||||||
/* ms-2 */
|
/* ms-2 */
|
||||||
/* aka 2^10/ACCEL_X_SENS */
|
/* aka 2^10/ACCEL_X_SENS */
|
||||||
#define NPS_ACCEL_SENSITIVITY_XX ACCEL_BFP_OF_REAL(1./IMU_ACCEL_X_SENS)
|
#define NPS_ACCEL_SENSITIVITY_XX ACCEL_BFP_OF_REAL(1./IMU_ACCEL_X_SENS)
|
||||||
|
|||||||
Reference in New Issue
Block a user