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

feat: added simple GUI to visualize AUV position and internal status #496

Merged
merged 12 commits into from
Nov 4, 2024

Conversation

Hallfred
Copy link
Contributor

@Hallfred Hallfred commented Nov 3, 2024

image

@Hallfred Hallfred added the AUV label Nov 3, 2024
@Hallfred Hallfred self-assigned this Nov 3, 2024
Copy link
Contributor

@Andeshog Andeshog left a comment

Choose a reason for hiding this comment

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

Good job, I think this is a good starting point for the GUI. We will come back to it next semester when we have more stuff to show in it.

super().__init__("auv_gui_node")

# Subscriber to the /nucleus/odom topic
self.subscription = self.create_subscription(Odometry, '/nucleus/odom', self.odom_callback, 10)
Copy link
Contributor

Choose a reason for hiding this comment

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

Add the topic names to a yaml config file, such that it is easy to change (we will have to change in the future)

Comment on lines 87 to 90
self.internal_status_subscriber = self.create_subscription(Float32, "/auv/power_sense_module/current", self.current_callback, 5)
self.internal_status_subscriber = self.create_subscription(Float32, "/auv/power_sense_module/voltage", self.voltage_callback, 5)
self.internal_status_subscriber = self.create_subscription(Float32, "/auv/temperature", self.temperature_callback, 5)
self.internal_status_subscriber = self.create_subscription(Float32, "/auv/pressure", self.pressure_callback, 5)
Copy link
Contributor

Choose a reason for hiding this comment

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

same here, put them also in the config file

mission/gui_auv/auv_gui/auv_gui.py Outdated Show resolved Hide resolved
mission/gui_auv/auv_gui/auv_gui.py Outdated Show resolved Hide resolved
Copy link
Contributor

@Andeshog Andeshog left a comment

Choose a reason for hiding this comment

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

looks good for now

@Andeshog Andeshog merged commit 4d92291 into develop Nov 4, 2024
7 checks passed
@Andeshog Andeshog deleted the 485-task-auv-gui branch November 4, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants