Skip to content
Snippets Groups Projects
Commit fa950a73 authored by mirkix's avatar mirkix Committed by Andrew Tridgell
Browse files

AP_InertialSensor: add support for BBBMINI, simple ArduPilot DIY Cape for the BeagleBone Black

parent 00175807
No related branches found
No related tags found
No related merge requests found
...@@ -288,6 +288,9 @@ bool AP_InertialSensor_MPU9250::update( void ) ...@@ -288,6 +288,9 @@ bool AP_InertialSensor_MPU9250::update( void )
// way up, and PWM pins on NavIO are at the back of the aircraft // way up, and PWM pins on NavIO are at the back of the aircraft
accel.rotate(ROTATION_ROLL_180_YAW_90); accel.rotate(ROTATION_ROLL_180_YAW_90);
gyro.rotate(ROTATION_ROLL_180_YAW_90); gyro.rotate(ROTATION_ROLL_180_YAW_90);
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BBBMINI
accel.rotate(ROTATION_ROLL_180);
gyro.rotate(ROTATION_ROLL_180);
#endif #endif
_rotate_and_offset_gyro(_gyro_instance, gyro); _rotate_and_offset_gyro(_gyro_instance, gyro);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment