Question: Two robots in the Turtlesim environment It will happen. [ You can add a new robot to the environment by using the spawn service in
Two robots in the Turtlesim environment
It will happen. You can add a new robot to the environment by using the spawn service in Turtlesim. Robots
state vector xytheta
T
It is shown with Here x and y represent the position of the robot in the D environment; if theta
shows the direction angle. RobotT
; Robot can be used randomly, provided that it is in the working environment.
It will start in a state determined as
A motioncontroller ROS node will be written for each robot.
Robots motion controller follows Robot from the specified distance.
should be designed. Robot can access Robots state information. As a controller,
PID will be used. In my consultancy, those who do graduation projects on robotics can use PID as well as Pure
They will also implement Pursuit and Stanley controllers.
Robots motion controller should be designed according to the following motion strategy:
o Robot moves at the current direction angle and determined constant speed.
o When Robot reaches the border of the working environment, randomly choose one of the two strategies below.
It will move selectively: i It moves like the reflection of light from a mirror. So come
The angle made by the direction of rotation with the normal is equal to the angle made by the direction of rotation with the normal. ii
It will determine the rotation angle randomly.
The speeds and following distances of the robots linear and angular are sent parametrically, initially as JSON data.
must be read from the file.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
