(continuedfrompreviouspage)
"ignore_valid_char": 0,
"leap_seconds": 0,
"locked": 0,
"polarity": "ACTIVE_HIGH"
},
"sync_pulse_in": {
"diagnostics": {
"count": 1,
"count_unfiltered": 0,
"last_period_nsec": 0
},
"locked": 0,
"polarity": "ACTIVE_HIGH"
},
"sync_pulse_out": {
"angle_deg": 360,
"frequency_hz": 1,
"mode": "OFF",
"polarity": "ACTIVE_HIGH",
"pulse_width_ms": 10
},
"timestamp": {
"mode": "TIME_FROM_INTERNAL_OSC",
"time": 57178.44114677,
"time_options": {
"internal_osc": 57178,
"ptp_1588": 1552413986,
"sync_pulse_in": 1
}
}
}
Formoreinformationon theseparametersreferto theget_time_info TCP command.
17 TCPAPI
17.1 QueryingSensorInfoand IntrinsicCalibration
Thesensor canbe queriedandconfigured usinga simpleplaintextprotocoloverTCPonport 7501.
Anexamplesessionusingtheunixnetcatutilityisshownbelow. Notethat“os-xxx”referstothesensor
serialnumber andcan looklike“os-xxx”or “os1-xxx”.
$ nc os-991900123456 7501
get_sensor_info
{"status": "RUNNING", "image_rev": "ousteros-image-prod-aries-v2.0.0-20200429230129",
"base_pn": "000-101323-03", "prod_sn": "991900123456", "proto_rev": "v1.1.1",
"base_sn": "101837000752", "prod_line": "OS-1-128", "build_rev": "v2.0.0",
"prod_pn": "840-101855-02", "build_date": "2020-01-28T22:58:18Z"}
39