diff --git a/Projet/pioneer_gazebo_ros/pioneer_ros/CMakeLists.txt b/Projet/pioneer_gazebo_ros/pioneer_ros/CMakeLists.txt new file mode 100644 index 0000000..d9e2a5a --- /dev/null +++ b/Projet/pioneer_gazebo_ros/pioneer_ros/CMakeLists.txt @@ -0,0 +1,37 @@ +cmake_minimum_required(VERSION 2.8.3) +project(pioneer_ros) + +## Find catkin macros and libraries +## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz) +## is used, also find other catkin packages +find_package(catkin REQUIRED COMPONENTS + geometry_msgs + nav_msgs + roscpp + rospy + sensor_msgs + std_msgs + tf +) + +catkin_package() + +include_directories( + ${catkin_INCLUDE_DIRS} +) + +add_executable(pioneer_tf_broadcaster src/pioneer_tf_broadcaster.cpp) +target_link_libraries(pioneer_tf_broadcaster ${catkin_LIBRARIES}) +add_dependencies(pioneer_tf_broadcaster ${catkin_EXPORTED_TARGETS}) + +add_executable(pioneer_odom_publisher src/pioneer_odom_publisher.cpp) +target_link_libraries(pioneer_odom_publisher ${catkin_LIBRARIES}) +add_dependencies(pioneer_odom_publisher ${catkin_EXPORTED_TARGETS}) + +add_executable(pioneer_pid_controller src/pioneer_pid_controller.cpp) +target_link_libraries(pioneer_pid_controller ${catkin_LIBRARIES}) +add_dependencies(pioneer_pid_controller ${catkin_EXPORTED_TARGETS}) + +add_executable(move_base_recover src/move_base_recover.cpp) +target_link_libraries(move_base_recover ${catkin_LIBRARIES}) +add_dependencies(move_base_recover ${catkin_EXPORTED_TARGETS}) diff --git a/Projet/pioneer_gazebo_ros/pioneer_ros/package.xml b/Projet/pioneer_gazebo_ros/pioneer_ros/package.xml new file mode 100644 index 0000000..33c16ca --- /dev/null +++ b/Projet/pioneer_gazebo_ros/pioneer_ros/package.xml @@ -0,0 +1,67 @@ + + + pioneer_ros + 0.0.0 + The pioneer_ros package + + + + + jchu2041 + + + + + + TODO + + + + + + + + + + + + + + + + + + + + + + + + + + catkin + geometry_msgs + nav_msgs + roscpp + rospy + sensor_msgs + std_msgs + tf + geometry_msgs + nav_msgs + roscpp + rospy + sensor_msgs + std_msgs + tf + + + + + + + + + + + \ No newline at end of file diff --git a/Projet/pioneer_gazebo_ros/pioneer_ros/pioneer_controller_params.yaml b/Projet/pioneer_gazebo_ros/pioneer_ros/pioneer_controller_params.yaml new file mode 100644 index 0000000..bba0cd7 --- /dev/null +++ b/Projet/pioneer_gazebo_ros/pioneer_ros/pioneer_controller_params.yaml @@ -0,0 +1,28 @@ +controller_gains: + left: + linear: + p: 10.87 + i: 0.01 + d: 0.1 + angular: + p: 3.37 + i: 0.01 + d: 0.1 + right: + linear: + p: 10.87 + i: 0.01 + d: 0.1 + angular: + p: 3.37 + i: 0.01 + d: 0.1 + body: + linear: + p: 0.70 + i: 0.01 + d: 0.1 + angular: + p: -1.00 + i: 0.01 + d: 0.1