Commit 0b3aef40 authored by NicolaiO's avatar NicolaiO 🐼
Browse files

added new proto definition for worldframe export

parent eb9a8855
Pipeline #10 skipped
......@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>edu.tigers.protobufMessages</groupId>
<artifactId>protobufMessages</artifactId>
<version>2.6.1-6</version>
<version>2.6.1-7</version>
<name>ProtobufMessages</name>
<properties>
......
package edu.tigers.sumatra.wp.exporter;
message WorldFrame
{
required int64 frameId = 1;
required int64 timestamp = 2;
repeated Bot bots = 3;
optional Ball ball = 4;
}
message Ball
{
required Vector3 pos = 1;
required Vector3 vel = 2;
optional Vector3 acc = 3;
}
message Bot
{
required int32 id = 1;
required TeamColor teamColor = 2;
required Vector3 pos = 3;
required Vector3 vel = 4;
optional Vector3 acc = 5;
}
message Vector3 {
required double x = 1;
required double y = 2;
required double z = 3;
}
enum TeamColor
{
YELLOW = 1;
BLUE = 2;
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment