Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ nav:
- Message Definitions:
- common: pingmessage-common.md
- omniscan450: pingmessage-omniscan450.md
- surveyor240: pingmessage-surveyor240.md
- s500: pingmessage-s500.md
- ping1d: pingmessage-ping1d.md
- ping360: pingmessage-ping360.md
site_dir: ping-protocol
59 changes: 48 additions & 11 deletions src/definitions/omniscan450.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,47 +18,84 @@
"payload": [
{
"name": "start_mm",
"type": "u32"
"type": "u32",
"description": "Start of ping range, set to 0.",
"units": "mm",
"default": 0
},
{
"name": "length_mm",
"type": "u32"
"type": "u32",
"description": "Length of the returned profile, end of range = start_mm + length_mm.",
"units": "mm",
"default": 5000
},
{
"name": "msec_per_ping",
"type": "u32"
"type": "u32",
"description": "Set value to limit ping rate, normally set to 0 for best ping rate.",
"units": "msec",
"default": 0
},
{
"name": "reserved_1",
"type": "float"
"type": "float",
"description": "Set to 0",
"default": 0
},
{
"name": "reserved_2",
"type": "float"
"type": "float",
"description": "Set to 0",
"default": 0
},
{
"name": "pulse_len_percent",
"type": "float"
"type": "float",
"description": "% of total ping time for current range, 0.002 typical.",
"default": 0.002
},
{
"name": "filter_duration_percent",
"type": "float"
"type": "float",
"description": "0.0015 typical.",
"default": 0.0015
},
{
"name": "gain_index",
"type": "i16"
"type": "i16",
"description": "Set to -1 for auto gain, otherwise 0-7 sets gain.",
"default": -1
},
{
"name": "num_results",
"type": "u16"
"type": "u16",
"description": "Number of signal data points in resulting profile (200-1200), 600 typical.",
"default": 600
},
{
"name": "enable",
"type": "u8"
"type": "u8",
"description": "1 or 0 to enable or disable pinging.",
"default": "True"
},
{
"name": "reserved_3",
"type": "u8"
"type": "u8",
"description": "Set to 0",
"default": 0
},
{
"name": "reserved_4",
"type": "u8",
"description": "Set to 0",
"default": 0
},
{
"name": "reserved_5",
"type": "u8",
"description": "Set to 0",
"default": 0
}
]
}
Expand Down
Loading