Sending data for changing parameters through the visualizer ui#785
Sending data for changing parameters through the visualizer ui#785raghumanimehta merged 11 commits intomainfrom
Conversation
|
Something to note is that adjusting the wind direction parameter doesn't change the arrow angle in the wind speed/direction visualization in the bottom right of the visualizer. Should I investigate that? |
raghumanimehta
left a comment
There was a problem hiding this comment.
Good work!
There are some inconsistencies, please iron them out!
There was a problem hiding this comment.
Pull request overview
Adds inline true-wind controls to the Dash visualizer so users can update mock wind parameters live (by rewriting wind_params.yaml and invoking the existing wind_params.sh loader) without using a separate dashboard/terminal workflow.
Changes:
- Added Dash UI inputs + an “Apply Wind” button to set true wind direction/speed from the visualizer page.
- Implemented YAML rewrite logic for
mock_nodes/wind_params.yamland a subprocess call to runmock_nodes/wind_params.sh. - Added a Dash callback to validate inputs and apply the updated parameters.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 6 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
raghumanimehta
left a comment
There was a problem hiding this comment.
- Add the name of the text fields.
- Remove "Applied wind ... " message after sometime.
- Can you also move the fields to the bottom left cornere and move the main plot a bit above for cleanlineess. I will be adding more controls there soon.
Thanks!
…text disappears after 5 seconds.
Issue Link: #776
Summary
Adds inline wind controls to the existing visualizer UI, allowing true wind direction and speed to be adjusted live without launching a separate dashboard.
Details
Embedded numeric inputs for true wind direction and speed directly into the visualizer
Updates wind_params.yaml and applies changes via the existing script
Keeps all changes contained to visualizer.py