mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-14 09:43:29 +00:00
refactored Marker struct
This commit is contained in:
@@ -8,14 +8,13 @@ type Payload struct {
|
|||||||
type Marker struct {
|
type Marker struct {
|
||||||
Longitude float64 `json:"longitude"`
|
Longitude float64 `json:"longitude"`
|
||||||
Latitude float64 `json:"latitude"`
|
Latitude float64 `json:"latitude"`
|
||||||
Attitude string `json:"attitude"`
|
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
UID string `json:"uid"`
|
UID string `json:"uid"`
|
||||||
Type string `json:"type,omitempty"`
|
Type string `json:"type,omitempty"`
|
||||||
Course float64 `json:"course,omitempty"`
|
Course int `json:"course,omitempty"`
|
||||||
Azimuth float64 `json:"azimuth,omitempty"`
|
Azimuth int `json:"azimuth,omitempty"`
|
||||||
Speed float64 `json:"speed,omitempty"`
|
Speed int `json:"speed,omitempty"`
|
||||||
Battery float64 `json:"battery,omitempty"`
|
Battery int `json:"battery,omitempty"`
|
||||||
FOV int `json:"fov,omitempty"`
|
FOV int `json:"fov,omitempty"`
|
||||||
CE int `json:"ce,omitempty"`
|
CE int `json:"ce,omitempty"`
|
||||||
HAE int `json:"hae,omitempty"`
|
HAE int `json:"hae,omitempty"`
|
||||||
|
|||||||
Reference in New Issue
Block a user