How to I set a robot pose in stage
Hi
is it possible to set the pose [x,y, alpha] of the simulated robot in stage via ROS?
Greetings
Hi
is it possible to set the pose [x,y, alpha] of the simulated robot in stage via ROS?
Greetings
Are you talking about setting the initial position? You can set this by modifying your .world file. Example:
roomba( pose [ 3.2 8 0 0 ] name "roomba_0" color "red")
where roomba is the name of the model of my robot. The first argument of pose is the x position, the second is y position, third z position and the last is the orientation of the robot.
Another way to set the robot's position is to click on it and drag to the desired position.
Hello Lucas I would like to set the robots pose while the simulator is running.
If you want to set the robot's position while the simulator is running, you can click on the robot and drag it to the position that you want.
Hello and thanks for your comments. But I like to set and change the pose of the robot while the simulation is running. I have to run tests and I do not want to place the robot always with the mouse. Greetings and thanks again
Hello,did you find a solution to this? can you share it? thanks
In agreement with lucascoelho, I cite an example. If you check out this tutorial, http://www.ros.org/wiki/stage/Tutorials/IntroductiontoStageControllers and have a look at the roomba-wander.world file, then
pose [ -8 6 0 0 ]
is the pose [x y z alpha] that you are looking for; x = -8, y = 6, z = 0 and alpha = 0.
Once the simulation has started, you can see the realtime pose, by clicking on the robot.
Hello Arkapravo, I would like to set the robots pose while the simulator is running. Any ideas?
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2012-03-12 04:34:05 -0600
Seen: 1,886 times
Last updated: Mar 12 '12
Stageros: how to programmatically set the pose of a simulated robot
Moving turtlebots with code in stage
custom message for matrix or 2d array
Player/Stage installation issues [closed]
rviz to create png/jpeg maps of the environment
PoseStamped and Pose type difference
Multiple turtlebot 3 simulation in ROS2
How to test SLAM algorithms on a .bag file?
rviz2 cannot show LaserScan messages in ROS2 dashing with gazebo
I would like to set the robots pose while the simulator is running. Any ideas?
@Markus Bader Have a look, http://answers.ros.org/question/12384/change-simulator-stage-model-configurations-in