From: nlamprian Date: Thu, 20 Aug 2020 21:47:57 +0000 (+0200) Subject: Rename package X-Git-Tag: 0.2.0~2 X-Git-Url: http://git.ece.ufrgs.br/?a=commitdiff_plain;h=3ea244f51514f13121298191c538acaa99da2a93;p=roboticsgroup_upatras_gazebo_plugins.git Rename package --- diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b3aee76..35272ee 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,6 @@ -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Changelog for package roboticsgroup_gazebo_plugins -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Changelog for package roboticsgroup_upatras_gazebo_plugins +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 0.1.0 (2020-08-14) ------------------ diff --git a/CMakeLists.txt b/CMakeLists.txt index bd3523d..1fd2c24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 2.8.6 FATAL_ERROR) -project(roboticsgroup_gazebo_plugins) +project(roboticsgroup_upatras_gazebo_plugins) # Set CMP0054 cmake_policy(SET CMP0054 NEW) @@ -28,17 +28,20 @@ catkin_package( link_directories(${GAZEBO_LIBRARY_DIRS}) include_directories(${Boost_INCLUDE_DIR} ${catkin_INCLUDE_DIRS} ${GAZEBO_INCLUDE_DIRS} include) -add_library(roboticsgroup_gazebo_mimic_joint_plugin src/mimic_joint_plugin.cpp) -target_link_libraries(roboticsgroup_gazebo_mimic_joint_plugin ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES}) +add_library(roboticsgroup_upatras_gazebo_mimic_joint_plugin src/mimic_joint_plugin.cpp) +target_link_libraries(roboticsgroup_upatras_gazebo_mimic_joint_plugin ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES}) -add_library(roboticsgroup_gazebo_disable_link_plugin src/disable_link_plugin.cpp) -target_link_libraries(roboticsgroup_gazebo_disable_link_plugin ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES}) +add_library(roboticsgroup_upatras_gazebo_disable_link_plugin src/disable_link_plugin.cpp) +target_link_libraries(roboticsgroup_upatras_gazebo_disable_link_plugin ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES}) -install(TARGETS roboticsgroup_gazebo_mimic_joint_plugin roboticsgroup_gazebo_disable_link_plugin +install(TARGETS + roboticsgroup_upatras_gazebo_mimic_joint_plugin + roboticsgroup_upatras_gazebo_disable_link_plugin ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} ) + install(DIRECTORY include/${PROJECT_NAME} DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION} ) diff --git a/README.md b/README.md index 0a6e567..1b2fc27 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -roboticsgroup_gazebo_plugins -================ +roboticsgroup_upatras_gazebo_plugins +==================================== Collection of small gazebo plugins ---------------------------------- @@ -59,10 +59,10 @@ A simple (Model) plugin for Gazebo that allows you to disable a link in Gazebo's Usage ------ -Standard Gazebo plugin import inside xacro/urdf. Use **libroboticsgroup_gazebo_** prefix. E.g. if you want to import MimicJointPlugin: +Standard Gazebo plugin import inside xacro/urdf. Use **libroboticsgroup_upatras_gazebo_** prefix. E.g. if you want to import MimicJointPlugin: ``` -libroboticsgroup_gazebo_mimic_joint_plugin.so +libroboticsgroup_upatras_gazebo_mimic_joint_plugin.so ``` Notes @@ -75,5 +75,4 @@ License BSD - Copyright (c) 2014, **Konstantinos Chatzilygeroudis** diff --git a/include/roboticsgroup_gazebo_plugins/disable_link_plugin.h b/include/roboticsgroup_upatras_gazebo_plugins/disable_link_plugin.h similarity index 91% rename from include/roboticsgroup_gazebo_plugins/disable_link_plugin.h rename to include/roboticsgroup_upatras_gazebo_plugins/disable_link_plugin.h index b3bd6c3..3e4eb98 100644 --- a/include/roboticsgroup_gazebo_plugins/disable_link_plugin.h +++ b/include/roboticsgroup_upatras_gazebo_plugins/disable_link_plugin.h @@ -20,8 +20,8 @@ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. **/ -#ifndef ROBOTICSGROUP_GAZEBO_PLUGINS_DISABLE_LINK_PLUGIN -#define ROBOTICSGROUP_GAZEBO_PLUGINS_DISABLE_LINK_PLUGIN +#ifndef ROBOTICSGROUP_UPATRAS_GAZEBO_PLUGINS_DISABLE_LINK_PLUGIN +#define ROBOTICSGROUP_UPATRAS_GAZEBO_PLUGINS_DISABLE_LINK_PLUGIN // ROS includes #include @@ -36,6 +36,7 @@ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISE #include namespace gazebo { + class DisableLinkPlugin : public ModelPlugin { public: DisableLinkPlugin(); @@ -59,6 +60,7 @@ namespace gazebo { // Pointer to the world physics::WorldPtr world_; }; + } -#endif +#endif // ROBOTICSGROUP_UPATRAS_GAZEBO_PLUGINS_DISABLE_LINK_PLUGIN diff --git a/include/roboticsgroup_gazebo_plugins/mimic_joint_plugin.h b/include/roboticsgroup_upatras_gazebo_plugins/mimic_joint_plugin.h similarity index 93% rename from include/roboticsgroup_gazebo_plugins/mimic_joint_plugin.h rename to include/roboticsgroup_upatras_gazebo_plugins/mimic_joint_plugin.h index 39ab0fc..0fa5c09 100644 --- a/include/roboticsgroup_gazebo_plugins/mimic_joint_plugin.h +++ b/include/roboticsgroup_upatras_gazebo_plugins/mimic_joint_plugin.h @@ -20,8 +20,8 @@ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. **/ -#ifndef ROBOTICSGROUP_GAZEBO_PLUGINS_MIMIC_JOINT_PLUGIN -#define ROBOTICSGROUP_GAZEBO_PLUGINS_MIMIC_JOINT_PLUGIN +#ifndef ROBOTICSGROUP_UPATRAS_GAZEBO_PLUGINS_MIMIC_JOINT_PLUGIN +#define ROBOTICSGROUP_UPATRAS_GAZEBO_PLUGINS_MIMIC_JOINT_PLUGIN // ROS includes #include @@ -39,6 +39,7 @@ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISE #include namespace gazebo { + class MimicJointPlugin : public ModelPlugin { public: MimicJointPlugin(); @@ -68,6 +69,7 @@ namespace gazebo { // Pointer to the update event connection event::ConnectionPtr updateConnection; }; + } -#endif +#endif // ROBOTICSGROUP_UPATRAS_GAZEBO_PLUGINS_MIMIC_JOINT_PLUGIN diff --git a/package.xml b/package.xml index 8d14d5c..953dc5a 100644 --- a/package.xml +++ b/package.xml @@ -19,7 +19,7 @@ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVI INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> > - roboticsgroup_gazebo_plugins + roboticsgroup_upatras_gazebo_plugins 0.1.0 Collection of gazebo plugins @@ -29,8 +29,8 @@ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISE BSD - https://github.com/roboticsgroup/roboticsgroup_gazebo_plugins - https://github.com/roboticsgroup/roboticsgroup_gazebo_plugins/issues + https://github.com/roboticsgroup/roboticsgroup_upatras_gazebo_plugins + https://github.com/roboticsgroup/roboticsgroup_upatras_gazebo_plugins/issues catkin gazebo_ros diff --git a/src/disable_link_plugin.cpp b/src/disable_link_plugin.cpp index 9a15838..2e8e2ea 100644 --- a/src/disable_link_plugin.cpp +++ b/src/disable_link_plugin.cpp @@ -20,7 +20,7 @@ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. **/ -#include +#include namespace gazebo { diff --git a/src/mimic_joint_plugin.cpp b/src/mimic_joint_plugin.cpp index 7c06232..c6ad036 100644 --- a/src/mimic_joint_plugin.cpp +++ b/src/mimic_joint_plugin.cpp @@ -20,7 +20,7 @@ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. **/ -#include +#include #if GAZEBO_MAJOR_VERSION >= 8 namespace math = ignition::math;