From 4b2ac16537a11e1f2d7b303942e5e8538a4d23ea Mon Sep 17 00:00:00 2001 From: Hadrien Date: Sat, 27 Jun 2020 10:27:38 +0200 Subject: [PATCH] =?UTF-8?q?Transf=C3=A9rer=20les=20fichiers=20vers=20'Proj?= =?UTF-8?q?et/pioneer=5Fgazebo=5Fros/pioneer=5Fros'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pioneer_ros/CMakeLists.txt | 37 ++++++++++ .../pioneer_ros/package.xml | 67 +++++++++++++++++++ .../pioneer_controller_params.yaml | 28 ++++++++ 3 files changed, 132 insertions(+) create mode 100644 Projet/pioneer_gazebo_ros/pioneer_ros/CMakeLists.txt create mode 100644 Projet/pioneer_gazebo_ros/pioneer_ros/package.xml create mode 100644 Projet/pioneer_gazebo_ros/pioneer_ros/pioneer_controller_params.yaml 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