Skip to content

Commit

Permalink
Added indigo and groovy separated version
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessio Tonioni committed Nov 21, 2015
1 parent a16ed7c commit 90074d1
Show file tree
Hide file tree
Showing 1,162 changed files with 67,458 additions and 1 deletion.
62 changes: 62 additions & 0 deletions ROS - Indigo/action_controller/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
cmake_minimum_required(VERSION 2.8.3)
project(action_controller)

if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()

find_package(Boost REQUIRED thread)

include_directories(SYSTEM "msg_gen/cpp/include")

find_package(catkin REQUIRED COMPONENTS
moveit_core
pluginlib
actionlib
roscpp
trajectory_msgs
actionlib_msgs
std_msgs
message_generation
)

include_directories(${catkin_INCLUDE_DIRS})
link_directories(${catkin_LIBRARY_DIRS})

add_message_files(
FILES
MultiDofFollowJointTrajectoryFeedback.msg
MultiDofFollowJointTrajectoryGoal.msg
MultiDofFollowJointTrajectoryResult.msg
MultiDofFollowJointTrajectoryActionFeedback.msg
MultiDofFollowJointTrajectoryActionGoal.msg
MultiDofFollowJointTrajectoryActionResult.msg
MultiDofFollowJointTrajectoryAction.msg
)

generate_messages(
DEPENDENCIES
std_msgs
trajectory_msgs
actionlib_msgs
action_controller
)

catkin_package(
LIBRARIES
INCLUDE_DIRS
DEPENDS
CATKIN_DEPENDS message_runtime
moveit_core
)

include_directories(include)

# add_library(action_controller src/actionController.cpp)
add_executable(action_controller src/actionController.cpp)
target_link_libraries(action_controller ${catkin_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})


#install(TARGETS action_controller LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION})


1 change: 1 addition & 0 deletions ROS - Indigo/action_controller/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Simple action controller to translate the trajectory produced from moveit plugin in cmd_vel for the hector quadrotor contreller. It interface itself with moveit plugin using a costum defined action: MultiDofFollowJointTrajectory.action
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# The joint trajectory to follow
moveit_msgs/MultiDOFJointTrajectory trajectory
---
int32 error_code
int32 SUCCESSFUL = 0
int32 INVALID_GOAL = -1
int32 INVALID_JOINTS = -2
int32 OLD_HEADER_TIMESTAMP = -3
int32 PATH_TOLERANCE_VIOLATED = -4
int32 GOAL_TOLERANCE_VIOLATED = -5

---
Header header
string[] joint_names
moveit_msgs/MultiDOFJointTrajectoryPoint desired
moveit_msgs/MultiDOFJointTrajectoryPoint actual
moveit_msgs/MultiDOFJointTrajectoryPoint error
14 changes: 14 additions & 0 deletions ROS - Indigo/action_controller/mainpage.dox
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
\mainpage
\htmlinclude manifest.html

\b action_controller

<!--
Provide an overview of your package.
-->

-->


*/
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======

MultiDofFollowJointTrajectoryActionGoal action_goal
MultiDofFollowJointTrajectoryActionResult action_result
MultiDofFollowJointTrajectoryActionFeedback action_feedback
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======

Header header
actionlib_msgs/GoalStatus status
MultiDofFollowJointTrajectoryFeedback feedback
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======

Header header
actionlib_msgs/GoalID goal_id
MultiDofFollowJointTrajectoryGoal goal
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======

Header header
actionlib_msgs/GoalStatus status
MultiDofFollowJointTrajectoryResult result
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
Header header
string[] joint_names
trajectory_msgs/MultiDOFJointTrajectoryPoint desired
trajectory_msgs/MultiDOFJointTrajectoryPoint actual
trajectory_msgs/MultiDOFJointTrajectoryPoint error

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
# The joint trajectory to follow
trajectory_msgs/MultiDOFJointTrajectory trajectory
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
int32 error_code
int32 SUCCESSFUL = 0
int32 INVALID_GOAL = -1
int32 INVALID_JOINTS = -2
int32 OLD_HEADER_TIMESTAMP = -3
int32 PATH_TOLERANCE_VIOLATED = -4
int32 GOAL_TOLERANCE_VIOLATED = -5

Loading

0 comments on commit 90074d1

Please sign in to comment.