Skip to content

HomePosition (повідомлення UORB)

Домашнє GPS положення в координатах WGS84.

TOPICS: home_position

Fields

НазваТипUnit [Frame]Range/EnumОпис
timestampuint64time since system start (microseconds)
latfloat64Latitude in degrees
lonfloat64Longitude in degrees
altfloat32Altitude in meters (AMSL)
xfloat32X coordinate in meters
yfloat32Y coordinate in meters
zfloat32Z coordinate in meters
rollfloat32Pitch angle in radians
pitchfloat32Roll angle in radians
yawfloat32Yaw angle in radians
valid_altbooltrue when the altitude has been set
valid_hposbooltrue when the latitude and longitude have been set
valid_lposbooltrue when the local position (xyz) has been set
manual_homebooltrue when home position was set manually
update_countuint32update counter of the home position

Constants

НазваТипЗначенняОпис
MESSAGE_VERSIONuint321

Source Message

Source file (GitHub)

Details

Click here to see original file

c
# GPS home position in WGS84 coordinates.

uint32 MESSAGE_VERSION = 1

uint64 timestamp			# time since system start (microseconds)

float64 lat				# Latitude in degrees
float64 lon				# Longitude in degrees
float32 alt				# Altitude in meters (AMSL)

float32 x				# X coordinate in meters
float32 y				# Y coordinate in meters
float32 z				# Z coordinate in meters

float32 roll				# Pitch angle in radians
float32 pitch				# Roll angle in radians
float32 yaw				# Yaw angle in radians

bool valid_alt		# true when the altitude has been set
bool valid_hpos		# true when the latitude and longitude have been set
bool valid_lpos		# true when the local position (xyz) has been set

bool manual_home	# true when home position was set manually

uint32 update_count 	# update counter of the home position