From 90d62fff568b49042dc136e3e4adb7fe1573e391 Mon Sep 17 00:00:00 2001 From: Roman Shtylman Date: Mon, 8 May 2023 20:49:08 -0700 Subject: [PATCH 1/3] Add a frame_id field to LocationFix The frame_id field for the LocationFix message specifies the frame for the origin of the sensor so the lat/lon values can be tied to a location on the robot. --- internal/schemas.ts | 6 ++++++ ros_foxglove_msgs/ros1/LocationFix.msg | 3 +++ ros_foxglove_msgs/ros2/LocationFix.msg | 3 +++ schemas/README.md | 13 +++++++++++++ schemas/flatbuffer/LocationFix.fbs | 3 +++ schemas/jsonschema/LocationFix.json | 4 ++++ schemas/jsonschema/index.ts | 4 ++++ schemas/proto/foxglove/LocationFix.proto | 13 ++++++++----- schemas/ros1/LocationFix.msg | 3 +++ schemas/ros2/LocationFix.msg | 3 +++ schemas/typescript/LocationFix.ts | 3 +++ 11 files changed, 53 insertions(+), 5 deletions(-) diff --git a/internal/schemas.ts b/internal/schemas.ts index 6f0aaffa..574d52ef 100644 --- a/internal/schemas.ts +++ b/internal/schemas.ts @@ -1228,6 +1228,12 @@ const LocationFix: FoxgloveMessageSchema = { name: "LocationFix", description: "A navigation satellite fix for any Global Navigation Satellite System", fields: [ + { + name: "frame_id", + type: { type: "primitive", name: "string" }, + description: + "Frame for the sensor. Latitude and longitude readings are at the origin of the frame.", + }, { name: "latitude", type: { type: "primitive", name: "float64" }, diff --git a/ros_foxglove_msgs/ros1/LocationFix.msg b/ros_foxglove_msgs/ros1/LocationFix.msg index 37600251..a5af8aab 100644 --- a/ros_foxglove_msgs/ros1/LocationFix.msg +++ b/ros_foxglove_msgs/ros1/LocationFix.msg @@ -3,6 +3,9 @@ # Generated by https://github.com/foxglove/schemas +# Frame for the sensor. Latitude and longitude readings are at the origin of the frame. +string frame_id + # Latitude in degrees float64 latitude diff --git a/ros_foxglove_msgs/ros2/LocationFix.msg b/ros_foxglove_msgs/ros2/LocationFix.msg index abb105f6..1cdcbbd4 100644 --- a/ros_foxglove_msgs/ros2/LocationFix.msg +++ b/ros_foxglove_msgs/ros2/LocationFix.msg @@ -3,6 +3,9 @@ # Generated by https://github.com/foxglove/schemas +# Frame for the sensor. Latitude and longitude readings are at the origin of the frame. +string frame_id + # Latitude in degrees float64 latitude diff --git a/schemas/README.md b/schemas/README.md index d2c71288..9f199e77 100644 --- a/schemas/README.md +++ b/schemas/README.md @@ -1319,6 +1319,19 @@ A navigation satellite fix for any Global Navigation Satellite System description +frame_id + + +string + + + + +Frame for the sensor. Latitude and longitude readings are at the origin of the frame. + + + + latitude diff --git a/schemas/flatbuffer/LocationFix.fbs b/schemas/flatbuffer/LocationFix.fbs index 68a6011a..cc0f0ac3 100644 --- a/schemas/flatbuffer/LocationFix.fbs +++ b/schemas/flatbuffer/LocationFix.fbs @@ -14,6 +14,9 @@ enum PositionCovarianceType : ubyte { } /// A navigation satellite fix for any Global Navigation Satellite System table LocationFix { + /// Frame for the sensor. Latitude and longitude readings are at the origin of the frame. + frame_id:string; + /// Latitude in degrees latitude:double; diff --git a/schemas/jsonschema/LocationFix.json b/schemas/jsonschema/LocationFix.json index 8305c3db..97f254c1 100644 --- a/schemas/jsonschema/LocationFix.json +++ b/schemas/jsonschema/LocationFix.json @@ -4,6 +4,10 @@ "$comment": "Generated by https://github.com/foxglove/schemas", "type": "object", "properties": { + "frame_id": { + "type": "string", + "description": "Frame for the sensor. Latitude and longitude readings are at the origin of the frame." + }, "latitude": { "type": "number", "description": "Latitude in degrees" diff --git a/schemas/jsonschema/index.ts b/schemas/jsonschema/index.ts index a9093bcb..4c1438d7 100644 --- a/schemas/jsonschema/index.ts +++ b/schemas/jsonschema/index.ts @@ -1533,6 +1533,10 @@ export const LocationFix = { "$comment": "Generated by https://github.com/foxglove/schemas", "type": "object", "properties": { + "frame_id": { + "type": "string", + "description": "Frame for the sensor. Latitude and longitude readings are at the origin of the frame." + }, "latitude": { "type": "number", "description": "Latitude in degrees" diff --git a/schemas/proto/foxglove/LocationFix.proto b/schemas/proto/foxglove/LocationFix.proto index c7f7fe50..70a24b91 100644 --- a/schemas/proto/foxglove/LocationFix.proto +++ b/schemas/proto/foxglove/LocationFix.proto @@ -16,18 +16,21 @@ message LocationFix { KNOWN = 3; } + // Frame for the sensor. Latitude and longitude readings are at the origin of the frame. + string frame_id = 1; + // Latitude in degrees - double latitude = 1; + double latitude = 2; // Longitude in degrees - double longitude = 2; + double longitude = 3; // Altitude in meters - double altitude = 3; + double altitude = 4; // Position covariance (m^2) defined relative to a tangential plane through the reported position. The components are East, North, and Up (ENU), in row-major order. - repeated double position_covariance = 4; // length 9 + repeated double position_covariance = 5; // length 9 // If `position_covariance` is available, `position_covariance_type` must be set to indicate the type of covariance. - PositionCovarianceType position_covariance_type = 5; + PositionCovarianceType position_covariance_type = 6; } diff --git a/schemas/ros1/LocationFix.msg b/schemas/ros1/LocationFix.msg index 37600251..a5af8aab 100644 --- a/schemas/ros1/LocationFix.msg +++ b/schemas/ros1/LocationFix.msg @@ -3,6 +3,9 @@ # Generated by https://github.com/foxglove/schemas +# Frame for the sensor. Latitude and longitude readings are at the origin of the frame. +string frame_id + # Latitude in degrees float64 latitude diff --git a/schemas/ros2/LocationFix.msg b/schemas/ros2/LocationFix.msg index abb105f6..1cdcbbd4 100644 --- a/schemas/ros2/LocationFix.msg +++ b/schemas/ros2/LocationFix.msg @@ -3,6 +3,9 @@ # Generated by https://github.com/foxglove/schemas +# Frame for the sensor. Latitude and longitude readings are at the origin of the frame. +string frame_id + # Latitude in degrees float64 latitude diff --git a/schemas/typescript/LocationFix.ts b/schemas/typescript/LocationFix.ts index 677f2941..ae5d800e 100644 --- a/schemas/typescript/LocationFix.ts +++ b/schemas/typescript/LocationFix.ts @@ -4,6 +4,9 @@ import { PositionCovarianceType } from "./PositionCovarianceType"; /** A navigation satellite fix for any Global Navigation Satellite System */ export type LocationFix = { + /** Frame for the sensor. Latitude and longitude readings are at the origin of the frame. */ + frame_id: string; + /** Latitude in degrees */ latitude: number; From 132a0e0cb9789291ced3f5edb7386f9c5c87c579 Mon Sep 17 00:00:00 2001 From: Roman Shtylman Date: Tue, 9 May 2023 08:22:51 -0700 Subject: [PATCH 2/3] Add timestamp --- internal/schemas.ts | 5 +++++ ros_foxglove_msgs/ros1/LocationFix.msg | 3 +++ ros_foxglove_msgs/ros2/LocationFix.msg | 3 +++ schemas/README.md | 13 +++++++++++++ schemas/flatbuffer/LocationFix.fbs | 5 +++++ schemas/jsonschema/LocationFix.json | 16 ++++++++++++++++ schemas/jsonschema/index.ts | 16 ++++++++++++++++ schemas/proto/foxglove/LocationFix.proto | 15 ++++++++++----- schemas/ros1/LocationFix.msg | 3 +++ schemas/ros2/LocationFix.msg | 3 +++ schemas/typescript/LocationFix.ts | 4 ++++ 11 files changed, 81 insertions(+), 5 deletions(-) diff --git a/internal/schemas.ts b/internal/schemas.ts index 574d52ef..a35a9133 100644 --- a/internal/schemas.ts +++ b/internal/schemas.ts @@ -1234,6 +1234,11 @@ const LocationFix: FoxgloveMessageSchema = { description: "Frame for the sensor. Latitude and longitude readings are at the origin of the frame.", }, + { + name: "timestamp", + type: { type: "primitive", name: "time" }, + description: "Timestamp of the message", + }, { name: "latitude", type: { type: "primitive", name: "float64" }, diff --git a/ros_foxglove_msgs/ros1/LocationFix.msg b/ros_foxglove_msgs/ros1/LocationFix.msg index a5af8aab..3e0703e4 100644 --- a/ros_foxglove_msgs/ros1/LocationFix.msg +++ b/ros_foxglove_msgs/ros1/LocationFix.msg @@ -6,6 +6,9 @@ # Frame for the sensor. Latitude and longitude readings are at the origin of the frame. string frame_id +# Timestamp of the message +time timestamp + # Latitude in degrees float64 latitude diff --git a/ros_foxglove_msgs/ros2/LocationFix.msg b/ros_foxglove_msgs/ros2/LocationFix.msg index 1cdcbbd4..4d0ae370 100644 --- a/ros_foxglove_msgs/ros2/LocationFix.msg +++ b/ros_foxglove_msgs/ros2/LocationFix.msg @@ -6,6 +6,9 @@ # Frame for the sensor. Latitude and longitude readings are at the origin of the frame. string frame_id +# Timestamp of the message +builtin_interfaces/Time timestamp + # Latitude in degrees float64 latitude diff --git a/schemas/README.md b/schemas/README.md index 9f199e77..0b38e292 100644 --- a/schemas/README.md +++ b/schemas/README.md @@ -1329,6 +1329,19 @@ string Frame for the sensor. Latitude and longitude readings are at the origin of the frame. + + + +timestamp + + +time + + + + +Timestamp of the message + diff --git a/schemas/flatbuffer/LocationFix.fbs b/schemas/flatbuffer/LocationFix.fbs index cc0f0ac3..7716f93d 100644 --- a/schemas/flatbuffer/LocationFix.fbs +++ b/schemas/flatbuffer/LocationFix.fbs @@ -1,5 +1,7 @@ // Generated by https://github.com/foxglove/schemas +include "Time.fbs"; + namespace foxglove; /// Type of position covariance @@ -17,6 +19,9 @@ table LocationFix { /// Frame for the sensor. Latitude and longitude readings are at the origin of the frame. frame_id:string; + /// Timestamp of the message + timestamp:Time; + /// Latitude in degrees latitude:double; diff --git a/schemas/jsonschema/LocationFix.json b/schemas/jsonschema/LocationFix.json index 97f254c1..437fa367 100644 --- a/schemas/jsonschema/LocationFix.json +++ b/schemas/jsonschema/LocationFix.json @@ -8,6 +8,22 @@ "type": "string", "description": "Frame for the sensor. Latitude and longitude readings are at the origin of the frame." }, + "timestamp": { + "type": "object", + "title": "time", + "properties": { + "sec": { + "type": "integer", + "minimum": 0 + }, + "nsec": { + "type": "integer", + "minimum": 0, + "maximum": 999999999 + } + }, + "description": "Timestamp of the message" + }, "latitude": { "type": "number", "description": "Latitude in degrees" diff --git a/schemas/jsonschema/index.ts b/schemas/jsonschema/index.ts index 4c1438d7..a1405941 100644 --- a/schemas/jsonschema/index.ts +++ b/schemas/jsonschema/index.ts @@ -1537,6 +1537,22 @@ export const LocationFix = { "type": "string", "description": "Frame for the sensor. Latitude and longitude readings are at the origin of the frame." }, + "timestamp": { + "type": "object", + "title": "time", + "properties": { + "sec": { + "type": "integer", + "minimum": 0 + }, + "nsec": { + "type": "integer", + "minimum": 0, + "maximum": 999999999 + } + }, + "description": "Timestamp of the message" + }, "latitude": { "type": "number", "description": "Latitude in degrees" diff --git a/schemas/proto/foxglove/LocationFix.proto b/schemas/proto/foxglove/LocationFix.proto index 70a24b91..77c2da3a 100644 --- a/schemas/proto/foxglove/LocationFix.proto +++ b/schemas/proto/foxglove/LocationFix.proto @@ -2,6 +2,8 @@ syntax = "proto3"; +import "google/protobuf/timestamp.proto"; + package foxglove; // A navigation satellite fix for any Global Navigation Satellite System @@ -19,18 +21,21 @@ message LocationFix { // Frame for the sensor. Latitude and longitude readings are at the origin of the frame. string frame_id = 1; + // Timestamp of the message + google.protobuf.Timestamp timestamp = 2; + // Latitude in degrees - double latitude = 2; + double latitude = 3; // Longitude in degrees - double longitude = 3; + double longitude = 4; // Altitude in meters - double altitude = 4; + double altitude = 5; // Position covariance (m^2) defined relative to a tangential plane through the reported position. The components are East, North, and Up (ENU), in row-major order. - repeated double position_covariance = 5; // length 9 + repeated double position_covariance = 6; // length 9 // If `position_covariance` is available, `position_covariance_type` must be set to indicate the type of covariance. - PositionCovarianceType position_covariance_type = 6; + PositionCovarianceType position_covariance_type = 7; } diff --git a/schemas/ros1/LocationFix.msg b/schemas/ros1/LocationFix.msg index a5af8aab..3e0703e4 100644 --- a/schemas/ros1/LocationFix.msg +++ b/schemas/ros1/LocationFix.msg @@ -6,6 +6,9 @@ # Frame for the sensor. Latitude and longitude readings are at the origin of the frame. string frame_id +# Timestamp of the message +time timestamp + # Latitude in degrees float64 latitude diff --git a/schemas/ros2/LocationFix.msg b/schemas/ros2/LocationFix.msg index 1cdcbbd4..4d0ae370 100644 --- a/schemas/ros2/LocationFix.msg +++ b/schemas/ros2/LocationFix.msg @@ -6,6 +6,9 @@ # Frame for the sensor. Latitude and longitude readings are at the origin of the frame. string frame_id +# Timestamp of the message +builtin_interfaces/Time timestamp + # Latitude in degrees float64 latitude diff --git a/schemas/typescript/LocationFix.ts b/schemas/typescript/LocationFix.ts index ae5d800e..b3c72f9d 100644 --- a/schemas/typescript/LocationFix.ts +++ b/schemas/typescript/LocationFix.ts @@ -1,12 +1,16 @@ // Generated by https://github.com/foxglove/schemas import { PositionCovarianceType } from "./PositionCovarianceType"; +import { Time } from "./Time"; /** A navigation satellite fix for any Global Navigation Satellite System */ export type LocationFix = { /** Frame for the sensor. Latitude and longitude readings are at the origin of the frame. */ frame_id: string; + /** Timestamp of the message */ + timestamp: Time; + /** Latitude in degrees */ latitude: number; From 918bdd83944500ff99ff0acfba5e8c842ca103cb Mon Sep 17 00:00:00 2001 From: Roman Shtylman Date: Tue, 9 May 2023 17:55:00 -0700 Subject: [PATCH 3/3] feedback --- internal/schemas.ts | 17 ++++++++++++----- ros_foxglove_msgs/ros1/LocationFix.msg | 6 +++--- ros_foxglove_msgs/ros2/LocationFix.msg | 6 +++--- schemas/README.md | 12 ++++++------ schemas/flatbuffer/LocationFix.fbs | 6 +++--- schemas/jsonschema/LocationFix.json | 8 ++++---- schemas/jsonschema/index.ts | 8 ++++---- schemas/proto/foxglove/LocationFix.proto | 18 +++++++++--------- schemas/ros1/LocationFix.msg | 6 +++--- schemas/ros2/LocationFix.msg | 6 +++--- schemas/typescript/LocationFix.ts | 6 +++--- 11 files changed, 53 insertions(+), 46 deletions(-) diff --git a/internal/schemas.ts b/internal/schemas.ts index a35a9133..05ca4963 100644 --- a/internal/schemas.ts +++ b/internal/schemas.ts @@ -1228,31 +1228,36 @@ const LocationFix: FoxgloveMessageSchema = { name: "LocationFix", description: "A navigation satellite fix for any Global Navigation Satellite System", fields: [ + { + name: "timestamp", + type: { type: "primitive", name: "time" }, + description: "Timestamp of the message", + protobufFieldNumber: 6, + }, { name: "frame_id", type: { type: "primitive", name: "string" }, description: "Frame for the sensor. Latitude and longitude readings are at the origin of the frame.", - }, - { - name: "timestamp", - type: { type: "primitive", name: "time" }, - description: "Timestamp of the message", + protobufFieldNumber: 7, }, { name: "latitude", type: { type: "primitive", name: "float64" }, description: "Latitude in degrees", + protobufFieldNumber: 1, }, { name: "longitude", type: { type: "primitive", name: "float64" }, description: "Longitude in degrees", + protobufFieldNumber: 2, }, { name: "altitude", type: { type: "primitive", name: "float64" }, description: "Altitude in meters", + protobufFieldNumber: 3, }, { name: "position_covariance", @@ -1260,12 +1265,14 @@ const LocationFix: FoxgloveMessageSchema = { description: "Position covariance (m^2) defined relative to a tangential plane through the reported position. The components are East, North, and Up (ENU), in row-major order.", array: 9, + protobufFieldNumber: 4, }, { name: "position_covariance_type", type: { type: "enum", enum: PositionCovarianceType }, description: "If `position_covariance` is available, `position_covariance_type` must be set to indicate the type of covariance.", + protobufFieldNumber: 5, }, ], }; diff --git a/ros_foxglove_msgs/ros1/LocationFix.msg b/ros_foxglove_msgs/ros1/LocationFix.msg index 3e0703e4..8593faaa 100644 --- a/ros_foxglove_msgs/ros1/LocationFix.msg +++ b/ros_foxglove_msgs/ros1/LocationFix.msg @@ -3,12 +3,12 @@ # Generated by https://github.com/foxglove/schemas -# Frame for the sensor. Latitude and longitude readings are at the origin of the frame. -string frame_id - # Timestamp of the message time timestamp +# Frame for the sensor. Latitude and longitude readings are at the origin of the frame. +string frame_id + # Latitude in degrees float64 latitude diff --git a/ros_foxglove_msgs/ros2/LocationFix.msg b/ros_foxglove_msgs/ros2/LocationFix.msg index 4d0ae370..33cf956d 100644 --- a/ros_foxglove_msgs/ros2/LocationFix.msg +++ b/ros_foxglove_msgs/ros2/LocationFix.msg @@ -3,12 +3,12 @@ # Generated by https://github.com/foxglove/schemas -# Frame for the sensor. Latitude and longitude readings are at the origin of the frame. -string frame_id - # Timestamp of the message builtin_interfaces/Time timestamp +# Frame for the sensor. Latitude and longitude readings are at the origin of the frame. +string frame_id + # Latitude in degrees float64 latitude diff --git a/schemas/README.md b/schemas/README.md index 0b38e292..8e04ab65 100644 --- a/schemas/README.md +++ b/schemas/README.md @@ -1319,28 +1319,28 @@ A navigation satellite fix for any Global Navigation Satellite System description -frame_id +timestamp -string +time -Frame for the sensor. Latitude and longitude readings are at the origin of the frame. +Timestamp of the message -timestamp +frame_id -time +string -Timestamp of the message +Frame for the sensor. Latitude and longitude readings are at the origin of the frame. diff --git a/schemas/flatbuffer/LocationFix.fbs b/schemas/flatbuffer/LocationFix.fbs index 7716f93d..9db5a592 100644 --- a/schemas/flatbuffer/LocationFix.fbs +++ b/schemas/flatbuffer/LocationFix.fbs @@ -16,12 +16,12 @@ enum PositionCovarianceType : ubyte { } /// A navigation satellite fix for any Global Navigation Satellite System table LocationFix { - /// Frame for the sensor. Latitude and longitude readings are at the origin of the frame. - frame_id:string; - /// Timestamp of the message timestamp:Time; + /// Frame for the sensor. Latitude and longitude readings are at the origin of the frame. + frame_id:string; + /// Latitude in degrees latitude:double; diff --git a/schemas/jsonschema/LocationFix.json b/schemas/jsonschema/LocationFix.json index 437fa367..375f5672 100644 --- a/schemas/jsonschema/LocationFix.json +++ b/schemas/jsonschema/LocationFix.json @@ -4,10 +4,6 @@ "$comment": "Generated by https://github.com/foxglove/schemas", "type": "object", "properties": { - "frame_id": { - "type": "string", - "description": "Frame for the sensor. Latitude and longitude readings are at the origin of the frame." - }, "timestamp": { "type": "object", "title": "time", @@ -24,6 +20,10 @@ }, "description": "Timestamp of the message" }, + "frame_id": { + "type": "string", + "description": "Frame for the sensor. Latitude and longitude readings are at the origin of the frame." + }, "latitude": { "type": "number", "description": "Latitude in degrees" diff --git a/schemas/jsonschema/index.ts b/schemas/jsonschema/index.ts index a1405941..c7197d81 100644 --- a/schemas/jsonschema/index.ts +++ b/schemas/jsonschema/index.ts @@ -1533,10 +1533,6 @@ export const LocationFix = { "$comment": "Generated by https://github.com/foxglove/schemas", "type": "object", "properties": { - "frame_id": { - "type": "string", - "description": "Frame for the sensor. Latitude and longitude readings are at the origin of the frame." - }, "timestamp": { "type": "object", "title": "time", @@ -1553,6 +1549,10 @@ export const LocationFix = { }, "description": "Timestamp of the message" }, + "frame_id": { + "type": "string", + "description": "Frame for the sensor. Latitude and longitude readings are at the origin of the frame." + }, "latitude": { "type": "number", "description": "Latitude in degrees" diff --git a/schemas/proto/foxglove/LocationFix.proto b/schemas/proto/foxglove/LocationFix.proto index 77c2da3a..6ddbc59a 100644 --- a/schemas/proto/foxglove/LocationFix.proto +++ b/schemas/proto/foxglove/LocationFix.proto @@ -18,24 +18,24 @@ message LocationFix { KNOWN = 3; } - // Frame for the sensor. Latitude and longitude readings are at the origin of the frame. - string frame_id = 1; - // Timestamp of the message - google.protobuf.Timestamp timestamp = 2; + google.protobuf.Timestamp timestamp = 6; + + // Frame for the sensor. Latitude and longitude readings are at the origin of the frame. + string frame_id = 7; // Latitude in degrees - double latitude = 3; + double latitude = 1; // Longitude in degrees - double longitude = 4; + double longitude = 2; // Altitude in meters - double altitude = 5; + double altitude = 3; // Position covariance (m^2) defined relative to a tangential plane through the reported position. The components are East, North, and Up (ENU), in row-major order. - repeated double position_covariance = 6; // length 9 + repeated double position_covariance = 4; // length 9 // If `position_covariance` is available, `position_covariance_type` must be set to indicate the type of covariance. - PositionCovarianceType position_covariance_type = 7; + PositionCovarianceType position_covariance_type = 5; } diff --git a/schemas/ros1/LocationFix.msg b/schemas/ros1/LocationFix.msg index 3e0703e4..8593faaa 100644 --- a/schemas/ros1/LocationFix.msg +++ b/schemas/ros1/LocationFix.msg @@ -3,12 +3,12 @@ # Generated by https://github.com/foxglove/schemas -# Frame for the sensor. Latitude and longitude readings are at the origin of the frame. -string frame_id - # Timestamp of the message time timestamp +# Frame for the sensor. Latitude and longitude readings are at the origin of the frame. +string frame_id + # Latitude in degrees float64 latitude diff --git a/schemas/ros2/LocationFix.msg b/schemas/ros2/LocationFix.msg index 4d0ae370..33cf956d 100644 --- a/schemas/ros2/LocationFix.msg +++ b/schemas/ros2/LocationFix.msg @@ -3,12 +3,12 @@ # Generated by https://github.com/foxglove/schemas -# Frame for the sensor. Latitude and longitude readings are at the origin of the frame. -string frame_id - # Timestamp of the message builtin_interfaces/Time timestamp +# Frame for the sensor. Latitude and longitude readings are at the origin of the frame. +string frame_id + # Latitude in degrees float64 latitude diff --git a/schemas/typescript/LocationFix.ts b/schemas/typescript/LocationFix.ts index b3c72f9d..27d2c97a 100644 --- a/schemas/typescript/LocationFix.ts +++ b/schemas/typescript/LocationFix.ts @@ -5,12 +5,12 @@ import { Time } from "./Time"; /** A navigation satellite fix for any Global Navigation Satellite System */ export type LocationFix = { - /** Frame for the sensor. Latitude and longitude readings are at the origin of the frame. */ - frame_id: string; - /** Timestamp of the message */ timestamp: Time; + /** Frame for the sensor. Latitude and longitude readings are at the origin of the frame. */ + frame_id: string; + /** Latitude in degrees */ latitude: number;