GithubHelp home page GithubHelp logo

timchengtw / stereo_ae400 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lips-hci/stereo_ae400

1.0 1.0 0.0 901 KB

LIPSedge™ AE400 Industrial 3D Camera with GigE and IP67 brings RealSense™ technology to NVIDIA Isaac Robot platform now!

License: BSD 3-Clause "New" or "Revised" License

Starlark 25.14% C++ 74.86%

stereo_ae400's Introduction

LIPSedge™ AE400 Industrial 3D Camera

ae400 product banner LIPSedge™ AE400 is an industrial GigE 3D camera with IP67 protection and powered by Intel® RealSense™ technology and designed for industrial applications, such as robot application, logistic/factory automation, and 3D monitoring/inspection.

Title Video
AE400 360° Product View and Introduction AE400 Industrial 3D Camera
AE400 Point Cloud DEMO (use realsense-viewer) Point cloud demo

PREREQUISITE

  1. Prepare a Ubuntu 18.04 x64 desktop equipped with a NVIDIA video card that supports CUDA.
  • download Isaac SDK to any directory you preferred, e.g. your home directory ~/
  1. Download latest NVIDIA Isaac SDK from website:
  1. Install dependencies of desktop/Bazel/NVIDIA GPU Driver according to the following document:
~/isaac$ engine/build/scripts/install_dependencies.sh
  1. git clone LIPS stereo_ae400 workspace:
$ cd ~/
$ git clone https://github.com/lips-hci/stereo_ae400.git

Branch/tag information

💡 The branch 'master' now supports the latest Isaac SDK 2020.1 with new features.

  • support left/right IR cameras
  • more config options to control streams (Depth/RGB/IR)

With latest version, you can select left and right IR channels to view in Isaac Sight webpage.

support for previous releases

  1. Switch to tag 'isaac-2019.3' if you are using previous Isaac SDK 2019.3.

  2. Switch to tag 'isaac-2019.2' for users who want to stay at Isaac release 2019.2.

AE400 Firmware requirements

  1. 💡 The branch 'master' now runs AE400 RealSense SDK v0.9.0.7 at host-side, device firmware minimum requirement is 1.4.
  • Release Note & User Guide (see ch. 7.6 for Firmware Update)
  1. 👉 How to check my AE400 firmware version?

  2. If your device is still firmware 1.1, use tag 'sdk-v0.9.0.5' for development.

Learn more

  1. How to switch between Intel and NVIDIA video cards on Ubuntu?
  1. If you want to install CUDA 10.0 manually, you can refer this one-click-install script.

Build sample application for AE400 camera on Isaac SDK

  1. create a folder named 'isaac' under ~/ and untar the Isaac SDK into it
 $ mkdir -p ~/isaac
 $ cd ~/
 $ tar Jxvpf isaac-sdk-2019.2-30e21124.tar.xz -C isaac
  1. modify the path in the WORKSPACE under the stereo_ae400 folder.
 local_repository(
     name = "com_nvidia_isaac",
     path = "/home/<username>/isaac", # Here to sepcify your Isaac SDK location, <username> is your username
 )
  1. build application under stereo_ae400 folder.
 $ cd ~/stereo_ae400
 $ bazel build //apps/ae400_camera

note: make sure your host can access to Internet, or you will get build errors

  1. IP address configuration

Camera side:

The default setting of AE400 camera is 192.168.0.100, however, you can assign new IP address to it via browser.

Input IP as URL http://192.168.0.100 to open AE400 configuration page, log in, write new IP address and save setting

note: Check your product manual to find login account and password, or contact LIPS to get support

Host side:

Configure the IP address for connecting AE400 by editing the network setting file

 $ vi config/network.json

 {
   "config": {
     "ip": "192.168.0.100"  <= it should match AE400 camera's IP address
   }
 }

Then install the setting to your system

 $ sudo mkdir -p /usr/etc/LIPS/lib
 $ sudo cp config/network.json /usr/etc/LIPS/lib/

note: AE400 software looks for setting in system path /usr/etc/LIPS/lib/network.json. If file is missing, default IP address 192.168.0.100 is applied.

  1. run camera sample application by command-line.
 $ bazel run //apps/ae400_camera

note: make sure the host, AE400 camera, and the remote robot are at same network domain, so they can connect to each other.

  1. Open a web brower, connect to http://localhost:3000

From left panel, select ae400_camera checkbox to enable depth/color channels for streaming.

Here is a screenshot of Isaac Sight webpage. screenshot of Isaac Sight

  1. Enjoy!

Deploy the sample application to remote robot (optional)

You can run the application on remote robot like Jetson Nano or TX2

Deploy the sample application to remote robot

  • To run ae400_camera sample application on the robot first deploy the package with Isaac SDK built-in command.
 # deploy.sh --remote_user <username_on_robot>
              -p //apps/ae400_camera:ae400_camera-pkg
              -d <jetpack44>
              -h <robot_ip>
              --run [optional]

Where <username_on_robot> is your user name on the robot, and <robot_ip> is the IP address of the robot.

Using the --run (or -r) option causes deploy.sh to automatically run the application on the robot after deployment.

  • For example, assume <robot_ip> is 192.168.0.99, the command is
 $ cd ~/stereo_ae400
 ~/stereo_ae400$ ln -s ~/isaac/engine/build/deploy.sh .
 ~/stereo_ae400$ ./deploy.sh --remote_user lips -p //apps/ae400_camera:ae400_camera-pkg -d jetpack44 -h 192.168.0.99

Run the sample application remotely on robot

  • Use below commands on your host side:
  1. make sure you have an SSH key on your desktop machine.
 $ ssh-keygen
 $ ssh-copy-id <username_on_robot>@<robot_ip>

note: use command ssh-copy-id to save your time typing password when loging in to robot by ssh.

  1. install network setting to remote robot
 $ cd ~/isaac
 $ vi config/network.json   //optional, re-assign IP address if you want
 $ ssh <username_on_robot>@<robot_ip> "sudo mkdir -p /usr/etc/LIPS/lib"
 $ scp config/network.json <username_on_robot>@<robot_ip>:/usr/etc/LIPS/lib/
  1. Login to the robot to run the application
 $ ssh <username_on_robot>@<robot_ip>
 $ cd ~/deploy/<username_on_host>/ae400_camera-pkg
 $ ./apps/ae400_camera/ae400_camera
  1. open a web brower, connect to http://<robot_ip>:3000

  2. from left panel, select ae400_camera checkbox to enable depth/color channels for streaming.

stereo_ae400's People

Contributors

timcheng-lips-hci avatar yangliu-nv avatar arunsnv avatar fugitive666 avatar peggieke avatar

Stargazers

Cheng Shao You avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.