Hi @sindri, welcome to the forum
simplePingExample.py
is for Ping1D devices (e.g. our Ping Sonar), so it won’t work for Ping360 devices.
I’m planning to add a similar example file for the Ping360 (amongst several other improvements), but haven’t got around to it yet.
The control_auto_transmit
message is for planned functionality that is not yet available in the current Ping360 firmware. I thought we had put a guard clause in that example a while ago to only run that part if the firmware version was high enough, but it seems that is unfortunately not yet the case.
If you comment out the auto-transmit section the rest of the example should hopefully run as expected
Are you wanting to programatically control the sonar, and analyse the data live, or is the intent to view and record data (e.g. with Ping Viewer) and analyse the log files later?