ping-python
ping-python copied to clipboard
Python scripts and examples for the Ping sonar.
Would help with #122, and would also better enable data processing capabilities. Should probably be implemented as a `water.py` module, with a helper for estimating salinity as per [here](https://bluerobotics.com/learn/speed-of-sound-in-water-calculator/#salinity-estimation). Ideally...
Ping Viewer provides the only existing storage format for Ping devices, and the decoding and encoding examples there are useful for anyone wanting to do data processing rather than device...
Details discussed in a forum post: > [@[EliotBR](https://discuss.bluerobotics.com/t/ping-sonar-range-setting-and-the-angle-definition/11686/2)] >> [@[yuki](https://discuss.bluerobotics.com/t/ping-sonar-range-setting-and-the-angle-definition/11686)] >> Can an effective range be set up in [ping360.py](https://github.com/bluerobotics/ping-python/blob/deployment/brping/ping360.py)? > > The range per sample is determined by the...
We should add linters on our github action with pylint, black, isort and etc
Right now, the message ids must be imported individually. They should be members of the PingMessage class so all that is needed is an `import PingMessage`
We should have some programming examples for ping360, and update our readme etc.
`control_transducer` message [recommends a timeout of 4s](https://docs.bluerobotics.com/ping-protocol/pingmessage-ping360/#2601-transducer), but that's the absolute worst case. Some logical considerations are outlined in [this forum post](https://discuss.bluerobotics.com/t/ping360-sonar-stops-scanning/11091/6) as to timeout factors that are state-dependent, and...
wait_message returns an object, you can access the item via: `message.data` get_message returns an dict, you can only access the item via : `message['data']` This results in a weird and...
Is there any ping360 example ? or is it possible to get/find a more detailed documentation ? How would one interoperate the raw data stream from it ?