Hello, I am trying to sync my sensor Ouster OS1, 128 beams. With my GPS Novatel PwrPak7.
I have followed this tutorial : https://forum.ouster.at/d/74-how-to-synchronize-gps-with-ouster-sensor
When running get_time_info
it reports that the nmea config is good, it says "locked: 1"
. And the time is good.
But the PPS is not locked correctly :
"sync_pulse_in": {"locked": 0, "polarity": "ACTIVE_HIGH", "diagnostics": {"last_period_nsec": 0, "count": 18903, "count_unfiltered": 30395919}}
As you can see it' s not able to lock the PPS, and I don' t know why. On the sensor box I see the led flashing so the signal is coming.
In the diagnostics I get this message :
Unit has stopped receiving SYNC_PULSE_IN signals and is configured to expect them. Check electrical inputs to sensor
Here' s the configuration of the PPS signal on the GPS :
- POLARITY : POSITIVE
- PERIOD : 0.5 s
- PULSEWIDTH : 2000us
Here' s the full output of get_time_info
:
{"timestamp": {"time": 1612443355.553434, "mode": "TIME_FROM_SYNC_PULSE_IN", "time_options": {"ptp_1588": 3293, "sync_pulse_in": 1612443355, "internal_osc": 3283}}, "sync_pulse_in": {"locked": 0, "polarity": "ACTIVE_HIGH", "diagnostics": {"last_period_nsec": 0, "count": 23065, "count_unfiltered": 35411292}}, "multipurpose_io": {"mode": "INPUT_NMEA_UART", "sync_pulse_out": {"polarity": "ACTIVE_HIGH", "frequency_hz": 1, "angle_deg": 360, "pulse_width_ms": 10}, "nmea": {"locked": 1, "polarity": "ACTIVE_LOW", "ignore_valid_char": 0, "baud_rate": "BAUD_9600", "leap_seconds": 37, "diagnostics": {"decoding": {"utc_decoded_count": 2808, "date_decoded_count": 2765, "not_valid_count": 42, "last_read_message": "GPRMC,125507.50,A,5823.0922739,N,02643.5445738,E,0.017,123.2,040221,0.0,E,D*37"}, "io_checks": {"start_char_count": 3275, "char_count": 240608, "bit_count": 716039, "bit_count_unfiltered": 716038}}}}}
Do you have any idea what could be wrong ?
Thanks !