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

[WIP] introduce new vehicle_imu message #9756

Closed
wants to merge 7 commits into from
Closed

[WIP] introduce new vehicle_imu message #9756

wants to merge 7 commits into from

Conversation

dagar
Copy link
Member

@dagar dagar commented Jun 24, 2018

This PR introduces a new simple message vehicle_imu to serve as a replacement for sensor_combined in the sensors pipeline.

vehicle_imu

uint16 delta_angle_dt
float32[3] delta_angle

uint16 delta_velocity_dt
float32[3] delta_velocity

This message is kept as small as possible to facilitate logging without dropouts for EKF replay with older NuttX based hardware. Without any loss of functionality this saves 8 bytes per message, or 2 kB/s @ 250 Hz (about 5-7% of the default logger data).

The current sensor_combined message is used pervasively throughout the system, so I'd like to get consensus on the message structure and general direction, then gradually remove sensor_combined.

EKF replay compatibility is the main blocker for merging this immediately.

@dagar dagar requested review from priseborough and mhkabir June 24, 2018 18:11
@dagar dagar force-pushed the pr-vehicle_imu branch 4 times, most recently from df67300 to 17e5f31 Compare June 24, 2018 20:16
@dagar
Copy link
Member Author

dagar commented Jun 24, 2018

This PR has uncovered a few legitimate bugs with EKF (and commander) validity flags and SITL simulator sensors.

@dagar dagar force-pushed the pr-vehicle_imu branch 3 times, most recently from 481a06a to 163311f Compare June 25, 2018 01:07
@dagar dagar force-pushed the pr-vehicle_imu branch 2 times, most recently from 1d96413 to 6a75568 Compare June 25, 2018 05:09
@stale
Copy link

stale bot commented Jan 20, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@mcsauder
Copy link
Contributor

@dagar, I can deconflict the files in this PR for you if that helps you advance it. Give me a thumbs up if you'd like me to proceed.

dagar pushed a commit that referenced this pull request Oct 2, 2019
… from MulticopterLandDetector::_get_maybe_landed_state(). (#13072)

PR #12681 added a check to the MulticopterLandDetector::_get_maybe_landed_state() method for a valid vehicle_attitude.timstamp value to finish work in PR #9756. It was discovered that the addition of that check leaves it possible to fly in acro mode without a valid attitude and auto-disarm can engage, allowing the multicopter to fall out of the sky.
@stale
Copy link

stale bot commented Oct 13, 2019

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale label Oct 13, 2019
@mcsauder
Copy link
Contributor

Hi @dagar, I have the remaining primary work from this PR captured here, and the incidental work captured here.

Once/if PR #11874 is able to be merged I'll submit a subsequent PR to finish out the remaining work for the vehicle_imu message. In the meantime, you can wait for that PR or close this one out if you like! Let me know if you need anything from me in the meantime.

-Mark

@stale stale bot removed the stale label Oct 13, 2019
mcsauder added a commit to mcsauder/PX4-Autopilot that referenced this pull request Oct 14, 2019
Consolidate _update_params() methods for improved inheritance from the LandDetector base class.
Move common uORB::Subscriptions to the base class for inheritance.
Deprecate redundant override methods.
MaEtUgR pushed a commit that referenced this pull request Oct 14, 2019
Consolidate _update_params() methods for improved inheritance from the LandDetector base class.
Move common uORB::Subscriptions to the base class for inheritance.
Deprecate redundant override methods.
@stale
Copy link

stale bot commented Jan 11, 2020

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale label Jan 11, 2020
@dagar dagar closed this Jan 12, 2020
@LorenzMeier LorenzMeier deleted the pr-vehicle_imu branch January 18, 2021 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants