Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added KroozSD Big Rotorcraft Edition IMU driver #586

Closed
wants to merge 2 commits into from

Conversation

softsr
Copy link
Contributor

@softsr softsr commented Nov 11, 2013

Added KroozSD Big Rotorcraft Edition IMU driver with corresponding airframe setup example.

#include "subsystems/datalink/downlink.h"
#include "mcu_periph/sys_time.h"

#ifndef DOWNLINK_DEVICE
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed anymore...

@flixr
Copy link
Member

flixr commented Nov 12, 2013

What are the USE_RC_FP_BLOCK_SWITCHING and USE_LOW_BAT_AUTO_MODE_SWITCH defines?
Also it might make sense to just remove the nps target (and corresponding section) as long as there is no hexa/octo jsbsim model for it...
TRIM_A|E|R are obsolete (replaced by the roll/pitch/yaw equivalents).

In imu_krooz_memsic.[ch]: please fix the doxygen @file path and the include guard to match the actual file names.

@flixr
Copy link
Member

flixr commented Nov 12, 2013

Also please break overly long lines...
And should AHRS_MAG_CORRECT_FREQUENCY ?= 75 be added to the krooz_sd_memsic makefile as well?

imu.accel_unscaled.y = imu_krooz.accel_filtered.y;
imu_krooz.accel_sum.y = 0;
imu_krooz.meas_nb_y = 0;
imu_krooz.acc_valid = TRUE;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to me that acc_valid should only be set once all 3 axes are read....

@flixr flixr closed this in 8a782ca Nov 13, 2013
@flixr flixr mentioned this pull request Mar 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants