Question: Write a C++ program for this A robot that can rotate on a pedestal has a sensor that measures cartesian coordinates (x`,y`) relative to the
Write a C++ program for this
A robot that can rotate on a pedestal has a sensor that measures cartesian coordinates (x`,y`) relative to the robot itself. It is desired, however, to know object coordinates(x,y) relative to the fixed coordinate system in which the robotes. If the robot is rotated counterclockwise through the angle ? relative to the fixed system,
then coordinates in the fixed system are related to the robot's coordinate system by following transforamtion

where M is the matrix

write a program that takes position in the (x',y') system (as measured by the sensor) and reports the equivalent coordinates in the fixed (x,y) coordinate system for user-input values of ? between 0 and Pi radians
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
