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

Report full attitude, fix lat/lon bug, report attitude even if no gps fix #264

Merged
merged 3 commits into from
Sep 29, 2023

Conversation

abhaybd
Copy link
Member

@abhaybd abhaybd commented Aug 29, 2023

This PR adds readIMU() to the world interface, which allows reading the full attitude. It also includes some refactoring, since readIMUHeading() is now obviously a subset of readIMU().

Also includes a bugfix where lat was repeated twice instead of lat and lon.

src/ardupilot/ArduPilotInterface.cpp Outdated Show resolved Hide resolved
src/world_interface/simulator_interface.cpp Outdated Show resolved Hide resolved
src/world_interface/noop_world.cpp Outdated Show resolved Hide resolved
src/network/MissionControlProtocol.cpp Outdated Show resolved Hide resolved
@huttongrabiel
Copy link
Contributor

Core code looks good! Everything that stuck out to me was just nitpicky things that you can choose to fix or not. I'm happy to approve as is.

src/utils/core.h Show resolved Hide resolved
@huttongrabiel
Copy link
Contributor

Looks good. One minor typo in comment

@abhaybd
Copy link
Member Author

abhaybd commented Sep 7, 2023

I'll hold off on merging this until we just verify it works fine on the robot.

@abhaybd
Copy link
Member Author

abhaybd commented Sep 29, 2023

Confirm that this works in sim!

@abhaybd abhaybd merged commit 6255cd0 into master Sep 29, 2023
3 checks passed
@abhaybd abhaybd deleted the fix-rover-telem branch September 29, 2023 01:46
abhaybd added a commit that referenced this pull request Sep 29, 2023
… fix (#264)

* Report full attitude, fix lat/lon bug, report attitude even if no gps fix

* Address comments
abhaybd added a commit that referenced this pull request Oct 10, 2023
* Implement watchdog

* Use watchdog in MCP

* Address comments

* Update camera configs (#263)

* Update camera configs

* Add comment

* Report full attitude, fix lat/lon bug, report attitude even if no gps fix (#264)

* Report full attitude, fix lat/lon bug, report attitude even if no gps fix

* Address comments

* Format code

* Address comments
AyushKulk pushed a commit that referenced this pull request Oct 31, 2023
* Implement watchdog

* Use watchdog in MCP

* Address comments

* Update camera configs (#263)

* Update camera configs

* Add comment

* Report full attitude, fix lat/lon bug, report attitude even if no gps fix (#264)

* Report full attitude, fix lat/lon bug, report attitude even if no gps fix

* Address comments

* Format code

* Address comments
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.

2 participants