hybridgroup.gobot/platforms/sphero/ollie/ollie_packets.go

16 lines
332 B
Go

package ollie
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: 0x60,
}
}