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

Add uavcannode accel and gyro publisher #19885

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

AlexKlimaj
Copy link
Member

@AlexKlimaj AlexKlimaj commented Jul 7, 2022

This PR adds the option to publish raw IMU data from a uavcannodes that include an IMU. To turn on publication on the cannode, set CANNODE_RAWIMU to 1. On the flight controller, set UAVCAN_SUB_IMU to 1.

TODO: Verify uavcan timesync for setting the correct timestamp_sample on the message relative to the flight controllers time. vehicle_imu does not look happy with the timestamps jumping around and then lagging the FC time.

@AlexKlimaj AlexKlimaj requested a review from dagar July 7, 2022 18:18
@AlexKlimaj AlexKlimaj force-pushed the pr-dronecan-rawimu branch 2 times, most recently from 45f618c to bd6027b Compare July 7, 2022 19:34
@AlexKlimaj AlexKlimaj changed the title [WIP] Add uavcannode accel and gyro publisher Add uavcannode accel and gyro publisher Jul 7, 2022
@AlexKlimaj AlexKlimaj force-pushed the pr-dronecan-rawimu branch 4 times, most recently from 2b6d0ca to 735ccce Compare July 7, 2022 23:38
@ryanjAA
Copy link
Contributor

ryanjAA commented Jul 8, 2022

Cool. Works with ark gps?

@AlexKlimaj
Copy link
Member Author

Cool. Works with ark gps?

That's what I'm testing with :)

@AlexKlimaj
Copy link
Member Author

Rebased on main

@AlexKlimaj AlexKlimaj requested review from dakejahl and dagar and removed request for dagar October 28, 2024 20:39
@dakejahl
Copy link
Contributor

Was this tested after the rebase? Otherwise LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants