This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
resources:eval:user-guides:ad-96tof1-ebz:ug_xavier_nx [21 Dec 2020 15:01] – created Virgil Litan | resources:eval:user-guides:ad-96tof1-ebz:ug_xavier_nx [17 Dec 2021 13:01] (current) – Add point cloud description Septimiu Vana | ||
---|---|---|---|
Line 4: | Line 4: | ||
==== Required hardware ==== | ==== Required hardware ==== | ||
- | * [[https:// | + | * [[adi>en/ |
* [[https:// | * [[https:// | ||
* 9V to 19V power supply for Jetson. | * 9V to 19V power supply for Jetson. | ||
Line 14: | Line 14: | ||
==== Prepare SD card ==== | ==== Prepare SD card ==== | ||
- | * Follow steps presented | + | * Download and flash on a SD card the latest image provided from the following link: [[repo> |
* Download L4T BSP [[https:// | * Download L4T BSP [[https:// | ||
* Extract kernel_src from BSP package | * Extract kernel_src from BSP package | ||
- | * ADI ToF camera driver and devicetree should be taken from [[https:// | + | * ADI ToF camera driver and devicetree should be taken from [[https:// |
* Copy paste and replace content of kernel_src folder from L4T BSP with the one downloaded from ADI ToF Repository | * Copy paste and replace content of kernel_src folder from L4T BSP with the one downloaded from ADI ToF Repository | ||
* Build Kernel and devicetree blob following instructions from [[https:// | * Build Kernel and devicetree blob following instructions from [[https:// | ||
Line 31: | Line 31: | ||
* connect the 9V-19V power supply to the Xavier NX. Once power is connected to the Jetson the system will boot the Linux OS from the SD card. | * connect the 9V-19V power supply to the Xavier NX. Once power is connected to the Jetson the system will boot the Linux OS from the SD card. | ||
<note important> | <note important> | ||
+ | {{ : | ||
==== Power off sequence ==== | ==== Power off sequence ==== | ||
Line 46: | Line 46: | ||
===== Running the evaluation application ===== | ===== Running the evaluation application ===== | ||
- | [[https:// | + | [[https:// |
+ | |||
+ | Once Linux boots you'll see on the HDMI monitor the Linux desktop and on the top left corner a shortcut to the evaluation application. Double clicking on the icon will start the evaluation application. A console window will open to show the application' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | When starting the application, | ||
+ | |||
+ | 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 | ||
+ | * Far - 3m to 6m | ||
+ | |||
+ | When in a certain operating mode the system will measure distances outside of the mode's range but those will not be accurate. | ||
+ | |||
+ | 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, | ||
+ | |||
+ | |||
+ | ==== 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: | ||
+ | [[https:// | ||
- | {{navigation AD-96TOF1-EBZ#none#.:|Overview# | + | * 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. |
+ | {{ : | ||