This is a controller package for the DynamicX final assignment. All the requirements have completed. See the Details and the PPT in detail.
Keywords: ROS, ros_control, PID, Mecanum wheel, Odometry, TF.
The source code is released under a BSD 3-Clause license.
Author: Zhipeng Zhong
Affiliation: GDUT
Maintainer: Zhipeng Zhong, [email protected]
The hero_chassis_controller package has been tested under ROS Indigo, Melodic, and Noetic on respectively Ubuntu 14.04, 18.04, and 20.04. This is research code, expect that it changes often and any fitness for a particular purpose is disclaimed.
-
Robot Operating System (ROS) (middleware for robotics),
-
roscpp
-
control_toolbox
-
dynamic_reconfigure
-
hardware_interface
-
pluginlib
-
std_msgs
-
tf
-
teleop_twist_keyboard
and so on......
To build from source, clone the latest version from this repository into your catkin workspace and compile the package using:
cd catkin_workspace/src
git clone https://github.com/HydrogenZp/hero_chassis_controller.git
catkin build
This package includes all the functions that the requirement needed and I added two feature functions (See the PPT file).
Control the chassis by using:
roslaunch hero_chassis_controller keyboard_twist.launch
Let the chassis move randomly by using:
roslaunch hero_chassis_controller random_move.launch
- PID.cfg
Configuration file for PID parameters.
- hero_chassis_controller.yaml
General configuration file for the controller.
- /cmd_vel
The required velocity messages.
-
/odom
The odometry. -
/power_topic
The real-time output power.