updated ProbeResult struct for type
This commit is contained in:
+5
-1
@@ -58,7 +58,11 @@ type Robot struct {
|
||||
Collision bool `json:"collision"`
|
||||
Hit bool `json:"hit"`
|
||||
Probe *govector.Point2d `json:"probe"`
|
||||
ProbeResult *govector.Point2d `json:"probe_result"`
|
||||
ProbeResult *ProbeResult `json:"probe_result"`
|
||||
}
|
||||
type ProbeResult struct {
|
||||
govector.Point2d
|
||||
Type string `json:"type"`
|
||||
}
|
||||
|
||||
type Stats struct {
|
||||
|
||||
Reference in New Issue
Block a user