|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: I got it to work! USB mice
So it reads in pixels then you'd divid it by your dpi. How accurate is it?
|
|
#2
|
||||
|
||||
|
Re: I got it to work! USB mice
I'd also like to know... In my experience most mouse only maintain about 95% accuracy (meaning that the same motion repeated an infinite number of times will have a 5% deviance in delta distance). At the start of the season I expected to integrate the accelerometer to obtain velocity, but it's noise is horrendous. If the mouse gets good data, than it might be a good option.
Also, whats the issue with Code:
MouseInfo.getPointerInfo().getLocation().x Last edited by Arhowk : 20-02-2015 at 12:51. |
|
#3
|
|||
|
|||
|
Re: I got it to work! USB mice
This would be used to replace the gyro then? How close to the ground does the mouse have to be?
|
|
#4
|
||||
|
||||
|
Re: I got it to work! USB mice
This is a pretty awesome achievement. Position this guy at the center of rotation, and the measurement is very precise. Do you know if it works on the HDPE surface of the scoring platform? I know mice tend to go crazy if used on glass, or sometimes even an overly-polished conference room table.
|
|
#5
|
||||
|
||||
|
Re: I got it to work! USB mice
Quote:
Quote:
Quote:
Quote:
I do not know if it will work on the scoring platform. All it needs is imperfections on the surface at least 1/500th of an inch for it to work. Even if not, the main purpose of this was to drive precisely in auto, and we can just tell it to go around. |
|
#6
|
||||
|
||||
|
Re: I got it to work! USB mice
hm. The only issue I see is sensor distance. I have a laser mouse with me ATM and I can only hover it ~1cm above the mousepad for it to pick up, any higher and the cursor doesn't move. How far above the carpet does your team plan to mount your mouse? My biggest fear would be chipping the mouse when going over the bump
|
|
#7
|
|||
|
|||
|
Re: I got it to work! USB mice
Quote:
|
|
#8
|
||||
|
||||
|
Re: I got it to work! USB mice
We are looking at options for tracking position ahead of next build season. Can you share how you physically mounted the mouse (pics), and any performance information you gained this season (how well it worked)?
Thanks! |
|
#9
|
|||
|
|||
|
Re: I got it to work! USB mice
Quote:
I still do intend to update this thread with any information once we have it |
|
#10
|
||||
|
||||
|
Re: I got it to work! USB mice
This would be useful in the coming season!
Correct me if I'm wrong, in order to use an optical mouse to track the robot's position it has to be centered around the rotation axis of the robot, otherwise it will sense rotation in place as a change in the robot's position. |
|
#11
|
|||
|
|||
|
Re: I got it to work! USB mice
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|