hybridgroup.gobot/platforms/sphero/sprkplus/sprkplus_packets.go

16 lines
335 B
Go

package sprkplus
import "gobot.io/x/gobot/platforms/sphero"
// DefaultCollisionConfig returns a CollisionConfig with sensible collision defaults
func DefaultCollisionConfig() sphero.CollisionConfig {
return sphero.CollisionConfig{
Method: 0x01,
Xt: 0x20,
Yt: 0x20,
Xs: 0x20,
Ys: 0x20,
Dead: 0x01,
}
}