quaternion w can ce negative, causing problem with unit quaternion
reconstruction. Send inverted quaternion in negative-w case (q and -q
are identical rotations)
* increasing number of msp ports
* Adding custom define and bumping to 6 ports
* reverting msp ports to allow to be bumped at build time
* Update src/main/msp/msp_serial.h
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* reset src/config
---------
Co-authored-by: nerdCopter <56646290+nerdCopter@users.noreply.github.com>
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* consistent autopilot parameter names
- add colons after each blackbox header line
- change alt_hold_throttle_response to alt_hold_climb_rate
- don't use cfg abbreviation for apConfig() because it is harder to search
* enforce semicolon with do... while (0)
* don't abbreviate autopilotConfig to apConfig
* remove semicolon after break to enforce semicolon at input line ending
* explanatory message
* fix copy and paste errors
* restore local cfg alias in place of autopilotConfig()
* struct name formatting as requested by blckmn
Co-Authored-By: Jay Blackman <blckmn@users.noreply.github.com>
* underscore the CLI names, fix prev commit
Co-Authored-By: Jay Blackman <blckmn@users.noreply.github.com>
* Update src/main/fc/parameter_names.h
* Update src/main/fc/parameter_names.h
---------
Co-authored-by: Jay Blackman <blckmn@users.noreply.github.com>
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Fix PG ID
* Fix corruption in MSP_SET_SENSOR_CONFIG
* No need to specify ammount of bytes remaining
* Update after review from @ledvinap
* Remove unused PG_BETAFLIGHT_END
* fix compilation without ACC
- compilatiopn may fail with cryptic message when no ACC is
selected (unused variable `dev`). Mark dev as unused
- MPU6500 is handled differently than all other accs (it is only
driver that adds case labels)
- also make dev UNUSED for gyro
* Update src/main/sensors/acceleration_init.c
---------
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Remove redundant SITL ioPortDef_s array definition
* Minor cleanup of some logic where SIMULATOR is in ./src/main
* Updated based on feedback from @ledvinap
* Reducing scope as per @ledvinap
* Fix unit test
* Removing serial port avoidance in totality (unused).
TODO: Remove PWM/PPM radio inputs in another PR.
* Filter comment line while try to get SYSTEM_HSE_MHZ value.
* use sed to find correct SYSTEM_HSE_MHZ
* get TARGET EXST_ADJUST_VMA value through sed and remove GYRO_DEFINE
* improve get FC_VMA_ADDRESS regex to fit more condition
* Update mag_declination range in settings.c
* Update src/main/cli/settings.c
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
---------
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* h7: enable ports H and I
* Update src/platform/STM32/target/STM32H743/target.h
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
---------
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>