Home | Tutorials | Wiki | Issues
Ask Your Question
0

Location of Souce code for Plugins on our local machine

asked 2015-11-11 23:33:44 -0600

meha gravatar image

Where are the source code for plugins present in the gazebo source on our machines? For example, what is the location of this file https://bitbucket.org/osrf/gazebo/src... ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2015-11-12 05:22:33 -0600

AndreiHaidu gravatar image

Hi,

depending on how you installed gazebo:

a) If from source, then the file is where you downloaded the repository:

/MyPath/gazebo/plugins/RandomVelocityPlugin.cc

b) If from debian (sudo apt-get install gazebo..):

you can find only the header file by running $ locate RandomVelocityPlugin.hh, it should give you a path similar to: /usr/include/gazebo-5.1/gazebo/plugins/

edit flag offensive delete link more

Comments

Thanks, I had found the header, but wasn't able to figure out why the source c++ file isn't there. Is there any way I can add it to my source? OR In which folder can I try out writing new plugins?

meha gravatar imagemeha ( 2015-11-12 12:42:12 -0600 )edit
1

If you install from debian you don't get the source files, you need to download the repository. If you want to start writing plugins you do it differently. Check out the plugin tutorials: http://gazebosim.org/tutorials?cat=write_plugin

AndreiHaidu gravatar imageAndreiHaidu ( 2015-11-12 15:06:39 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-11-11 23:33:44 -0600

Seen: 53 times

Last updated: Nov 12 '15