-
Notifications
You must be signed in to change notification settings - Fork 0
/
vehicle.h
50 lines (42 loc) · 1.79 KB
/
vehicle.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
* Copyright (C) 2015-2018 Swift Navigation Inc.
* Contact: Swift Navigation <[email protected]>
*
* This source is subject to the license found in the file 'LICENSE' which must
* be be distributed together with this source. All other rights reserved.
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
*/
/*****************************************************************************
* Automatically generated from yaml/swiftnav/sbp/vehicle.yaml
* with generate.py. Please do not hand edit!
*****************************************************************************/
/** \defgroup vehicle Vehicle
*
* * Messages from a vehicle.
* \{ */
#ifndef LIBSBP_VEHICLE_MESSAGES_H
#define LIBSBP_VEHICLE_MESSAGES_H
#include "common.h"
/** Vehicle forward (x-axis) velocity
*
* Message representing the x component of vehicle velocity in the user frame at the odometry
* reference point(s) specified by the user. The offset for the odometry reference point and
* the definition and origin of the user frame are defined through the device settings interface.
* There are 4 possible user-defined sources of this message which are labeled arbitrarily
* source 0 through 3.
*/
#define SBP_MSG_ODOMETRY 0x0903
typedef struct {
u32 tow; /**< Time field representing either milliseconds in the GPS Week or local CPU
time from the producing system in milliseconds. See the tow_source flag
for the exact source of this timestamp.
[ms] */
s32 velocity; /**< The signed forward component of vehicle velocity.
[mm/s] */
u8 flags; /**< Status flags */
} msg_odometry_t;
/** \} */
#endif /* LIBSBP_VEHICLE_MESSAGES_H */