How to use Astra camera

Note: These files are already installed in the Yahboom image provided by us, you do not need to perform this step.

This course just for learning reference.

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

Create astra udev rule(Single product depth camera needs to be implemented)

launch start up command

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

1、SDK usage(Linux)

Operating environment: virtual machine or dual system

1.1、Dependent on the environment

 

1.2、Camera SDK&Samples

The folder name may be different, change it according to your needs.

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

The bin folder is as follows:

image-20211030110700979

Note: You can start by using sudo ./ or ./ in the bin folder. The files with the suffix -SFML will be displayed on the screen; the methods are similar, and other effects can be tested. If it appears in the virtual machine that the startup fails, please try a few more times

9104

1.3、OpenNI camera test tool

Install OpenNI

Replug the device Initialize the OpenNI environment

Compile and run

9103

 

2. Web monitoring

Environment setup

Start up camera

Start up web_video_server

View