Home | Tutorials | Wiki | Issues
Ask Your Question
0

how to make curved pavement?

asked 2018-04-12 10:24:18 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I'm trying to make world file which represents house-area like environmment

(There are a few houses and grass. Road lies by houses and across grass)

The problem I'm struggling with is to build road

I know for asphalt road, I can use road element in the world file

But there are 2 problems

  1. The road I want is pavement or a dirt road. (I have texture images). But the road element only shows asphalt road

  2. I want smoothly curved roads. The road element only connect each points. Thus it's not smooth

Please tell me how to make world files that have smoothly curved not asphalt road?

Thanks in advance

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2018-04-13 10:04:21 -0500

nkoenig gravatar image

The SDF road element is a nice prototyping tool, but lacks the fidelity that you are seeking. A custom curved and textured road should be created in a 3D modeling tool of your choice (blender, sketchup, etc). Then you can use the resulting mesh as your road.

edit flag offensive delete link more
0

answered 2018-04-13 09:10:47 -0500

Raskkii gravatar image

1) If you're using the road tags in your world file, then the road element has a sub-element of material that you can specify.

SDF reference: http://sdformat.org/spec?ver=1.6&elem...

Here's a link to help you make your custom materials: http://answers.gazebosim.org/question...

2) I'm not aware of any possibilities in making curved roads. You would probably have to make your own custom models for that. You could make something like a railing or something. You can make objects like these in Blender or some other 3D-modelling software and then export them to be used in Gazebo.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-04-12 10:24:18 -0500

Seen: 78 times

Last updated: Apr 13