From 6df8d6823aa6f47c7a869376d8fb8a00009d18c0 Mon Sep 17 00:00:00 2001 From: Daniel Christoph <daniel.christoph@informatik.hu-berlin.de> Date: Sun, 26 Jan 2020 15:04:04 +0100 Subject: [PATCH] Update src/sim/plugins/hello_world.cc --- src/sim/plugins/hello_world.cc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/sim/plugins/hello_world.cc diff --git a/src/sim/plugins/hello_world.cc b/src/sim/plugins/hello_world.cc new file mode 100644 index 0000000..5bdcff0 --- /dev/null +++ b/src/sim/plugins/hello_world.cc @@ -0,0 +1,17 @@ +#include <gazebo/gazebo.hh> + +namespace gazebo +{ + class WorldPluginTutorial : public WorldPlugin + { + public: WorldPluginTutorial() : WorldPlugin() + { + printf("Hello World!\n"); + } + + public: void Load(physics::WorldPtr _world, sdf::ElementPtr _sdf) + { + } + }; + GZ_REGISTER_WORLD_PLUGIN(WorldPluginTutorial) +} -- GitLab