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

Update rm_referee and add new ui #240

Merged
merged 6 commits into from
Jul 31, 2024
Merged

Conversation

GuraMumei
Copy link
Contributor

新ui实例:

trigger_change:
- name: "visualize_state"
data:
- { config: { type: "circle", width: 2, radius: 10, start_position: [ 960, 540 ], color: "pink" } }
- { config: { type: "circle", width: 2, radius: 10, start_position: [ 900, 540 ], color: "pink" } }
- { config: { type: "circle", width: 2, radius: 10, start_position: [ 840, 540 ], color: "pink" } }

通过/visualize_state传入一个bool 数组, 顺序对应data中ui的顺序,0为红色,1为绿色。

flash:
- name: "customize_display"
data:
- { flag: 1, config: { type: "line", width: 2, color: "pink",start_position: [ 117, 456 ], end_position: [ 626, 230 ] } }
- { flag: 1, config: { type: "line", width: 3, color: "pink",start_position: [ 17, 456 ], end_position: [ 626, 230 ] } }
- { flag: 2, config: { type: "line", width: 2, color: "orange",start_position: [ 117, 456 ], end_position: [ 1245, 245 ] } }

通过/customize_display_ui传入一个uint32数据,只显示话题中数字对应flag的UI。可以有多个图形共用flag同时显示。

Copy link

netlify bot commented Jul 31, 2024

Deploy Preview for rm-control ready!

Name Link
🔨 Latest commit a829de8
🔍 Latest deploy log https://app.netlify.com/sites/rm-control/deploys/66aa5115bbcc6e0008fe14f5
😎 Deploy Preview https://deploy-preview-240--rm-control.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@d0h0s d0h0s merged commit 4bf9a58 into rm-controls:master Jul 31, 2024
11 checks passed
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.

2 participants