updated ProbeResult struct for type

This commit is contained in:
Stephen McQuay 2014-01-16 23:06:28 -08:00
parent 5b438b7ffe
commit 787bf9b435
1 changed files with 5 additions and 1 deletions

View File

@ -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 {