Home | Tutorials | Wiki | Issues
Ask Your Question

l0g1x's profile - activity

2018-10-05 02:35:40 -0600 received badge  Good Answer (source)
2015-12-28 16:23:32 -0600 commented answer Problem adding gazebo_ros_control plugin in sdf model and running in gazebo

What about including ros_control in the sdf file? If i include the ros_control plugin in the sdf file, I get a error: `Could not find the 'robot' element in the xml file` . An sdf file for a model does not contain the "robot" tag, but instead "model". Does anyone know how to go about this?

2015-12-28 16:10:01 -0600 commented question Rotating ray sensor (SDF)

any progress on this?

2015-10-22 06:42:49 -0600 received badge  Nice Answer (source)
2015-09-24 14:25:22 -0600 answered a question OpenStreetMap for Gazebo
2015-09-24 14:18:53 -0600 commented question Aruco Detection in Gazebo VS Real Life

i have the same experience. Do you have any new information about this?

2015-09-24 14:04:56 -0600 commented question Gazebo crashes when inserting Camera (in Virtual Machine with Ubuntu Vivid + ROS Jade)

which VM are you using? Parallels 10 works perfectly for me with gazebo 5 (gazebo 2.2 not so much)

2015-07-01 18:54:37 -0600 commented answer OSM/Google Maps with Gazebo

Try this command to just see if its working ./gz_osm.py -O testFiles/map1.osm i pulled fresh from the repo and it works for me. Im going to make a simple interactive gui to make things easier to use, rather then command line arguements.

2015-06-30 19:17:50 -0600 commented answer OSM/Google Maps with Gazebo

sorry, forgot to mention that i disabled some feature to make debugging faster. either you can uncomment the stuff for custom boundaries, or manually download a .osm and load that.

2015-06-27 21:39:52 -0600 received badge  Editor (source)
2015-06-27 20:58:59 -0600 answered a question OSM/Google Maps with Gazebo

You can view my fork here: https://github.com/l0g1x/gazeboosm of tashwins gazeboosm fork (she had unmerged changes into upstream).

I currently took out everything except roads as I have a similar need. I also changed the texture of the road to a simple color for now as the default road texture with lines did not visually merge nicely at intersections, junctions, etc.. It also seems that the osmapi does not give osm node data only from within the boundary box specified. I fixed this and now the outFile.sdf loads alot quicker (within 1 second for me).

Working on it now, so hopefully by tonight ill implement a cubic hermite spline to be applied to the roads/road interections/road junctions to make the roads alot smoother. However, i think this should be done from within the gazebo source for Road2d.cc. But maybe it might be better to already supply smoother points from a higher level (like gazebo_osm)

EDIT: I should also mention that the option of using data from google maps i think is out of the question as it is in their terms of service agreement. Reference here: https://support.google.com/maps/answe...

EDIT2: (June 29th) So i have made some progress with implementing a hermite spline to an individual road, however its not perfect and theres still a couple of bugs, but they dont affect the generation of the world file, just the output of the roads once you launch the world has few hickups; primary one being checking if a road contains at least 3 points so that a spline can be applied. Im just learning about splines, but i have a good grasp on it after working on it for past couple of days and reading couple books. Hopefully the ticket to revive the package gets bumped so there is more support for osm with gazebo.

2015-06-18 01:19:10 -0600 received badge  Teacher (source)
2015-06-18 01:19:10 -0600 received badge  Necromancer (source)
2015-06-17 18:25:05 -0600 answered a question When importing a URDF model, how are package:// URIs parsed?

If you do not want to have your model in two different places like @hsu said (GAZEBO_MODEL_PATH and ROS_PACKAGE_PATH) then what you can do is edit the launch file for your model's package, and after the <launch> tag, but before you run any gazebo related stuff, insert an <env> tag which will allow you to temporarily set that environment variable, without changing across your entire system. http://wiki.ros.org/roslaunch/XML/env

Here would be an example:


  <env name="GAZEBO_MODEL_PATH" value="$(find surus_sim)"/>

  <param name="robot_description" textfile="$(find surus_sim)/robots/surus_sim.sdf" />
    args="-sdf -param robot_description -model surus_sim"

and then in your SDF (and i believe this would work for URDF too) you specify the path of your mesh(s) relative to the value specified in the <env> tag.

        <scale>1 1 1</scale>
2014-11-20 10:29:39 -0600 commented question "save as" feature not saving light info into world file

Do you know if its a seemless upgrade from gazebo 2.2 --> 4.x when involving ros plugins?

2014-11-17 14:40:11 -0600 received badge  Supporter (source)
2014-11-17 14:39:10 -0600 commented question "save as" feature not saving light info into world file

I am also running into same problem. Anyone know answer to this? None of the three light sources save. It might be because they are not technically 'models'?