Size: 943 bytes.


 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
// cs/apps/trycopilot.ai/protos/overland.proto.hh
// cs/apps/trycopilot.ai/protos/overland.proto.hh
// cs/apps/trycopilot.ai/protos/overland.proto.hh
#ifndef CS_APPS_TRYCOPILOT_AI_PROTOS_OVERLAND_PROTO_HH
#define CS_APPS_TRYCOPILOT_AI_PROTOS_OVERLAND_PROTO_HH

#include <string>

#include "cs/net/proto/proto.hh"

namespace cs::apps::trycopilotai::protos {

// Geographic position payload.
DECLARE_PROTO(Position) {
  // Latitude degrees.
  float latitude;
  // Longitude degrees.
  float longitude;
  // Altitude meters.
  float altitude;
};

// Timestamp payload.
DECLARE_PROTO(Timestamp) {
  // Unix time microseconds.
  float unix_micros;
};

// User position report.
DECLARE_PROTO(UserPosition) {
  // User UUID.
  std::string user_uuid;
  // Position timestamp.
  Timestamp timestamp;
  // Position value.
  Position position;
};

}  // namespace cs::apps::trycopilotai::protos

#endif  // CS_APPS_TRYCOPILOT_AI_PROTOS_OVERLAND_PROTO_HH
v0 (commit) © 2025 @p13i.io | Load balancer proxied to: cs-code-viewer-3:8080 in 4ms.