You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am also having issues getting data from the Ping360.
I'm not sure if I am "starting the sample" correctly. Should I be using: ping.control_auto_transmit(start_angle, stop_angle, num_steps, delay)
OR, call this method in a loop like the example: ping.transmitAngle(angle) (or maybe both? there aren't many comments in the ping360.py example and It's difficult to get visibility into what is going on behind the scenes.)
To retrieve the data I have tried the following two methods: ping.wait_message([definitions.PING360_DEVICE_DATA]) ping.get_device_data()
the wait_message() method is returning None every time
the get_device_data() is returning something that looks like: {'mode': 0, 'gain_setting': 0, 'angle': 398, 'transmit_duration': 32, 'sample_period': 80, 'transmit_frequency': 800, 'number_of_samples': 200, 'data': bytearray(b'')}
Any ideas? I don't have the version I'm using (I usually print brping._version__ but that seems to be missing.)
If there is an older version of ping-protocol that has the Ping360 portion working could you link me that branch/commit? We are planning to deploy the Ping360 in a system end of next week and I could have sworn I had the Ping360 working in the past.... I'm happy to submit the code I am running to get this behavior if that would help!
device_data = p.wait_message([definitions.PING360_DEVICE_DATA])
The text was updated successfully, but these errors were encountered: