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

Dead reckoning standalone node. #37

Merged
merged 2 commits into from
Mar 24, 2021
Merged

Conversation

bsb808
Copy link
Contributor

@bsb808 bsb808 commented Mar 19, 2021

Adds a standalone ROS node to emulate the dead reckoning of the for a glider. Implements the algorithm and addresses #3

Theory of Operation

  • Subscribes to GPS, IMU and pressure sensor publications
  • Publishes a lat/lon estimate using a NavSatFix message
  • When there is a GPS fix, just reports that fix (no filtering)
  • When there is no GPS fix, uses the dead reckoning algo. from Simulate glider dead reckoning #3

Initialization and usage parameters are illustrated in the deadreckon.launch file.

How to test/demo

  1. Start simulation: roslaunch glider_hybrid_whoi_gazebo start_demo_kinematics.launch
  2. Start the node: roslaunch glider_deadreckoning deadreckon.launch

The current simulation example doesn't seem to have a pressure sensor, so the dead reckoning isn't exercises (the velocities are all zero. Would need to have a pressure/depth sensor input to verify the algorithm.

Copy link
Collaborator

@woensug-choi woensug-choi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed dead reckoning Lat/Lon published with /deadreckon topic name.
Added pressure sensor and tested with test python scripts. The reports from hector_gps and dead reckoning calculations are pretty much identical (identically increment as the glider moves without any noise included)

@woensug-choi woensug-choi merged commit bf4616d into master Mar 24, 2021
@woensug-choi woensug-choi deleted the feature/bsb/deadreckoning branch July 30, 2021 04:58
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