Time-Discrete Odometry: Solving Complicated Equations By Hand

  • MHB
  • Thread starter RandomUserName
  • Start date
In summary, the problem is that when applying the second motion, 10 = theta' + 10 - 20 which is just way too complicated for me to solve (and we are supposed to solve this by hand).
  • #1
RandomUserName
6
0
Hello, I have another question regarding my cognitive robotics class. Here is my current task:
View attachment 6205
And this is the slide from the lecture about this topic:
View attachment 6206
Now just plugging in everything I know into the formulas, I get this:
\(\displaystyle \boxed{3 = \sqrt{x'^{2} + y'^{2}}\\
-20 = atan2(y',x')\\
-30 = \theta' - 20}\\
\boxed{y' = \sqrt{9-x'^{2}}\\
-20 = atan2(\sqrt{9-x'^{2}},x')\\
\theta' = -10}\\
\boxed{y \approx 1.026\\
x = 3 \cos(20) \approx 2.819\\
\theta' = -10}\)

But then, when I try to perform the second motion, I get the following:
\(\displaystyle \boxed{10 \approx \sqrt{(x' - 2.189)^{2} + (y' - 1.026)^{2}}\\
20 \approx atan2(y' - 1.026, x' - 2.819) + 10\\
10 = \theta' + 10 - 20}\)
which is just way too complicated for me to solve (and we are supposed to solve this by hand).

Am I doing this right at all? Or is there some other formula that I should use? I haven't been able to find anything that helps me using Google :(
 

Attachments

  • 1.png
    1.png
    12.2 KB · Views: 91
  • 2.png
    2.png
    17.3 KB · Views: 90
Mathematics news on Phys.org
  • #2
Re: time-discrete odometry

RandomUserName said:
Now just plugging in everything I know into the formulas, I get this:
\(\displaystyle \boxed{3 = \sqrt{x'^{2} + y'^{2}}\\
-20 = atan2(y',x')\\
-30 = \theta' - 20}\)

Hi again RandomUserName! (Smile)

Let's take a look at this first step.
First off, shouldn't it be $-30 = \theta' - -20 = \theta' + 20$? (Wondering)

Okay, now for an intermezzo about polar coordinates.
Suppose we have the following right triangle:
\begin{tikzpicture}[ultra thick, font=\Large, blue]
\draw[thin] (4,0) rectangle +(-0.3,+0.3);
\draw (0,0) -- node[below] {$x$} (4,0) -- node
{$y$} (4,3) -- node[above left] {$r$} cycle;
\node[above right, xshift=4mm] (0,0) {$\alpha$};
\end{tikzpicture}
Then we have:
$$r=\sqrt{x^2+y^2}\\ \alpha = \operatorname{atan2}(y,x) \\ x=r\cos\alpha \\ y=r\sin\alpha$$

Can we find $x$ and $y$ from $r$ and $\alpha$ in the problem at hand? (Wondering)​
 
  • #3
Re: time-discrete odometry

I like Serena said:
Hi again RandomUserName! (Smile)

Let's take a look at this first step.
First off, shouldn't it be $-30 = \theta' - -20 = \theta' + 20$? (Wondering)
Yes, you are correct, I messed up the sign there => \(\displaystyle \theta' = -50°\)
I like Serena said:
Okay, now for an intermezzo about polar coordinates.
Suppose we have the following right triangle:
\begin{tikzpicture}[ultra thick, font=\Large, blue]
\draw[thin] (4,0) rectangle +(-0.3,+0.3);
\draw (0,0) -- node[below] {$x$} (4,0) -- node
{$y$} (4,3) -- node[above left] {$r$} cycle;
\node[above right, xshift=4mm] (0,0) {$\alpha$};
\end{tikzpicture}
Then we have:
$$r=\sqrt{x^2+y^2}\\ \alpha = \operatorname{atan2}(y,x) \\ x=r\cos\alpha \\ y=r\sin\alpha$$

Can we find $x$ and $y$ from $r$ and $\alpha$ in the problem at hand? (Wondering)​

Omg, the more complicated the task gets, the more simple stuff I seem to not think of :D

edit:
Ok, I figured out my mistake, was another sign error... But now I'm good. Thank you again!​
 
Last edited:

FAQ: Time-Discrete Odometry: Solving Complicated Equations By Hand

What is time-discrete odometry?

Time-discrete odometry is a mathematical method used in robotics and navigation to estimate the position and orientation of a moving object based on a series of measurements taken at discrete time intervals.

Why is time-discrete odometry important?

Time-discrete odometry allows for accurate and real-time estimation of an object's motion, making it a crucial tool in robotics and navigation systems. It is also used in many other fields, such as computer graphics and animation.

What are the challenges of solving complicated equations by hand?

Solving complicated equations by hand can be time-consuming and prone to human error. It also requires a deep understanding of mathematical concepts and techniques, as well as the ability to apply them accurately.

How does time-discrete odometry solve complicated equations by hand?

Time-discrete odometry simplifies complex equations by breaking them down into discrete and manageable steps. This makes it easier for humans to solve them by hand and reduces the risk of errors.

What are some applications of time-discrete odometry?

Time-discrete odometry has a wide range of applications, including robot localization and mapping, self-driving cars, motion tracking in virtual reality, and animation in film and video games. It is also used in scientific research to study the movement of animals and objects.

Similar threads

Replies
4
Views
1K
Replies
24
Views
2K
Replies
1
Views
5K
Replies
2
Views
2K
Replies
1
Views
7K
Replies
4
Views
1K
Replies
8
Views
1K
Replies
13
Views
2K
Back
Top