Content-Length: 285597 | pFad | http://github.com/Luos-io/Pyluos/pull/194/commits/65d12be717afac15bdbf47b1fe0bdabc6a0a8d02

08 RC_3.1.0 by nicolas-rabault · Pull Request #194 · Luos-io/Pyluos · GitHub
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

RC_3.1.0 #194

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Changes from 2 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ebff67b
Add brokers command line tools
nicolas-rabault Jan 9, 2024
2fd6bdf
switch to revision 3.1.0
nicolas-rabault Jan 9, 2024
a5600c2
Add a `map_custom_service` function allowing to manage custom pyluos …
nicolas-rabault Jan 26, 2024
4835292
Merge pull request #195 from Luos-io/feat/map
nicolas-rabault Jan 29, 2024
cfbb880
Improve refresh_freq calculation allowing multiple JSON per service p…
nicolas-rabault Mar 13, 2024
c7febbe
Adapt pyluos to the new Json format
nicolas-rabault Mar 22, 2024
cfe01b5
increase Serial default baudrate to 3000000 baud
nicolas-rabault Mar 22, 2024
937f7ff
Allow pyluos to receive multiple Json at once. It will be merged into…
nicolas-rabault Mar 25, 2024
9e64152
Merge pull request #197 from Luos-io/feat/refresh_freq
nicolas-rabault Jun 3, 2024
4e75582
remove pyluos limitation to send messages without receiving a gate me…
houkhouk May 30, 2024
584518b
Merge pull request #196 from houkhouk/fix/rem_pyluos_poll
nicolas-rabault Jun 19, 2024
7be2e53
fix pyluos limitation to send messages
BHAY-3DiTex Jun 19, 2024
ad423bc
modification of timeout value in websocket recv
BHAY-3DiTex Jun 20, 2024
3c5056f
Fix a missing import of time
nicolas-rabault Aug 1, 2024
111bdf8
Add torque management on servomotors
nicolas-rabault Aug 1, 2024
7b1ca02
Merge pull request #199 from Luos-io/feat/torque
nicolas-rabault Aug 14, 2024
8bb1cf0
Improve _last_update property
fleborne Nov 20, 2024
9bc12ae
Simplify code dealing with state reception
fleborne Nov 20, 2024
724eef2
Merge pull request #201 from fleborne/fix/last_update-management
nicolas-rabault Dec 3, 2024
9001272
Merge pull request #202 from fleborne/feat/improve-state-reception
nicolas-rabault Dec 3, 2024
044a1ae
Merge pull request #198 from BHAY-3DiTex/fix/polling
nicolas-rabault Dec 12, 2024
1259561
Remove sending of empty JSON to accelerate device setup
fleborne Dec 12, 2024
65d12be
Merge pull request #203 from fleborne/faster-device-setup
nicolas-rabault Dec 12, 2024
09b9974
Remove unused `test_mode` arg of Device
fleborne Feb 18, 2025
b6ce4d8
Add push_despite_empty_state to configure push_once behavior in devic…
fleborne Feb 18, 2025
f011d65
Remove push_despite_empty_state arg
fleborne Feb 18, 2025
148052d
Merge pull request #204 from fleborne/feat/push-despite-empty-state
nicolas-rabault Feb 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions pyluos/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,12 @@ def play(self):
self._pause = False

def _setup(self):
self.logger.info('Sending detection signal.')
self._send({})
time.sleep(0.01)
startTime = time.time()
retry = 0
self.logger.info(f'Sending detection signal ({retry=})')
self._send({'detection': {}})
self.logger.info('Waiting for routing table...')
startTime = time.time()
state = self._poll_once()
retry = 0
while ('routing_table' not in state):
if ('route_table' in state):
self.logger.info("Watch out the Luos revision you are using on your board is too old to work with this revision of pyluos.\n Please consider updating Luos on your boards")
Expand All @@ -162,6 +160,7 @@ def _setup(self):
if retry > 5:
# detection is not working
sys.exit("Detection failed.")
self.logger.info(f'Sending detection signal ({retry=})')
self._send({'detection': {}})
startTime = time.time()
# Save routing table data
Expand Down
Loading








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/Luos-io/Pyluos/pull/194/commits/65d12be717afac15bdbf47b1fe0bdabc6a0a8d02

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy