Closed ayamada0614 closed 11 years ago
roscreate-pkg OpenIGTLinkPluginForROS gazebo roscd OpenIGTLinkPluginForROS
cd OpenIGTLinkPluginForROS mkdir src mkdir lib mkdir build
Insert a line below to CMakeLists.txt: rosbuild_add_library(YOUR_PACKAGE_NAME PATH_FOR_YOUR_PLUGIN_SOURCE_FILE)
The following line should be inserted into CMakeLists.txt: rosbuild_add_library(OpenIGTLinkPluginForROS src/OpenIGTLinkPluginForROS.cpp)
Update your manifest.xml to insert the path for lib file
The following plugin paths should be inserted: Please change the character " to the markup character.
"export" "gazebo plugin_path="{prefix}/lib" gazebo_media_path="${prefix}" /" "/export"
I understood it. this issue is the almost same as the issue #15's tutorial.
Create ROS package for our plugin software
Reference: Plugin introduction
Create commands: roscreate-pkg gazebo_tutorials gazebo export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:pwd