This repository integrates the Azure Kinect camera with ROS 2 using the Azure_Kinect_ROS_Driver
and connects it with two control packages:
- Azure_Kinect_ROS_Driver → Starts the Azure Kinect camera node in ROS 2
- laptop → Interfaces with an Xbox controller
- mdc_car → Runs and controls the vehicle
Together, these packages allow sensor input from the Kinect and user input from the controller to drive the car through ROS 2.
Azure_Kinect_ROS_Driver/
→ ROS 2 driver for the Azure Kinectlaptop/
→ ROS 2 node for Xbox controller inputmdc_car/
→ ROS 2 node that controls the carsrc/
→ Source code forlaptop
andmdc_car
packages*.sh
→ Convenience scripts for building and running the systeminitAzure.sh
→ Setup for Azure Kinect driverinitMDC.sh
→ Setup for car controllerlaunch.sh
→ Launches Azure Kinectruncar.sh
→ Runs the full car control systemxbox.sh
→ Runs the car xbox controllersend-db.sh
→ Send rtabmap data to the cardeploy.sh
→ Send the git repo when connected via ssh. NOTE: move the db to a different location withmove-db.sh
move-db.sh
→ Move thedb
withm
or restore withr
git clone <repo-url>
cd <repo-name>
Instead of running colcon build
manually, use the provided scripts:
./initAzure.sh # Build and setup Azure Kinect driver
./initMDC.sh # Build and setup car controller
Start the full pipeline:
./runcar.sh # In the car
./xbox.sh r k # On the laptop run keyboard (or c for laptop)
./launch.sh # In a separate terminal where the Kinect is connected
This will:
- Launch the Azure Kinect driver
- Start the Xbox controller node (
laptop
) - Run the car node (
mdc_car
)
-
The repository is configured for ROS 2 Humble.
-
A
devcontainer
configuration is included for development.- This makes it easier to get started on a fresh machine, but it is not required at runtime.
-
Scripts in the root directory are the main entry points for building and running.
- ROS 2 Humble
- Azure Kinect SDK installed on host machine
- Xbox controller (wired or wireless via dongle)
- Configuration and Setup in the
devcontainer