updated ProbeResult struct for type
This commit is contained in:
parent
5b438b7ffe
commit
787bf9b435
@ -58,7 +58,11 @@ type Robot struct {
|
|||||||
Collision bool `json:"collision"`
|
Collision bool `json:"collision"`
|
||||||
Hit bool `json:"hit"`
|
Hit bool `json:"hit"`
|
||||||
Probe *govector.Point2d `json:"probe"`
|
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 {
|
type Stats struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user