reduce verbosity

This commit is contained in:
Stephen McQuay 2013-11-10 22:34:56 -08:00
parent ebcd9fbfe3
commit 6390aa96da

View File

@ -161,7 +161,6 @@ func main() {
log.Fatal("Connection lost") log.Fatal("Connection lost")
} }
me = boardstate.MyRobots[0] me = boardstate.MyRobots[0]
log.Printf("%+v", me)
if govector.Distance(me.Position, moveto) < 3.0 { if govector.Distance(me.Position, moveto) < 3.0 {
log.Printf("old: %+v: %+v", me.Position, moveto) log.Printf("old: %+v: %+v", me.Position, moveto)
moveto = govector.Point2d{ moveto = govector.Point2d{
@ -178,11 +177,9 @@ func main() {
FireAt: &moveto, FireAt: &moveto,
}, },
} }
log.Printf("instruction: %+v", instruction)
err = websocket.JSON.Send(ws, instruction) err = websocket.JSON.Send(ws, instruction)
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }
//log.Fatal("WIP")
} }
} }