Problem 44820. Relative pose in 2D: problem 2
We consider a world reference frame denoted by {0} which has its x-axis pointing east and its y-axis pointing north. There is a robot with an attached body-fixed coordinate frame {B} whose origin is in the centre of the robot, and whose x-axis points in the robot's forward direction.
With respect to the robot's coordinate frame, the world frame origin is at a distance of 67.2m in the x-direction and 32.4m in the y-direction, and at a bearing angle of 42 degrees.
Write a 3x3 matrix homogeneous transformation matrix that expresses the pose of the robot frame {B} with respect to the world frame {O}.
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
goc3
on 12 Apr 2022
The test suite has been updated.
Shawn Khera
on 19 Feb 2024
It keeps telling me my x and y aren't in the correct format? Any hints?
Christian Schröder
on 20 Feb 2024
@Shawn your solution 13173783 is almost correct, but you're returning the inverse of T rather than T.
(This is easily fixed by explicitly taking the inverse, but you don't need to do that; you can compute the correct T directly.)
Solution Comments
Show commentsProblem Recent Solvers94
Suggested Problems
-
2633 Solvers
-
Cell Counting: How Many Draws?
2125 Solvers
-
How long do each of the stages of the rocket take to burn?
326 Solvers
-
Implement a bubble sort technique and output the number of swaps required
321 Solvers
-
336 Solvers
More from this Author16
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!