admin
|
I received some really interesting test data from Lefteris about performance of the mouse sensor. My basic question was whether a single sensor could track the motion of the robot moving on a curve, and here were his test results - ========================== Lefteris wrote - As for the sensor I did some tests. I don't know if you remember but the SRV-1 I am working on has a slightly big bias on the left motor. So for me going 99% straight is (53,41). There is unfortunately no 100% value Going with these values for 1.20 meter gives back values : dX: +13159 dY: + 48 The above means a little bit bias on the left has accumulated in the 1.20 meters that we walked. If it was minus it would mean right. Of course all these are relative to the way you position the sensor. Now let's go like the ones you got in the official firmware. With -15(left),+15(right). With (53-15,41+15), here are some values as read by the sensor : dX: + 4806 dY: + 627 dX: + 4927 dY: + 634 dX: + 5045 dY: + 646 dX: + 5166 dY: + 659 dX: + 5285 dY: + 671 dX: + 5405 dY: + 685 dX: + 5521 dY: + 701 dX: + 5578 dY: + 708 dX: + 5702 dY: + 722 dX: + 5819 dY: + 737 dX: + 5942 dY: + 754 dX: + 6065 dY: + 768 dX: + 6185 dY: + 784 dX: + 6301 dY: + 794 dX: + 6420 dY: + 805 dX: + 6541 dY: + 815 You can easily understand that it turned here, towards left. With (53+15,40-15) Here are some values read by the sensor .... dX: + 3028 dY: - 1308 dX: + 3121 dY: - 1334 dX: + 3224 dY: - 1351 As you can see ... the turn was REALLY steep the second time because 25 as pwm value for the right motors was ... well low. I think that you can easily understand by the ratio of the forward movement to the Y axis movement and the Y value which way you are going.
|