Enable ROS2

bash
python src/main.py --ros2

Topics

TopicTypeDescription
/vision/detectionsJSONObject detections
/vision/depthsensor_msgs/ImageDepth map (32FC1)
/vision/facesJSONFace detections
/vision/gesturesJSONGesture recognitions
/vision/posesJSONBody poses
/vision/statusJSONSystem status
/vision/lidarsensor_msgs/PointCloud2LIDAR point cloud (v0.7.0+)
/vision/fusionJSONSensor fusion data (v0.7.0+)

Commands

bash
ros2 topic pub /vision/cmd std_msgs/String "data: 'forward'" -1
ros2 topic pub /vision/cmd std_msgs/String "data: 'stop'" -1
ros2 topic pub /vision/cmd std_msgs/String "data: 'follow'" -1

Launch Files

bash
ros2 launch openeyes openeyes.launch.py ros2:=true
ros2 launch openeyes unified.launch.py
ros2 launch openeyes nav2.launch.py map:=/path/to/map.yaml

# v0.7.0+ New Launch Files
ros2 launch openeyes lidar.launch.py lidar_topic:=/scan
ros2 launch openeyes multi_camera.launch.py cameras:=[0,1,2]

Navigation

bash
python src/main.py --nav2 --ros2
ros2 topic pub /navigation/goal std_msgs/String "data: '2.0 1.0 0.0'"