![]() |
Re: Mecanum Encoders
Quote:
|
Re: Mecanum Encoders
Just as an update, I checked all wheel positions and they are mounted in the proper orientation where the rollers make an "X" towards the center. I also figured out what was wrong with the strafing/rotating. All I had to do was invert 2 motors, both of the left side mecanum wheels and the robot now can strafe, drive foward/backwards and rotate with ease. previously we could only Go forward and backward and rotate or go forward and backward and strafe. This brings up the old problem however...
Upon strafing at higher speeds, the robot spins out since the wheels don't turn at a constant speed. I have everything programmed in, the encoders, accelerometer, and gyro, I just need to know how to implement them into the code. Thanks! |
Re: Mecanum Encoders
Quote:
Quote:
|
Re: Mecanum Encoders
Quote:
|
Re: Mecanum Encoders
Sorry Ether, I forgot to record this but I will do it tonight.
Alan, the problem is I don't understand how to incorporate the gyro back into the code after pulling the value out. |
Re: Mecanum Encoders
Quote:
|
Re: Mecanum Encoders
Quote:
|
Re: Mecanum Encoders
The way I envisioned it, and correct me if I'm wrong, is that the gyro will capture the value of the angle that it is currently facing. This would work for any direction so that when you strafe, rather than having part of the robot swing out, the gyro will force the robot to maintain this header.
|
Re: Mecanum Encoders
Quote:
|
Re: Mecanum Encoders
Quote:
|
Re: Mecanum Encoders
Quote:
|
Re: Mecanum Encoders
Thanks so much Ether, after I post this I'm going to look into a "Zero Velocity Reset" and the Kalman Filter to see if these can help me accomplish my goals.
|
| All times are GMT -5. The time now is 20:17. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi