Wiki

This version (11 May 2020 13:41) was approved by Dan Nechita.The Previously approved version (28 Nov 2019 16:30) is available.Diff

Windows User Guide

Setting up the system

Required hardware

Power on sequence

  • Plug the SD card that came in the AD-96TOF1-EBZ box into the DragonBoard410c SD card slot. To benefit from the most recent software updates it is highly recommended to update the SD card with the latest SD card image
  • Make sure that switch S6 on the DragonBoard410C is set to SD BOOT (position 2 ON, all others OFF)
  • Connect USB cable to the host PC
  • Connect the 5V power supply to the camera board and set the camera power switch S2 to on. Once the camera board is powered up the DS1 LED will turn on
  • Connect the 12V power supply to the DragonBoard 410c. Once power is connected to the DragonBoard the system will boot the Linux OS from the SD card
  • Wait for the board to finish booting. The booting progress can be monitored by observing the user leds 1, 2, 3 and 4 on the DragonBoard410c which are placed between the two USB type A connectors. During boot the leds (especially led 3 and 1) will blink very rapidly. When led 1 is the only one left blinking (about once a second) the boot has finished.

DragonBoard410c USB connection

28 Nov 2019 09:33 · Andrei Cozma

Enable the USB connection to the host PC

  • After the DragonBoard boots up press the S3 button on the camera board. This will start on the DragonBoard the application that manages the USB host interface
  • Once the USB connection is active the DS4 LED will light up on the camera board and the USB camera driver will be loaded on the PC enabling the communication between the host PC and the camera system. The ADI TOF DEPTH SENSOR may also show up under Cameras instead of Imaging devices.

Windows driver

Troubleshooting

  • The PC does not load the USB driver after pressing the S3 button on the camera board
    • Press S3 so that DS4 turns off, reconnect the USB cable to the PC into a different USB port, press S3 again so that DS4 turns on
    • Restart the DragonBoard410c while the USB cable is still connected to the host PC

Ethernet connection

  • The IP address of the target is needed in order to use the ethernet connection. To find the IP address, connect a keyboard, a mouse and a monitor to the camera. After booting open a terminal and type either sudo ifconfig or ip addr command.
  • There are two examples that show how to use the ethernet connection: aditof-demo and first-frame-ethernet.
  • For first-frame-ethernet example, if the IP address of the target is 192.168.1.110 the run command should be:
    first-frame-ethernet.exe "192.168.1.110"
  • In the aditof-demo example, choose to connect via ethernet from the UI. After the Ethernet checkbox is selected input the IP and press the button Connect.

aditof-demo connect through ethernet


Running the evaluation application

You can either build the evaluation application from source or install it using the aditof-demo installer

Navigate to the location where you chose to install the evaluation application and run aditof-demo.exe. Alternatively, run the shortcut Aditof-Demo from desktop if you enabled the installer to create one.

 aditof-demo

When starting the application, a terminal window will open to display status messages (also warning and error messages, in case there are any issues). Shorty the main window will show up.

The evaluation application allows to do live streaming of depth and IR data as well as recording the depth and IR data and playing back from a file. The depth data is displayed as a color map ranging from warm to cold colors as the distance from the camera increases. A point in the middle of the depth image shows the distance in mm to the target.

There are 3 operating modes that determine the range of the system:

  • Near - 25cm to 80cm
  • Medium - 30cm to 4.5m (Rev.B: 80cm to 3m)
  • Far - 300cm to 600cm

When in a certain operating mode the system will measure distances outside of the mode's range but those will not be accurate.

The system is factory calibrated to achieve high accuracy in all the operating modes for indoor environments. It is possible to recalibrate the system for your specific operating conditions by using the calibration procedure and tools provided here.

The evaluation application also displays the temperature in deg C of the camera (AFE) and laser boards as read from the temperature sensors installed on each board.

The framerate at which data is acquired from the system is constantly updated on the GUI. The camera board outputs data at 30 frames per second (fps), but due to USB connection limitations, the host PC acquires the frames at a lower rate.

Enabling the point cloud display in aditof-demo

  • The demo application has the capability to display a point cloud image if it detects an OpenCV module called viz.

Unfortunately OpenCV does not provide binaries for this module so a manual build is needed. The steps required to install OpenCV and include it in the project are presented here: Windows Linux

  • If aditof-demo finds all the OpenCV required modules a button in the interface will allow you to display the point cloud. By toggling the button a separate window will appear.

 aditof-demo

Due to the limited computation speed of DragonBoard410c it is recomended to enable the point cloud only in the desktop sdk

Troubleshooting

  • The demo application hangs after closing the main window
    • Due to some limitations the application always hangs if it is closed using the regular X button from the window top bar (title bar). To avoid this unpleasant hang, we've made available a second X button in the top right corner right above the title bar that can be used to safely close the demo application. We hope this to be a temporary workaround.
28 Nov 2019 09:40 · Andrei Cozma

Navigation - AD-96TOF1-EBZ

resources/eval/user-guides/ad-96tof1-ebz/ug_windows.txt · Last modified: 11 May 2020 09:17 by Andreea Grigorovici