Skip to content

Dev/better UI#113

Merged
P3pitosangria merged 36 commits into
mainfrom
dev/betterUI
Apr 16, 2026
Merged

Dev/better UI#113
P3pitosangria merged 36 commits into
mainfrom
dev/betterUI

Conversation

@P3pitosangria
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the teleop + message layer to support additional UI-driven state (tail angle + per-side “height” scaling), and reworks the GUI to present a consolidated “Dashboard” view with improved labels/formatting. It also includes firmware-side serial/loop adjustments to match the new control conventions.

Changes:

  • Extend ServoAngles with tail_angle, publish it from teleop, and display it in the GUI debug widget manager.
  • Rework GUI tabs to a Dashboard / Controller / Serial layout and update UI text/formatting.
  • Adjust microcontroller loop/serial handling (including a vertical-angle sign transform during command decode).

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
scorpius_teleop/scorpius_teleop/teleop_node.py Adds tail + height control logic, changes movement constants/rates, publishes tail_angle.
scorpius_teleop/scorpius_teleop/HexapodAngles.py Updates ServoAngles message population helper signature.
scorpius_micro/src/main.cpp Calls updatePosition() immediately after processing a COMMAND.
scorpius_micro/src/comm.cpp Changes how vertical angles are decoded from COMMAND packets (now negated).
scorpius_micro/include/comm.h Minor header tweak/commented alternate init signature.
scorpius_main/msg/ServoAngles.msg Adds float32 tail_angle.
scorpius_gui/ui/DebugWidget.ui Updates label text (“Patte” → “Paw”, simplified axis labels).
scorpius_gui/src/gui_window.hpp Updates tab enum ordering/removes debug tab members.
scorpius_gui/src/gui_window.cpp Removes Debug tab, adds Dashboard tab behavior and background styling updates.
scorpius_gui/src/debug_widget/debug_widget_manager.hpp Adds tail signal/slot and tail label member.
scorpius_gui/src/debug_widget/debug_widget_manager.cpp Displays tail angle, adjusts step formatting/layout.
scorpius_gui/src/debug_widget/debug_widget.cpp Updates displayed strings and degree formatting.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scorpius_teleop/scorpius_teleop/teleop_node.py Outdated
Comment thread scorpius_teleop/scorpius_teleop/teleop_node.py Outdated
Comment thread scorpius_gui/src/debug_widget/debug_widget_manager.cpp Outdated
Comment thread scorpius_gui/src/debug_widget/debug_widget_manager.hpp Outdated
Comment thread scorpius_micro/src/comm.cpp Outdated
# Conflicts:
#	scorpius_teleop/scorpius_teleop/teleop_node.py
Copy link
Copy Markdown
Collaborator

@Charles-robot Charles-robot left a comment

Choose a reason for hiding this comment

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

Good work

Comment thread scorpius_gui/src/debug_widget/debug_widget_manager.hpp Outdated
Comment thread scorpius_gui/src/debug_widget/debug_widget_manager.hpp Outdated
Comment thread scorpius_micro/include/comm.h Outdated
Comment thread scorpius_micro/src/comm.cpp Outdated
Comment thread scorpius_micro/src/comm.cpp Outdated
Comment thread scorpius_micro/src/comm.cpp Outdated
Comment thread scorpius_micro/src/main.cpp Outdated
@P3pitosangria P3pitosangria merged commit b29de2c into main Apr 16, 2026
2 checks passed
@P3pitosangria P3pitosangria deleted the dev/betterUI branch April 16, 2026 19:30
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.

5 participants