|
|
|
| We win as a team. |
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#31
|
||||
|
||||
|
Re: calculating position using follower wheels
Quote:
Question 6 solution: Spoiler for solution:
Can someone else weigh in with their numbers for this? |
|
#32
|
|||
|
|||
|
Re: calculating position using follower wheels
Quote:
Quote:
After lowering the tolerances and calculating bounds for the error (total error should be less than 1e-7), I got the following revised figures: Spoiler for solution:
New parameters and error analysis: Relative and absolute tolerances set to 10^-12 (previously 10^-6): The error at each step should not exceed max(10^-12, |x * 10^-12|), where x is the current value of the ODE solution Number of ODE solver steps: 1022 Maximum element of the state: 60.8668 Upper bound for error: max(10^-12, |60.8668 * 10^-12|) * 1022 = 6.2267e-08 |
|
#33
|
||||
|
||||
|
Re: calculating position using follower wheels
Quote:
Spoiler for solution:
|
|
#34
|
|||
|
|||
|
Re: calculating position using follower wheels
Quote:
Every solver agreed through the fifth decimal place (for the Y value). The stiff solvers needed significantly larger error tolerances and took more steps; their predicted error was much higher. The nonstiff solvers all agreed through the seventh decimal place. The lowest predicted error was obtained through the ode113 solver, using a relative tolerance of 100 * epsilon and an absolute tolerance of 10^-12. According to my error estimate, all of the following digits are correct: Spoiler for solution:
It was interesting going through all the solvers -- many of the stiff solvers had error estimates in excess of 10^-4. I guess this shows that the choice of solver really can have an effect on the error, and not just the solution time. |
|
#35
|
||||
|
||||
|
Re: calculating position using follower wheels
Quote:
Bleary-eyed, time to call it quits for the night. |
|
#36
|
||||
|
||||
|
Re: calculating position using follower wheels
The large black rectangle in the attached sketch represents a top view of a robot. The forward direction of the robot is upwards in the sketch. The 4 red arrows represent 4 unpowered instrumented (with encoders) omni follower wheels. For each of the wheels, the arrow points in the + direction for that wheel. Question7 Find the formula for the FWD (forward), STR (strafe right), and RCW (rotate clockwise) robot motions in terms of the X1, Y1, X2, and Y2 wheel speeds. |
|
#37
|
||||
|
||||
|
Re: calculating position using follower wheels
Spoiler for Question 7:
Last edited by RyanCahoon : 01-11-2013 at 19:35. Reason: had the rotation sign inverted |
|
#38
|
||||
|
||||
|
Re: calculating position using follower wheels
Looks good to me. Anybody disagree or have questions?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|