Jump to content
Stray Fawn Community
  • 4

Directional accelerometer or speedometer


Scorpion451

Post

The existing speedometer tells you how fast you're going in any direction, but it would be really handy to have a sensor that senses motion in only a given direction. A speedometer version would be simpler to use, but I think having it work as an accelerometer might be the more interesting/challenging option.

For a straightforward usage example, you could attach one pointing backwards to activate a set of reserve engines or a dodge mechanism when your sumobot senses it's moving backwards, or one pointing to the side to sense when you're drifting sideways.

On the more complicated side, this would allow for some interesting vector math in combination with the existing absolute speedometer and the directional sensor, setting up triggers based on angular velocities and such.

  • Like 1
Link to comment
Share on other sites

1 reply to this post

Recommended Posts

  • 0

I think this would be as simple as adding a few settings for it.  I'd suggest a set of:

General movement (current behavior)

Along the sensor's long axis

One direction along the sensor's long axis. (Add a helpful arrow) 

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...