How to use Astra camera

Official website link:https://orbbec3d.com/develop/

Astra camera:https://github.com/orbbec/ros_astra_camera

Ordinary camera:https://github.com/bosch-ros-pkg/usb_cam.git

Linux environment

Create astra udev rule

launch start up file

Launch fileStart the camera model
astra.launchAstra,Astra S,Astra mini,Astra mini S
astraplus.launchAstra plus
astraproplus.launchAstra pro plus
embedded_s.launchDeeyea
dabai_u3.launchDabai
gemini.launchGemini

1、SDK usage(Linux)

The output contains the following two lines.

Note: Delete install in the penultimate path:

After deleting install:

Copy the output to the end of ~/.bashrc

The sample program is in the amples directory, which depends on the include and lib directories.

Note: sudo can be used in the bin folder/ Or/ Start the file with - SFML suffix in the mode of; Both ways Similarly, other effects can be tested.

The virtual opportunity fails to start successfully. Please try several times.

9104

 

Install OpenNI

Replug the device Initialize the OpenNI environment

Compile and run

9103

3.OrbbecViewer-win

Unzip OrbbecViewer for OpenNI2_ v1.1.13_ 20220722_ windows_ X64, enter the unzipped file, double-click to run OrbbecViewer.exe.

9104

4、Web monitoring

Environment setup

Start up camera

Start up web_video_server

View