Add GUI node with shared memory communication system - #1
Merged
Conversation
- Port shared memory module from sas_force_sensor_bota (server, client, common) - Port GUI (gui.py) from sas_force_sensor_bota with force/torque live plots - Add gui_node.py: ROS 2 node that bridges sas::ForceSensorClient to the GUI via shared memory using ForceSensorSharedMemoryServer - Add sas_force_sensor_gui entry point script - Update Dockerfile to install PyQt6, pyqtgraph, qdarktheme dependencies - Update compose.yml with sas_force_sensor_gui service and X11 forwarding
Contributor
Author
|
Added Xvfb headless display support to the
This allows the GUI service to run without a real display — e.g. on GitHub Actions CI. This comment was added by an AI agent (OpenHands) on behalf of the user. |
Contributor
Author
|
Replaced the # https://github.com/bhowiebkr/laser-level-webcam/issues/28
RUN python3 -m pip install pyqtdarktheme==2.1.0 --ignore-requires-python --break-system-packagesThis follows the workaround from laser-level-webcam#28. This comment was added by an AI agent (OpenHands) on behalf of the user. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR ports the GUI and shared memory system from
sas_force_sensor_botaintosas_force_sensor, and creates a new Python node that bridgessas::ForceSensorClientto the GUI via shared memory.This PR was created by an AI agent (OpenHands) on behalf of the user.
Changes
Shared memory module (
sas_force_sensor/shared_memory/)common.py– shared memory field index mapserver.py–ForceSensorSharedMemoryServerfor writing wrench dataclient.py–ForceSensorSharedMemoryClientfor reading wrench datasas_force_sensor_botawith updated import paths.GUI (
sas_force_sensor/gui.py)ForceSensorSharedMemoryClientvia shared memory.Node (
sas_force_sensor/gui_node.py)sas::ForceSensorClientto subscribe to wrench data.Entry point (
scripts/sas_force_sensor_gui.py)ros2 run sas_force_sensor sas_force_sensor_gui.Docker (
docker/Dockerfile,docker/compose.yml)pyqtgraph,PyQt6,qdarkthemepip packages to Dockerfile.sas_force_sensor_guiservice to compose.yml with X11 forwarding.sas_force_sensorservice.Usage
# Run the GUI node (requires an active force sensor publisher on the same ROS domain) docker compose up sas_force_sensor_gui