|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Localization of A Omni-Directional Robot
Quote:
You might find this post of interest (and also the rest of the post in that thread). |
|
#2
|
|||
|
|||
|
Re: Localization of A Omni-Directional Robot
Quote:
|
|
#3
|
|||
|
|||
|
Re: Localization of A Omni-Directional Robot
This all looks great, how would you recommend using a gyro with the three follower wheels.
Thanks |
|
#4
|
|||
|
|||
|
Re: Localization of A Omni-Directional Robot
Quote:
Ether's papers on controlling an omnidirectional drive apply in the reverse direction in order to find your movement based on encoders. |
|
#5
|
|||
|
|||
|
Re: Localization of A Omni-Directional Robot
The biggest issue with this method is wheel slippage. Say I accelerate to quickly, or I get into a pushing match and my wheels start to spin because they lost traction. All of a sudden my robot thinks it's 5 feet further forward than it actually is. By getting feedback from unpowered wheels or a laser, you know that whatever movement you detect should in theory be the exact actual movement of your robot.
|
|
#6
|
|||
|
|||
|
Re: Localization of A Omni-Directional Robot
Quote:
|
|
#7
|
||||
|
||||
|
Re: Localization of A Omni-Directional Robot
Quote:
If you have three followers in the correct configuation, you can get rotation from the follower encoders. If you want, you can compare that to a gyro reading to see how well they agree. My guess is that a properly installed, calibrated, and initialized gyro will give better accuracy in most cases. |
|
#8
|
|||
|
|||
|
Re: Localization of A Omni-Directional Robot
Quote:
I think it'd be helpful and educational for many FIRST teams if there were to be a documented project (w/hardware diagram, sample code and statistical results) which details accuracy findings w/the localization approach using encoders and follower wheel you're looking into. If you're interested in taking on that scope of a project, I'd be happy to give you a navX MXP board for free that you can use for this work. I realize this may not work because you're asking about VEX, but if it sounds interesting to you let me know, and I can try to help w/some advice on getting it to work on a Vex robot. P.S. I was speaking this year with a mentor on the "Thunder Down Under" (team 3132 from Australia, they made it to Einstein this year), and they were using a similar approach (encoders for X/Y displacement, navX MXP for rotation); I don't have any statistics on how well that worked, but I know it's been attempted and believe it appears promising. Of course, it all comes down to your accuracy requirements, as Ether said earlier.... Last edited by slibert : 01-06-2015 at 23:08. |
|
#9
|
||||
|
||||
|
Re: Localization of A Omni-Directional Robot
mount an accelerometer and take the second anti-derivative of the data and that will give you the position in the x and y axis off of origin.
|
|
#10
|
||||
|
||||
|
Re: Localization of A Omni-Directional Robot
Quote:
Someone might take it seriously. |
|
#11
|
||||
|
||||
|
Re: Localization of A Omni-Directional Robot
https://www.khanacademy.org/math/int...e-acceleration
thats how gyro's calculate the the position from rate, although that might get a bit tricky(er) taking the second riemann sum , would have to come up with way to find the constant definitively. Last edited by teslalab2 : 03-06-2015 at 08:35. |
|
#12
|
||||
|
||||
|
Re: Localization of A Omni-Directional Robot
Quote:
|
|
#13
|
||||
|
||||
|
Re: Localization of A Omni-Directional Robot
dang thats a shame, I was hoping we could use that for autonomous
![]() |
|
#14
|
|||||
|
|||||
|
Re: Localization of A Omni-Directional Robot
For 15 seconds, you can possibly get away with it, depending on how precisely you need to hit your mark (1/4" or 6") to succeed. It would probably be better than "50% power for 3 seconds" but nowhere near as good as encoders on the wheels.
|
|
#15
|
|||
|
|||
|
Re: Localization of A Omni-Directional Robot
Quote:
[As an aside, I think this video is really instructive in general about MEMS inertial sensors/magnetometers and sensor fusion like that used in navX MXP. If you're interested in this kind of thing, I think it's worth watching the entire video.] As discussed in the video, the errors are not only due to accelerometer noise, but also because gravity must be removed from the acceleration data, and there can be errors in this process too. This still leaves this question: how accurate is it? The latest firmware of the navX MXP implements the algorithms described in this paper: "Implementing Positioning Algorithms Using Accelerometers", and was used to run some tests. Note that this paper also discusses that this approach is not expected to be high accuracy. We're still reviewing all the data, but with the navX MXP we see times when the displacement calculated is accurate to a centimeter, but at other moments in time the displacement calculation is not at all accurate (in fact in certain cases instead of indicating forward motion, the displacement is in the opposite direction, this is seen even in the integrated velocity data). So this is not promising for use in Autonomous. However, there are a few things to keep in mind as we move ahead. First, at some point in time accelerometer technology will likely be sufficient/affordable to make this viable. We're definitely not there yet, though. Second, since the first derivative of acceleration is velocity, and there will be less error in velocity estimates since integration only occurs once, the velocity estimation data may be useful for certain things. For instance, velocity estimation could be used to detect wheel slip, in case one wasn't able to measure the motor current to do that. Velocity estimation could also be used to attempt to maintain a consistent velocity even when wheel slippage is occurring. There are surely many applications for velocity estimation beyond that. Third, given that sometimes the accelerometer displacement data is valid, this indicates potential for additional sensor fusion. Given that the encoders are widely believed to be more accurate at displacement estimation than accelerometer-derived displacement - but encoders are unreliable during cases of wheel slip - a reasonable approach (I saw this suggested awhile ago on ChiefDelphi) may be to detect wheel slip, then verify the current inertial velocity estimates are realistic and if they are fall back to the accelerometer-based displacement data during this time. In cases where both are deemed unreliable, a best guess based upon interpolation from last valid estimates of velocity would be required. Sounds kinda complicated, but sounds plausible enough that it's worthy of some research. If there's more interest in this area of research, please feel free to private message me. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|