|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Realistic Velocity Calculation
Quote:
|
|
#2
|
||||
|
||||
|
Re: Realistic Velocity Calculation
Quote:
|
|
#3
|
||||
|
||||
|
Re: Realistic Velocity Calculation
Quote:
|
|
#4
|
|||
|
|||
|
Re: Realistic Velocity Calculation
Quote:
|
|
#5
|
||||
|
||||
|
Re: Realistic Velocity Calculation
Quote:
|
|
#6
|
|||
|
|||
|
Re: Realistic Velocity Calculation
Quote:
I haven't heard of a team using an optical mouse, but I do vaguely remember a swerve drive team that used a mouse-ball to track it's position in autonomous way back in 2008. I didn't catch which team it was, unfortunately. |
|
#7
|
|||||
|
|||||
|
Re: Realistic Velocity Calculation
WildStang and the TechnoKats collaborated on an odometer experiment using optical mice a decade ago. We determined two things. First, optical mice (at the time) were not capable of keeping up with the velocity of a typical FRC robot. Second, trying to use lenses to focus on the carpet from a few inches away in order to scale the velocity down to something the mouse sensor can handle does not work reliably. The scale varies with height and even a couple of millimeters of bounce throws off the measurements enough for them to be less accurate than a simple wheel speed encoder, even with the wheel slipping.
It's possible that modern mice are more able to track high speed motion. |
|
#8
|
|||||
|
|||||
|
Re: Realistic Velocity Calculation
Quote:
This is known as inertial navigation, and you can very quickly get lost in the intricacies if you're actually trying to use it for more than a few seconds, or in more than two dimensions, or across more than an area the size of, say, an FRC arena. Even staying in a 27-foot square box and limiting yourself to 2 minutes and 30 seconds, it would probably be a good idea to have a "reset" button that you can hit when the robot is actually stopped that sets both values to zero. |
|
#9
|
|||
|
|||
|
Re: Realistic Velocity Calculation
Quadrature Encoders are probably the most accurate way to tell distance. To figure out velocity, make a variable that you set to the position of the encoder at the end of a program cycle, then figure out the change in position divided by the change in time.
|
|
#10
|
|||
|
|||
|
Re: Realistic Velocity Calculation
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|