Ask Your Question
0

how to publish (fake) odometry i.e, getting odometry without robot?

asked 2012-09-05 23:52:30 -0600

Sudhan gravatar image

updated 2012-09-05 23:52:51 -0600

I would like to use the odometry data over rgbdslam package. I do not have any robots. So, Is there any possiblity to publish a fake odometry (for the known distance)?

Thanks in advance for the reply.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2012-09-06 01:00:23 -0600

kszonek gravatar image

One way is to write your own node that will publish fake data. Tutorial for odometry publisher can be found at:

http://www.ros.org/wiki/navigation/Tutorials/RobotSetup/Odom

It requires some changes, but will give you possibility to publish automaticly whatever you need, without any user input. Other option is to use turtlesim and move fake robot around with a teleop (using keyboard or joystick). It will publish odometry for you, so there is no need to wirte any additional code, but you need to keep interacting with robot to generate change in published position.

edit flag offensive delete link more
1

answered 2012-09-06 00:51:07 -0600

davinci gravatar image

Perhaps you can save data from a simulation (turtlebot) using ROSbag and play this data back in your own simulation?

edit flag offensive delete link more

Comments

any links or packages, how to run the turtlebot in simulation...

Sudhan gravatar imageSudhan ( 2012-09-06 01:04:36 -0600 )edit
1
davinci gravatar imagedavinci ( 2012-09-20 00:31:24 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-09-05 23:52:30 -0600

Seen: 1,894 times

Last updated: Sep 06 '12