Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pybricks-micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
pybricks-micropython
Commits
35ab6fa8
Commit
35ab6fa8
authored
Nov 16, 2023
by
Laurens Valk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools/virtual-hub-animator: Fix broken Python dep.
The broadcast arg has been deprecated and is now the default.
parent
932bba49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/virtual-hub-animator/data_server.py
tools/virtual-hub-animator/data_server.py
+1
-1
No files found.
tools/virtual-hub-animator/data_server.py
View file @
35ab6fa8
...
@@ -35,7 +35,7 @@ motor_angles = [0, 0, 0, 0, 0, 0]
...
@@ -35,7 +35,7 @@ motor_angles = [0, 0, 0, 0, 0, 0]
def
socket_send_data_task
():
def
socket_send_data_task
():
while
True
:
while
True
:
sio
.
sleep
(
0.04
)
sio
.
sleep
(
0.04
)
sio
.
emit
(
"hubStateData"
,
{
"data"
:
motor_angles
}
,
broadcast
=
True
)
sio
.
emit
(
"hubStateData"
,
{
"data"
:
motor_angles
})
def
server_task
():
def
server_task
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment