Hello, I would like to know what is the meaning of mode in control_transducer and transmitAngle. I notice that in the documents of Ping Protocol, mode means operation mode which is 1 for Ping360. However, in the github, I find that transmitAngle still set the mode as 0. If the mode is set 0, what will happen? Here is the link ping-python/brping/ping360.py at deployment · bluerobotics/ping-python · GitHub and the function is located at line 145 and 262.
Hi @Enigma2021,
As far as I’m aware the mode parameter is there in case of future expansion, where the sensor may operate in different modes (or to support additional devices that have similar functionalities but different implementations). At the moment it’s just ignored, which is likely why we haven’t previously noticed that the Python library doesn’t fully match the protocol specification.
Thanks a lot!