Skip to content

tamu-edu/depthai-ros

 
 

Repository files navigation

Depthai ROS Repository

Hi and welcome to the main depthai-ros respository! Here you can find ROS related code for OAK cameras from Luxonis. Don't have one? You can get them here!

You can find the newest documentation here

Syncing changes from upstream

Ensure all checks are passed in the upstream repo before proceeding.

cd depthai-ros
git checkout humble
git remote add upstream https://github.com/luxonis/depthai-ros.git
git fetch upstream
git merge upstream/humble
git push origin humble

PoE camera - no router setup

Use this command in the scenario that you have a unmanaged switch -> camera, laptop. This will temporarily assign a network interface to the ethernet port of your laptop. It assigns an IP address of 169.254.1.100 and accepts all devices with address of 169.254.x.x, which works because the camera is automatically assigned an IP of 169.254.1.222 if nothing is assingned by a router. It will not persist across reboots.

sudo ip addr add 169.254.1.100/16 dev eno0
ping 169.254.1.222

View camera outside of Docker

python3 -m depthai_viewer

Launch ROS2 Camera Node

In the devcontainer, run:

ros2 launch depthai_ros_driver camera.launch.py

About

Official ROS Driver for DepthAI Sensors.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 75.1%
  • Python 21.9%
  • CMake 2.4%
  • Other 0.6%