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

SAC port #2

Merged
merged 16 commits into from
May 6, 2020
Merged

SAC port #2

merged 16 commits into from
May 6, 2020

Conversation

MichaelD33
Copy link
Owner

See issue #1 for details on these changes.

  • Updated IMU data processing using i2cdev library
  • Adjusted loop sample rate to be compatible with IMU update frequency (100Hz)
  • Updated config.h

MichaelD33 added 6 commits April 26, 2020 13:12
This library is no longer used given the changes to IMU data processing
- Removed unnecessary variables
- Updated sample time to be compatible with 100Hz IMU update frequency
This library improves IMU performance  and utilizes the internal DMP to process sensor data
Removed unused parameters
- Stabilization mode
- Old AIO offset parameters
- DLPF
- Speed controller type
- Median filter comparisons
- Complementary filter config
- MPU6050 addresses

Re-sorted the config parameters (in terms of relevance)
@MichaelD33 MichaelD33 linked an issue Apr 26, 2020 that may be closed by this pull request
4 tasks
@MichaelD33 MichaelD33 moved this from To do to In progress in The AIO Quadcopter Flight Controller Apr 26, 2020
MichaelD33 added 7 commits May 4, 2020 18:50
ypr is actually outputting data in yrp format

removed the 45° virtual rotation from quaternion output
…g vars

- Added on-the-fly tuning abilities
- Added RX pots to adjust PID parameters OTF
- Added serial output for visualization purposes
- Fixed the motor output configuration so that the quadcopter properly responds to changes in error/setpoint
- Reduced the maximum possible rotation in order to prevent the quadcopter from flipping over

- Added configuable flight controller option (for non-AIO PCBs)
@MichaelD33
Copy link
Owner Author

Verify SAC port functionality

  • Timing
  • IMU (range ± ~85°)
  • RX (no changes)
  • PID controller
  • OTF PID tuning?

Completed May 6, 2020

@MichaelD33
Copy link
Owner Author

MichaelD33 commented May 6, 2020

  • Ensure the transmitter joystick outputs correctly correspond with changes to the motor speeds

MichaelD33 added 3 commits May 6, 2020 14:37
- Remote gimbal output is now being printed to the serial monitor from switch position 2 (this is the same channel as the IMU output)
The motors *should* now be properly configured to respond to changes in setpoint.
- Remote gimbal output is now being printed to the serial monitor from switch position 2 (this is the same channel as the IMU output)
@MichaelD33 MichaelD33 merged commit 230fbd6 into master May 6, 2020
The AIO Quadcopter Flight Controller automation moved this from In progress to Done May 6, 2020
@MichaelD33 MichaelD33 deleted the SAC_port branch May 6, 2020 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Port the relevant changes from the SingleAxisController repository
1 participant