Open Seher-789 opened 3 months ago
Hi,
Please provide descriptive information of what the issue is that you are facing.
Hi thank you for your response i want to spawn my robot(two differential robot) and i spawned the robot but it is spawned in empty world even i sourced it correctly and increase the sleep time but still i am facing the issue. this empty world issue i am facing when i spawned my robot
You mean 2 different robots or a differential drive robot?
Please provide the code changes that you mage to spawn the robot and the full list of commands you execute to run the training.
thank you for response i spawned my robot but i am facing this error and my robot is collide with obstacles. i made these changes and error i am encountering can you please guide me
Your robot object is not named "chase_robot" so every time you try to reset you get an error regarding it.
Since you have changed the robot model but still are calling the pioneer3dx.gazebo.launch I assume you have changes made in that file. That is where i would look for the problem.
i made the changes in pioneer3dx.gazebo.launch but i am facing this error
one more question my robot name is chase_robot so the model should i keep it as chase_robot or r1?
So your issue is that robots name is different from what you think it is in gazebo. When you call reset with "chase_robot" there is no such element so it is not reset. It does not matter if the name is "chase_robot" or "r1", the gazebo should spawn it with the right name, and that is not happening here.
My guess is that spawner still takes the default value in the pioneer3dx.gazebo.launch file that you have set to "robot_second" and that is how the robot model is named in gazebo. You should check what the name of your robot is in gazebo after it has been spawned. Alternatively, you can replace the default "robot_second" with "chase_robot" and see if that works.
hi thank you for help, i spawned my robot and my robot is collide with obstacles but collision rate is zero 0.000 can you help me in this
It is hard for me to understand what the issue is here. When do these collisions happen and how do they happen? Do they happen in validation stage or during training?
Please try to understand the code first and asking specific questions providing all the information as it is very difficult to help with general questions without descriptions.
its happened during training and i changed the seed value as well
Please read through the code and try to understand what the collision rate measures
i have spawn my robot but the problem is that it spawn the robot in empty world even my robot is moving.