Ask Your Question
2

Start to teleop My own Robot Model

asked 2014-03-31 00:48:16 -0500

salma gravatar image

updated 2014-03-31 11:31:37 -0500

Hi , I built my own robot model as a urdf file .. Like In this Tutorial

It looks In RVIZ : image description

Now, I want to start to test apps on my model like teleop to start to move it with Keyboard .

What Should I do ?? I think firstly Open a world to Gazebo Secondly, Load my robot on the world .... I DON'T Know HOW ??????????? Third, Start to operate teleop node to start to move .... I WANT a CODE fit to my robot model ?? Actually I can't find a Stack that can operate apps on my robot

thanks

edit retag flag offensive close merge delete

Comments

hello salma , i am now working on same you project , really i found the problems in the control for move it . i want your help if you have a time for give me some indications ! thank you . my gmail : raissimohamedimam@gmail.com for contact me . i am in wait your help by all passion ! thank you

raissi gravatar image raissi  ( 2016-06-07 20:10:44 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
1

answered 2014-04-04 00:31:13 -0500

demmeln gravatar image

You will need gazebo to simluate your robot. This is not trivial and might need some work. However, I think the gazebo tutorials are actually quite good. There is a lot of documentation. I would start with the general gazebo tutorials and then once you understand how it works, check out the tutorials which are specific to gazebo+ROS http://gazebosim.org/wiki/Tutorials#R... .

edit flag offensive delete link more

Comments

Hi demmeln, I have finished my robot description files About environment world in gazebo, Not a problem I will use the default gazebo world file The issue now that i want to use the teleop app like that in the turtlebot SDK or whatever on my own robot But i didn't find any apps on a similar robot based on wild thumper base on ROS

salma gravatar image salma  ( 2014-04-04 12:30:17 -0500 )edit

Salma if your version of ROS is Hydro you need to install gazebo 1.9, this version is the compatilbe with hydro. http://gazebosim.org/wiki/1.9/installhttp://gazebosim.org/wiki/Tutorials/1.9/Installing_gazebo_ros_Packages

Raul Gui gravatar image Raul Gui  ( 2014-04-09 02:12:39 -0500 )edit

@salma: Did you go through all the gazebo tutorials?

demmeln gravatar image demmeln  ( 2014-04-09 06:29:44 -0500 )edit
2

In my case I did all gazebo tutorials of gazebo version 1.9. The important ones are: 1.Building a Robot With SDF, explain how to build your robot and add a sensor to your robot too; 2.Making a World, you need to create a world to run in gazebo and do spwan of your robot; 3. ROS Integration, explain how to do a roslaunch to run your world and do spwan of your robot. My advise is, if you don't understand what they are saying, install the package of turtlebot and see how it works. http://wiki.ros.org/Robots/TurtleBot Ahhh another advise, use xacro to build your robot not sdf because, xacro you can find more support info. In this moment I am working with turtlebot, and I can run him in gazebo without any problems.

Raul Gui gravatar image Raul Gui  ( 2014-04-10 06:48:38 -0500 )edit

Hi Raul, demmeln I have finished my robot model description and a world on gazebo . I have tried turtlrbot teleop package and it works well now on Gazebo :). Now i want to build a map by gmapping . I have opened Rviz but some error occur in RobotModel plugins and laser scan plugins. i am working to fix them. thanks all for your help.

salma gravatar image salma  ( 2014-04-12 10:59:23 -0500 )edit
2

Hi Salma, do you have a error on Global Status Error too? if yes, may be you have Global Options "Fixed frame: map" you need to put here a link of your robot, in turtlebot that is my case is "base_link". This will fix the Global Status and RbotoModel. The LaserScan is too the topic problem I think, in normal cases the topic that public data of laser is "/scan", search using this "rostopic list" or "rqt_graph", and find which topic is publishing, use too "rostopic echo /nametopic" to see the values. I hope this helps.

Raul Gui gravatar image Raul Gui  ( 2014-04-14 23:23:02 -0500 )edit

Hi Raul, Yes this helps me thanks very much.

salma gravatar image salma  ( 2014-04-15 02:28:36 -0500 )edit
1

answered 2014-04-03 10:51:18 -0500

This is probably not the correct answer as I'm confused myself. I believe you need to create a world file that contains your robot (including joints and collision definitions) and open that world file in Gazebo. At that point you can use the force menu in Gazebo to manually apply forces to the robot joints and move your robot around the simulated world. What it takes to get your own robot control code running and connected to the simulated robot joints, I do not know. The Gazebo tutorials seem disjointed to me. I wish they would take a newbie from an empty world all the way through creation of a robot model and then creation of robot control software and then execution of that robot control software within the Gazebo simulation.

edit flag offensive delete link more

Comments

Hi Kurt, I have finished my robot description files About environment world in gazebo, Not a problem I will use the default gazebo world file The issue now that i want to use the teleop app like that in the turtlebot SDK or whatever on my own robot But i didn't find any apps on a similar robot based on wild thumper base on ROS

salma gravatar image salma  ( 2014-04-04 12:29:04 -0500 )edit
0

answered 2014-04-03 00:50:58 -0500

Edmodi gravatar image

Hi Salma, I need the same for my own car robot. Have you make any progress?

Thanks

edit flag offensive delete link more

Comments

This is not a chat. Don't use the answer feature if it doesn't answer the question. Use comments instead.

demmeln gravatar image demmeln  ( 2014-04-03 05:10:59 -0500 )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

3 followers

Stats

Asked: 2014-03-31 00:48:16 -0500

Seen: 1,809 times

Last updated: Apr 04 '14