Home | Tutorials | Wiki | Issues
Ask Your Question
0

Write a Plugin. Should I know clearly about the function defined by gazebo if I want to write a plugin by myself?

asked 2017-08-17 06:12:24 -0600

Ji Cai gravatar image

I read about the tutorial of Write a Plugin. I don't understand the functions listed by the tutorial. Do you think I should learn about the header files first?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-08-28 09:17:49 -0600

chapulina gravatar image

Gazebo's API is quite extensive, so it's probably not viable to "learn" all the functions. Depending on your use case, only a fraction of the functions will be relevant. For example, if you want to apply forces and velocities to parts of your robot, you'd need some functions from gazebo::physics::Link API. To tune a camera sensor, you'd look at gazebo::sensors::CameraSensor and so on.

Instead of going through the API, I suggest you search for keywords related to the problem you're trying to solve and go through some related tutorials and examples first. This way, you naturally start becoming familiar with the functions.

edit flag offensive delete link more

Comments

Thank you for your answer. It really helps me out!

Ji Cai gravatar imageJi Cai ( 2017-08-29 23:18:17 -0600 )edit

Glad to help :) Be sure to mark the answer as correct if that was enough for you, so other users can know in the future.

chapulina gravatar imagechapulina ( 2017-08-30 10:40:01 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-08-17 06:12:24 -0600

Seen: 608 times

Last updated: Aug 28 '17