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

Gazebo: Hydrophones and Pingers #60

Closed
CarterKreis opened this issue Feb 14, 2025 · 7 comments
Closed

Gazebo: Hydrophones and Pingers #60

CarterKreis opened this issue Feb 14, 2025 · 7 comments

Comments

@CarterKreis
Copy link
Contributor

CarterKreis commented Feb 14, 2025

Set up hyrdophones on sub and Pingers in course all in Gazebo

@CarterKreis
Copy link
Contributor Author

  • Will create plugin from scratch for Hydrophone to gather information about Pinger and find its direction
  • Check ExamplePlugin.cc in Repo for help
  • Create Hydrophones Models on sub

@lucasperez-techdev
Copy link
Contributor

This week I sadly wasn't able to come into the lab but I was still able to continue learning about ROS and Gazebo. I spent my free time watching Kevin Robotics videos to familiarize myself more with working with gazebo and ROS. On friday I spoke with Carter about working on the new Hydrophones plugin issue. Over the weekend I spent time trying to familiarize myself with creating custom plugins from scratch and how hydrophones worked. This coming week Ill be in the lab trying to collaborate on this issue further.

@CarterKreis
Copy link
Contributor Author

  • Filled out Hydrophone.cc/hh but does not run
  • Will look into how to iterate through every Gazebo component using Each() call
  • Created ROS2 message ProcessedPing.msg
  • Added Hydrophone.cc/hh and ProcessedPing.msg to Packages.xml and CMake for relative directories

@CarterKreis
Copy link
Contributor Author

  • Learned more how the Each() call works
  • The plugin is running and publishing ros messages
  • The plugin is iterating through components in the Sub9 SDF rather than the World SDF
  • By next week, the Plugin should be running and correctly pulling from the World SDF

@lucasperez-techdev
Copy link
Contributor

  • Fixed the orientation of the hydrophone on the sub9 model
  • Worked with Carter on testing the functionality of the custom plugin
  • Talked with Kieth about next steps after the hydrophone plugin is finished and integrating files for the MIL rover into mil2 repo
  • For the next week, I am going to continue working on testing the functionality of the hydrophones
  • Planning on starting to create the world for the rover that is based off of the third floor of malachowsky where the rover will be mainly tested

@CarterKreis
Copy link
Contributor Author

Busier week with schoolwork, so not as much progress as I would have hoped

  • Figured out a way for Plugin to iterate through the World SDF and not the Sub9 SDF
  • Confirmed that Plugin successfully grabs Pose for an arbitrary number of Pingers
  • Pinger Frequencies are still not being pulled from World SDF
  • Sub9 information looks like it can be grabbed from World SDF info so will have to figure that out to get Sub Pose

I am hoping to be testing the Plugin by the end of this week

@CarterKreis
Copy link
Contributor Author

Pull request was made for this issue

  • Pinger Frequencies are getting pulled from WorldSDF by using Pinger Names
  • Sub9 Position is updated on post-update() and difference vectors between pingers and sub9 are calculated
  • ROS2 msg is properly being sent and received

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

No branches or pull requests

2 participants