From 6f188fc1ffa86c643b24435159e3e8ac4e081b94 Mon Sep 17 00:00:00 2001 From: pyo Date: Fri, 12 Aug 2016 23:21:40 +0900 Subject: [PATCH 1/3] added a meta-package --- robotis_framework/CMakeLists.txt | 4 ++++ robotis_framework/package.xml | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 robotis_framework/CMakeLists.txt create mode 100644 robotis_framework/package.xml diff --git a/robotis_framework/CMakeLists.txt b/robotis_framework/CMakeLists.txt new file mode 100644 index 0000000..d336fe9 --- /dev/null +++ b/robotis_framework/CMakeLists.txt @@ -0,0 +1,4 @@ +cmake_minimum_required(VERSION 2.8.3) +project(robotis_framework) +find_package(catkin REQUIRED) +catkin_metapackage() diff --git a/robotis_framework/package.xml b/robotis_framework/package.xml new file mode 100644 index 0000000..170f107 --- /dev/null +++ b/robotis_framework/package.xml @@ -0,0 +1,17 @@ + + + robotis_framework + 0.1.0 + ROS packages for the robotis_framework (meta package) + BSD + zerom + pyo + https://github.com/ROBOTIS-GIT/ROBOTIS-Framework/issues + https://github.com/ROBOTIS-GIT/ROBOTIS-Framework + http://wiki.ros.org/robotis_framework + catkin + robotis_framework_common + robotis_device + robotis_controller + + From caf4884f0517d41db2189b089fa70032c9045e0e Mon Sep 17 00:00:00 2001 From: pyo Date: Fri, 12 Aug 2016 23:31:04 +0900 Subject: [PATCH 2/3] modified the package information for release --- robotis_controller/CMakeLists.txt | 38 ++++++++++++++++++++- robotis_controller/package.xml | 17 ++++------ robotis_device/CMakeLists.txt | 44 ++++++++++++++++++++++--- robotis_framework_common/CMakeLists.txt | 33 +++++++++++++++++-- robotis_framework_common/package.xml | 9 ++--- 5 files changed, 116 insertions(+), 25 deletions(-) diff --git a/robotis_controller/CMakeLists.txt b/robotis_controller/CMakeLists.txt index 97c4a6d..1d94330 100644 --- a/robotis_controller/CMakeLists.txt +++ b/robotis_controller/CMakeLists.txt @@ -1,8 +1,14 @@ +################################################################################ +# CMake +################################################################################ cmake_minimum_required(VERSION 2.8.3) project(robotis_controller) set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}") +################################################################################ +# Packages +################################################################################ find_package(catkin REQUIRED COMPONENTS roscpp roslib @@ -15,13 +21,26 @@ find_package(catkin REQUIRED COMPONENTS dynamixel_sdk ) +################################################################################ +# Declare ROS messages, services and actions +################################################################################ + +################################################################################ +# Declare ROS dynamic reconfigure parameters +################################################################################ + +################################################################################ +# Catkin specific configuration +################################################################################ catkin_package( INCLUDE_DIRS include LIBRARIES robotis_controller CATKIN_DEPENDS roscpp roslib sensor_msgs std_msgs -# DEPENDS system_lib ) +################################################################################ +# Build +################################################################################ include_directories( include ${catkin_INCLUDE_DIRS} @@ -35,3 +54,20 @@ target_link_libraries(robotis_controller yaml-cpp ${catkin_LIBRARIES} ) + +################################################################################ +# Install +################################################################################ +install(TARGETS robotis_controller + 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} +) + +################################################################################ +# Test +################################################################################ diff --git a/robotis_controller/package.xml b/robotis_controller/package.xml index 6dcf6d2..1320cf6 100644 --- a/robotis_controller/package.xml +++ b/robotis_controller/package.xml @@ -3,17 +3,13 @@ robotis_controller 0.1.1 The robotis_controller package - - ROBOTIS - BSD - - - - ROBOTIS - + zerom + pyo + https://github.com/ROBOTIS-GIT/ROBOTIS-Framework/issues + https://github.com/ROBOTIS-GIT/ROBOTIS-Framework + http://wiki.ros.org/robotis_controller catkin - roscpp roslib std_msgs @@ -22,7 +18,6 @@ robotis_device robotis_controller_msgs robotis_framework_common - roscpp roslib std_msgs @@ -30,5 +25,5 @@ dynamixel_sdk robotis_device robotis_controller_msgs - + diff --git a/robotis_device/CMakeLists.txt b/robotis_device/CMakeLists.txt index e492450..abc1965 100644 --- a/robotis_device/CMakeLists.txt +++ b/robotis_device/CMakeLists.txt @@ -1,19 +1,38 @@ +################################################################################ +# CMake +################################################################################ cmake_minimum_required(VERSION 2.8.3) project(robotis_device) +################################################################################ +# Packages +################################################################################ find_package(catkin REQUIRED COMPONENTS roscpp rospy dynamixel_sdk ) +################################################################################ +# Declare ROS messages, services and actions +################################################################################ + +################################################################################ +# Declare ROS dynamic reconfigure parameters +################################################################################ + +################################################################################ +# Catkin specific configuration +################################################################################ catkin_package( INCLUDE_DIRS include LIBRARIES robotis_device CATKIN_DEPENDS roscpp rospy -# DEPENDS system_lib ) +################################################################################ +# Build +################################################################################ include_directories( include ${catkin_INCLUDE_DIRS} @@ -24,9 +43,26 @@ add_library(robotis_device src/robotis_device/sensor.cpp src/robotis_device/dynamixel.cpp ) - add_dependencies(robotis_device ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) +target_link_libraries(robotis_device ${catkin_LIBRARIES}) -target_link_libraries(robotis_device - ${catkin_LIBRARIES} +################################################################################ +# Install +################################################################################ +install(TARGETS robotis_device + 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} +) + +install(DIRECTORY devices/ + DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} +) + +################################################################################ +# Test +################################################################################ diff --git a/robotis_framework_common/CMakeLists.txt b/robotis_framework_common/CMakeLists.txt index 51f0f3f..20c330f 100644 --- a/robotis_framework_common/CMakeLists.txt +++ b/robotis_framework_common/CMakeLists.txt @@ -1,18 +1,45 @@ +################################################################################ +# CMake +################################################################################ cmake_minimum_required(VERSION 2.8.3) project(robotis_framework_common) +################################################################################ +# Packages +################################################################################ find_package(catkin REQUIRED COMPONENTS roscpp ) +################################################################################ +# Declare ROS messages, services and actions +################################################################################ + +################################################################################ +# Declare ROS dynamic reconfigure parameters +################################################################################ + +################################################################################ +# Catkin specific configuration +################################################################################ catkin_package( INCLUDE_DIRS include -# LIBRARIES robotis_framework_common -# CATKIN_DEPENDS roscpp -# DEPENDS system_lib ) +################################################################################ +# Build +################################################################################ include_directories( ${catkin_INCLUDE_DIRS} ) +################################################################################ +# Install +################################################################################ +install(DIRECTORY include/${PROJECT_NAME}/ + DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION} +) + +################################################################################ +# Test +################################################################################ diff --git a/robotis_framework_common/package.xml b/robotis_framework_common/package.xml index 820f4a2..aa42d57 100644 --- a/robotis_framework_common/package.xml +++ b/robotis_framework_common/package.xml @@ -3,13 +3,10 @@ robotis_framework_common 0.1.0 The robotis_framework_common package - robotis - BSD - - ROBOTIS - + zerom + pyo catkin roscpp roscpp - \ No newline at end of file + From b6fd3fc96ab820932a33bd4ba5e2d421c033500c Mon Sep 17 00:00:00 2001 From: pyo Date: Fri, 12 Aug 2016 23:37:57 +0900 Subject: [PATCH 3/3] made and modified the CHANGELOG.rst for release --- robotis_controller/CHANGELOG.rst | 21 +++++++++++++++++++++ robotis_device/CHANGELOG.rst | 20 ++++++++++++++++++++ robotis_framework/CHANGELOG.rst | 8 ++++++++ robotis_framework_common/CHANGELOG.rst | 12 ++++++++++++ 4 files changed, 61 insertions(+) create mode 100644 robotis_controller/CHANGELOG.rst create mode 100644 robotis_device/CHANGELOG.rst create mode 100644 robotis_framework/CHANGELOG.rst create mode 100644 robotis_framework_common/CHANGELOG.rst diff --git a/robotis_controller/CHANGELOG.rst b/robotis_controller/CHANGELOG.rst new file mode 100644 index 0000000..74299e5 --- /dev/null +++ b/robotis_controller/CHANGELOG.rst @@ -0,0 +1,21 @@ +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Changelog for package robotis_controller +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +0.1.1 (2016-08-12) +----------- +* first public release for Kinetic +* modified the package information for release +* develop branch -> master branch +* Merge pull request `#4 `_ from ROBOTIS-GIT/add_sensor_device + Add sensor device +* function name changed : DeviceInit() -> InitDevice() +* Fixed high CPU consumption due to busy waits +* add SensorState + add Singleton template +* XM-430 / CM-740 device file added. + Sensor device added. +* added code to support the gazebo simulator +* added first bulk read failure protection code +* renewal +* Contributors: Alexander Stumpf, ROBOTIS, ROBOTIS-zerom, pyo diff --git a/robotis_device/CHANGELOG.rst b/robotis_device/CHANGELOG.rst new file mode 100644 index 0000000..50c29fd --- /dev/null +++ b/robotis_device/CHANGELOG.rst @@ -0,0 +1,20 @@ +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Changelog for package robotis_device +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +0.1.0 (2016-08-12) +----------- +* first public release for Kinetic +* modified the package information for release +* develop branch -> master branch +* Setting the license to BSD. +* add SensorState + add Singleton template +* XM-430 / CM-740 device file added. + Sensor device added. +* modified. +* variable name changed. + ConvertRadian2Value / ConvertValue2Radian function bug fixed. +* added code to support the gazebo simulator +* renewal +* Contributors: ROBOTIS, ROBOTIS-zerom, pyo diff --git a/robotis_framework/CHANGELOG.rst b/robotis_framework/CHANGELOG.rst new file mode 100644 index 0000000..353baf6 --- /dev/null +++ b/robotis_framework/CHANGELOG.rst @@ -0,0 +1,8 @@ +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Changelog for package robotis_framework +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +0.1.0 (2016-08-12) +----------- +* make a meta-package +* Contributors: pyo diff --git a/robotis_framework_common/CHANGELOG.rst b/robotis_framework_common/CHANGELOG.rst new file mode 100644 index 0000000..7aacc38 --- /dev/null +++ b/robotis_framework_common/CHANGELOG.rst @@ -0,0 +1,12 @@ +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Changelog for package robotis_framework_common +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +0.1.0 (2016-08-12) +----------- +* modified the package information for release +* develop branch -> master branch +* Setting the license to BSD. +* add SensorState + add Singleton template +* Contributors: ROBOTIS, ROBOTIS-zerom, pyo