EasyManua.ls Logo

Ouster OS1 - ptp-quickstart-guide-verifying-operation

Ouster OS1
100 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
26.5 VerifyingOperation
If the PTP grandmaster was justsetup and configured, it’s recommended topower cycle the sensor.
The sensor will then jump to the correct time instead of slowly easing in the time adjustment which
willtaketime ifthe grandmasterinitially setthe sensortothewrong time.
HTTPAPI
Thesensor canbe queriedforthestateof itslocal PTPservicethroughthe HTTP system/time/ptp.
JSONresponsefields tocheck:
parent_data_set.grandmaster_identity should listthe identityofthe localgrandmaster
port_data_set.port_state should beSLAVE
LinuxPTPPMC Tool
The sensor will respondto PTP management messages. The linuxptp pmc (seeman pmc) utility can be
usedtoqueryall PTPdeviceson thelocalnetwork.
Onthe Linuxhost forthe pmc utility tocommunicate withthen runthefollowingcommand:
$ sudo pmc 'get PARENT_DATA_SET' 'get CURRENT_DATA_SET' 'get PORT_DATA_SET' 'get TIME_STATUS_NP' -i eno2
sending: GET PARENT_DATA_SET
sending: GET CURRENT_DATA_SET
sending: GET PORT_DATA_SET
sending: GET TIME_STATUS_NP
bc0fa7.fffe.c48254-1 seq 0 RESPONSE MANAGEMENT PARENT_DATA_SET
parentPortIdentity ac1f6b.fffe.1db84e-2
parentStats 0
observedParentOffsetScaledLogVariance 0xffff
observedParentClockPhaseChangeRate 0x7fffffff
grandmasterPriority1 128
gm.ClockClass 6
gm.ClockAccuracy 0x21
gm.OffsetScaledLogVariance 0x4e5d
grandmasterPriority2 128
grandmasterIdentity 001747.fffe.700038
bc0fa7.fffe.c48254-1 seq 1 RESPONSE MANAGEMENT CURRENT_DATA_SET
stepsRemoved 2
offsetFromMaster 613554162.0
meanPathDelay 117977.0
bc0fa7.fffe.c48254-1 seq 2 RESPONSE MANAGEMENT PORT_DATA_SET
portIdentity bc0fa7.fffe.c48254-1
portState LISTENING
logMinDelayReqInterval 0
peerMeanPathDelay 0
logAnnounceInterval 1
announceReceiptTimeout 3
logSyncInterval 0
(continuesonnext page)
97

Table of Contents

Other manuals for Ouster OS1

Related product manuals