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

python publisher for sdgps solution to hydrophone pings #1293

Merged
merged 3 commits into from
Oct 28, 2024
Merged

Conversation

alexoj46
Copy link
Contributor

Description

This PR creates a bash script pipeline for posting the sdgps ping solution message over TCP (fakeping_pipeline.sh creates a fake ping for testing, and pipeline.sh receives real hydrophone pings). Then, when running the python node ping_publisher.py, it will accept those TCP messages and publish them to the ROS node /ping for future use. These changes are part of the ROS package mil_passive_sonar.

Screenshot or Video

Screenshot 2024-10-19 at 8 11 05 PM Each panel started in order: Bottom: Debug messages after running "rosrun mil_passive_sonar fakeping_pipeline.sh" Upper left: Debug messages after running "rosrun mil_passive_sonar ping_publisher.py" Upper right: Desired result of running "rostopic echo /ping"

Related Issues

- Closes #1288

Testing

As shown in the image above, open three terminal windows (in tmux for ease of access). In one, run "rosrun mil_passive_sonar fakeping_pipeline.sh". In the next, run "rosrun mil_passive_sonar ping_publisher.py". In the final, use "rostopic echo /ping" to see the published ROS messages in the topic /ping.

I expect pipeline.sh to behave the same in place of fakeping_pipeline.sh, and intend to test with the boat at tomorrow's session.

About This PR

  • I have updated documentation related to this change so that future members are aware of the changes I've made.

Copy link
Member

@cbrxyz cbrxyz left a comment

Choose a reason for hiding this comment

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

Great job, alex!! Thank you for all your help! :)

@uf-mil-bot
Copy link
Collaborator

uf-mil-bot commented Oct 26, 2024

Hola, your friendly InvestiGator bot here with another message!

Because this PR was closed/merged, I'm going to remove the docs preview for now.

Have a great day! Go gators! 🐊

@alexoj46
Copy link
Contributor Author

This week, I made and committed the requested changes to my PR above, and cleaned up some error handling for the hydrophone publisher. I also attended today's testing session.

@cbrxyz
Copy link
Member

cbrxyz commented Oct 28, 2024

Rebased to remove the broken pre-commit.ci check (#1298)

Copy link
Member

@cbrxyz cbrxyz left a comment

Choose a reason for hiding this comment

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

Thanks Alex!

@cbrxyz cbrxyz merged commit 9d91aa6 into master Oct 28, 2024
5 checks passed
@cbrxyz cbrxyz deleted the alexbranch branch October 28, 2024 03:02
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.

Develop Python interface to sdgps robosub-ping-solver
3 participants