Files
PX4-Autopilot/docs/zh/msg_docs/DistanceSensorModeChangeRequest.md
PX4 Build Bot 47d5971f42 New Crowdin translations - zh-CN (#26488)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-02-18 16:44:34 +11:00

1.5 KiB

pageClass
pageClass
is-wide-page

DistanceSensorModeChangeRequest (UORB message)

TOPICS: distance_sensormode_changerequest

Fields

参数名 类型 Unit [Frame] Range/Enum 描述
timestamp uint64 time since system start (microseconds)
request_on_off uint8 request to disable/enable the distance sensor

Constants

参数名 类型 描述
REQUEST_OFF uint8 0
REQUEST_ON uint8 1

Source Message

Source file (GitHub)

:::details Click here to see original file

uint64 timestamp		# time since system start (microseconds)

uint8 request_on_off 			# request to disable/enable the distance sensor
uint8 REQUEST_OFF = 0
uint8 REQUEST_ON  = 1

:::