ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I would suggest a slight modification to what Röhling has suggested.
Modify the willow-erratic.world file slightly, towards the end of the file add ctrl "wander" as shown;
# throw in a robot
erratic( pose [ -11.277 23.266 0 180.000 ] name "era" color "blue" ctrl "wander")
block( pose [ -13.924 25.020 0 180.000 ] color "red")
and now if you try the command
rosrun stage stageros `rospack find stage`/world/willow-erratic.world
you should see the erratic robot move around in a 'wander' mode - moving around randomly avoiding obstacles.
2 | No.2 Revision |
I would suggest a slight modification to what Röhling has suggested.
You can locate willow-erratic.world file at /opt/ros/diamondback/stacks/simulator_stage/stage/world. Modify the willow-erratic.world that world file slightly, towards the end of the file add ctrl "wander" as shown;
# throw in a robot
erratic( pose [ -11.277 23.266 0 180.000 ] name "era" color "blue" ctrl "wander")
block( pose [ -13.924 25.020 0 180.000 ] color "red")
and now if you try the command
rosrun stage stageros `rospack find stage`/world/willow-erratic.world
you should see the erratic robot move around in a 'wander' mode - moving around randomly avoiding obstacles.
3 | No.3 Revision |
I would suggest a slight modification to what RöhlingRöhling's has suggested.approach.
You can locate willow-erratic.world file at /opt/ros/diamondback/stacks/simulator_stage/stage/world. Modify that world file slightly, towards the end of the file add ctrl "wander" as shown;
# throw in a robot
erratic( pose [ -11.277 23.266 0 180.000 ] name "era" color "blue" ctrl "wander")
block( pose [ -13.924 25.020 0 180.000 ] color "red")
and now if you try the command
rosrun stage stageros `rospack find stage`/world/willow-erratic.world
you should see the erratic robot move around in a 'wander' mode - moving around randomly avoiding obstacles.
4 | No.4 Revision |
I would suggest a slight modification to what Röhling's approach.
You can locate willow-erratic.world file at /opt/ros/diamondback/stacks/simulator_stage/stage/world. Modify that world file slightly, towards the end of the file add ctrl "wander" "wander" as shown;
# throw in a robot
erratic( pose [ -11.277 23.266 0 180.000 ] name "era" color "blue" ctrl "wander")
block( pose [ -13.924 25.020 0 180.000 ] color "red")
and now if you try the command
rosrun stage stageros `rospack find stage`/world/willow-erratic.world
you should see the erratic robot move around in a 'wander' mode - moving around randomly avoiding obstacles.
5 | No.5 Revision |
I would suggest a slight modification to what Röhling's approach.
You can locate willow-erratic.world file at /opt/ros/diamondback/stacks/simulator_stage/stage/world. Modify that world file slightly, towards the end of the file add ctrl "wander" as shown;
# throw in a robot
erratic( pose [ -11.277 23.266 0 180.000 ] name "era" color "blue" ctrl "wander")
block( pose [ -13.924 25.020 0 180.000 ] color "red")
and now if you try the command
rosrun stage stageros `rospack find stage`/world/willow-erratic.world
you should see the erratic robot move around in a 'wander' mode - moving around randomly avoiding obstacles.