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

Saluki nxp93 wakeup #748

Closed
wants to merge 1,905 commits into from
Closed

Saluki nxp93 wakeup #748

wants to merge 1,905 commits into from

Conversation

jlaitine
Copy link

No description provided.

PonomarevDA and others added 30 commits July 3, 2024 13:02
Pulls cell count, min voltage and max voltage from log file but still allows for over-rides. Also added debug info to tell user what what it found in the log and what it is using

Co-authored-by: chfriedrich98 <[email protected]>
* reset position by fusion

* handle local_pos_valid for fixed wing in gnss denied

* [WIP] ekf2: setEkfGlobalOrigin respect current height reference and vertical position aiding

* global origin, also reset vertical pos without gps as ref

* fix wo gnss, that bitcraze ci passes

* revert some changes as requested

* remove duplicate reset messages

* undo unrelated whitespace changes, I'll fix it everywhere in a followup

* [SQUASH] ekf2: add vehicle_command_ack

* resetGlobalPosToExternalObservation consolidate logic

* remove gnss check from local_pos validation check

* reset when  0<accuracy<1, otherwise fuse

* replace gps param with flag

* ekf2: dead reckon time exceeded, respect ZUPT preflight if air data or optical flow expected

* subtract timeout from last inertial dead-reck, change fake pos conditions, save flash

---------

Co-authored-by: Daniel Agar <[email protected]>
Mostly to save flash, but also to improve generally.

Signed-off-by: Silvan Fuhrer <[email protected]>
* imxrt: Change PLL settings for more accurate dshot timing
* Update NuttX submodule
Breaks CLion otherwise.
* lib: add FilteredDerivative class

* AirspeedValidator: add first principle check

- filters throttle, pitch and airspeed rate, and triggers
if the airspeed rate is negative even though the vehicle
is pitching down and giving high throttle.
Check has to fail for duration defined by ASPD_FP_T_WINDOW
to trigger an airspeed failure.

* AirspeedValidator: define constants for first principle check

* FilteredDerivative: set initialised to false if sample interval is invalid

* airspeed_selector: improved comment

* increase IAS derivative filter time constant from 4 to 5

* use legacy parameter handling for FW_PSP_OFF

* handle FW_THR_MAX as well

* ROMFS/airframes: exclude some airframes for v6x and v4pro to save flash on them

---------

Signed-off-by: Silvan Fuhrer <[email protected]>
Signed-off-by: RomanBapst <[email protected]>
Co-authored-by: Silvan Fuhrer <[email protected]>
 - remove fallthrough that enables flow regardless of success
 - add appropriate start messages for each case
 - adjust flow sample gyro_rate immediately after popping from ring
   buffer
 - always update flow gyro bias (calcOptFlowBodyRateComp()) regardless
   of flow quality or magnitude
 - collapse updateOptFlow() and startFlowFusion() to avoid recomputing H
 - this is a relatively expensive call we can easily avoid with the
   right structure
 - previously we could get stuck with optical flow still technically
   active (_control_status.flags.opt_flow=true), but nothing being
updated due to excessive tilt, etc
 - increase HALG limit from 75%->90% of sensor max
 - these are set by the NED fuseVelocity() helper so also need to be set in the body frame velocity case
* estimator gps check fail flag for spoofing

* warn whenever spoofing state changes to true, use default hysteresis to completely stop fusion

* dont introduce more GPS namings, GNSS instead

* flash: exclude mantis for cuav_x7pro
Claudio-Chies and others added 26 commits August 22, 2024 14:10
… account (PX4#23566)

* vtol adjust landing setpoint

* improve comment

Co-authored-by: Silvan Fuhrer <[email protected]>

---------

Co-authored-by: Silvan Fuhrer <[email protected]>
This is similar to fake pos but is only used when the ekf has an
external information telling it that the vehicle is not changing
position. This information can then be used to keep a valid local
position even when the vehicle isn't exactly at rest.
- keeps them as local params at init
- only allow to set at init
 - default to v0.0.0 if tag isn't available
 - src/lib/px_update_git_header.py use same PX4_GIT_TAG as cmake
 - update lingering master branch references to main
…F to 40

To get some breathing space on setups with memory-intensive components (e.g. UAVCAN).

Signed-off-by: Silvan Fuhrer <[email protected]>
…ce start is changed in actuator yaml files they parameters are able to be used (PX4#23616)

Co-authored-by: Luca Scheuer <[email protected]>
The indexing was wrong for esc_status sending for ESCs 4->

Signed-off-by: Jukka Laitinen <[email protected]>
@jlaitine jlaitine force-pushed the saluki_nxp93_wakeup branch from 24c3c69 to be4d0d3 Compare August 27, 2024 13:08
@jlaitine jlaitine closed this Aug 27, 2024
@jlaitine
Copy link
Author

Oops

@jlaitine jlaitine deleted the saluki_nxp93_wakeup branch August 27, 2024 13:10
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.