Post Go back to editing

When I ran "sudo ./aditof_demo", I could not get any frame data from AD-FXTOF1-EBZ.

Hello,
[My environment]
Hardware : AD-FXTOF1-EBZ + NVidia Xavier NX

[The steps I done]
analog@analog-desktop:~/workspace/github/aditof_sdk$  git pull
remote: Enumerating objects: 2742, done.
remote: Counting objects: 100% (2737/2737), done.
remote: Compressing objects: 100% (1215/1215), done.
remote: Total 2742 (delta 2006), reused 2046 (delta 1469), pack-reused 5
Receiving objects: 100% (2742/2742), 8.33 MiB | 2.80 MiB/s, done.
Resolving deltas: 100% (2006/2006), completed with 116 local objects.
From https://github.com/analogdevicesinc/aditof_sdk
   329de12b..5e0ac46f  master                 -> origin/master
 * [new branch]        add_controls_for_dist_coef -> origin/add_controls_for_dist_coef
 * [new branch]        add_revision_control   -> origin/add_revision_control
 * [new branch]        bayer_conversion       -> origin/bayer_conversion
 * [new branch]        demo-server-rgb-update -> origin/demo-server-rgb-update
 * [new branch]        extend_matlab_frame_types -> origin/extend_matlab_frame_types
 * [new branch]        extend_server_for_rgb  -> origin/extend_server_for_rgb
 * [new branch]        frame_sync             -> origin/frame_sync
   a2b86c2a..04a94521  fxtof1-doc             -> origin/fxtof1-doc
 + e132c404...110a6ecb gh-pages               -> origin/gh-pages  (forced update)
 * [new branch]        prod_test_for_tof      -> origin/prod_test_for_tof
 * [new branch]        rgb_camera_rebase2     -> origin/rgb_camera_rebase2
 * [new branch]        rgbd_sensor            -> origin/rgbd_sensor
 * [new branch]        rgbd_sensor_2          -> origin/rgbd_sensor_2
 * [new branch]        rgbd_sensor_squash     -> origin/rgbd_sensor_squash
 * [new branch]        ros_rgb                -> origin/ros_rgb
 * [new branch]        test-rgb-and-bayer     -> origin/test-rgb-and-bayer
 * [new branch]        test_branch            -> origin/test_branch
 * [new branch]        update_jetson_nano     -> origin/update_jetson_nano
 * [new branch]        update_matlab_documentation -> origin/update_matlab_documentation
 * [new tag]           v2.0.1                 -> v2.0.1

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'analog@analog-desktop.(none)')
analog@analog-desktop:~/workspace/github/aditof_sdk$ git config --global user.email #####
analog@analog-desktop:~/workspace/github/aditof_sdk$ git config --global user.name #####
analog@analog-desktop:~/workspace/github/aditof_sdk$ sudo git pull
[sudo] password for analog: 
error: Your local changes to the following files would be overwritten by merge:
	bindings/matlab/adaptor.cpp
	bindings/matlab/source_adaptor.cpp
Please commit your changes or stash them before you merge.
Aborting
analog@analog-desktop:~/workspace/github/aditof_sdk$ sudo git slash
git: 'slash' is not a git command. See 'git --help'.

The most similar command is
	stash
analog@analog-desktop:~/workspace/github/aditof_sdk$ sudo git stash
Saved working directory and index state WIP on master: ebe11711 Update TEMP_SENSOR_DEV_PATH for xaviernx and fxtof1
analog@analog-desktop:~/workspace/github/aditof_sdk$ sudo git pull
Removing sdk/src/cameras/chicony-006/camera_chicony_006.cpp
Removing sdk/src/cameras/chicony-006/calibration_chicony_006.h
Removing sdk/src/cameras/chicony-006/calibration_chicony_006.cpp
Removing sdk/src/cameras/chicony-006/Chicony_EEPROM.h
Auto-merging sdk/src/cameras/3d-smart-camera/jetson/target_definitions.h
Auto-merging sdk/src/cameras/3d-smart-camera/camera_3d_smart.h
Auto-merging sdk/include/aditof/target_sdk_definitions.h
Removing misc/chicony/libChicony_EEPROM.so
Removing doc/raspberrypi3/chicony_user_guide.md
Removing doc/img/rpi_standalone_chicony.png
Merge made by the 'recursive' strategy.
 .clangformatignore                                 |    1 -
 .gitignore                                         |    1 +
 CMakeLists.txt                                     |   45 +-
 README.md                                          |   19 +-
 apps/CMakeLists.txt                                |    7 +
 apps/server/README.md                              |   16 +
 apps/server/buffer.proto                           |   24 +
 apps/server/server.cpp                             |  209 ++-
 apps/server/server.h                               |    3 +-
 bindings/matlab/adaptor.cpp                        |   73 +-
 bindings/matlab/aditof_imaq.m                      |   16 +-
 bindings/matlab/aditofimaq.h                       |   13 +-
 bindings/matlab/source_adaptor.cpp                 |   22 +-
 bindings/python/aditofpython.cpp                   |   13 +-
 .../low_level_example/low_level_example.py         |    6 +-
 bindings/ros/ros_setup.bash                        |    4 +
 ci/azure/inside_docker.sh                          |    4 +-
 ci/azure/lib.sh                                    |    4 +-
 ci/azure/run_build.sh                              |    2 +-
 doc/img/rpi_standalone_chicony.png                 |  Bin 850033 -> 0 bytes
 doc/jetson/build_instructions.md                   |   11 +
 doc/raspberrypi3/build_instructions.md             |   12 +
 doc/raspberrypi3/chicony_user_guide.md             |   83 -
 doc/xavier-agx/build_instructions.md               |   11 +
 doc/xavier-nx/build_instructions.md                |   11 +
 examples/aditof-demo/CMakeLists.txt                |    2 +-
 examples/aditof-demo/aditofdemocontroller.cpp      |   35 +-
 examples/aditof-demo/aditofdemocontroller.h        |    9 +
 examples/aditof-demo/aditofdemorecorder.cpp        |   14 +-
 examples/aditof-demo/aditofdemoview.cpp            |  322 +++-
 examples/aditof-demo/aditofdemoview.h              |   19 +-
 examples/imshow-jetson/main.cpp                    |   25 +-
 misc/chicony/libChicony_EEPROM.so                  |  Bin 28724 -> 0 bytes
 .../tegra210-porg-camera-adi-tof.dtsi              |    5 +
 .../kernel-dts/tegra210-porg-p3448-common.dtsi     |  120 +-
 .../kernel/kernel-4.9/drivers/media/i2c/addi9036.c |    2 +-
 .../tegra194-camera-addi9036.dtsi                  |    5 +
 .../tegra194-camera-addi9036.dtsi                  |    5 +
 scripts/linux/setup.sh                             |    2 +-
 sdk/CMakeLists.txt                                 |   73 +-
 sdk/include/aditof/camera.h                        |   10 +-
 sdk/include/aditof/depth_sensor_interface.h        |   11 +-
 sdk/include/aditof/frame.h                         |   21 +-
 sdk/include/aditof/frame_definitions.h             |   11 +
 sdk/include/aditof/sensor_definitions.h            |   14 +-
 sdk/include/aditof/sensor_enumerator_interface.h   |    9 +
 sdk/include/aditof/system.h                        |   17 +-
 .../aditof/target_sdk_definitions.h}               |   52 +-
 sdk/src/cameras/3d-smart-camera/basecode.h         | 1813 ++++++++++++++++++++
 .../3d-smart-camera/calibration_3d_smart.cpp       |  416 +++++
 .../cameras/3d-smart-camera/calibration_3d_smart.h |   98 ++
 .../cameras/3d-smart-camera/camera_3d_smart.cpp    |  822 +++++++++
 .../camera_3d_smart.h}                             |   67 +-
 .../jetson/sensor_enumerator_jetson.cpp            |  142 ++
 .../jetson}/target_definitions.h                   |    9 +-
 .../sensor_names.h                                 |    0
 .../cameras/ad-96tof1-ebz/calibration_96tof1.cpp   |    5 +-
 sdk/src/cameras/ad-96tof1-ebz/camera_96tof1.cpp    |   20 +-
 sdk/src/cameras/ad-96tof1-ebz/camera_96tof1.h      |    4 +-
 .../ad-96tof1-ebz/raspberrypi/target_definitions.h |    8 +-
 .../cameras/ad-fxtof1-ebz/calibration_fxtof1.cpp   |   37 +-
 sdk/src/cameras/ad-fxtof1-ebz/calibration_fxtof1.h |   27 +-
 sdk/src/cameras/ad-fxtof1-ebz/camera_fxtof1.cpp    |   68 +-
 sdk/src/cameras/ad-fxtof1-ebz/camera_fxtof1.h      |    5 +-
 .../jetson/sensor_enumerator_jetson.cpp            |   63 +-
 .../ad-fxtof1-ebz/raspberrypi/target_definitions.h |    2 +-
 sdk/src/cameras/chicony-006/Chicony_EEPROM.h       |   41 -
 .../chicony-006/calibration_chicony_006.cpp        |  582 -------
 .../cameras/chicony-006/calibration_chicony_006.h  |   85 -
 sdk/src/cameras/chicony-006/camera_chicony_006.cpp |  489 ------
 sdk/src/connections/network/buffer.proto           |   24 +
 sdk/src/connections/network/network.cpp            |    2 +-
 .../connections/network/network_depth_sensor.cpp   |  147 +-
 sdk/src/connections/network/network_depth_sensor.h |   15 +-
 .../network/network_sensor_enumerator.cpp          |   90 +-
 .../network/network_sensor_enumerator.h            |    4 +
 sdk/src/connections/target/addi9036_sensor.cpp     |  241 ++-
 sdk/src/connections/target/addi9036_sensor.h       |    6 +-
 sdk/src/connections/target/rgb_sensor.cpp          |  603 +++++++
 sdk/src/connections/target/rgb_sensor.h            |  115 ++
 .../target/target_sensor_enumerator.cpp            |   19 +
 .../connections/target/target_sensor_enumerator.h  |    3 +
 .../usb/linux/usb_depth_sensor_linux.cpp           |   23 +-
 .../usb/linux/usb_sensor_enumerator.cpp            |    5 +
 .../usb/macos/usb_depth_sensor_macos.cpp           |    9 +
 .../usb/macos/usb_sensor_enumerator.cpp            |    5 +
 sdk/src/connections/usb/usb_depth_sensor.h         |    7 +-
 sdk/src/connections/usb/usb_sensor_enumerator.h    |    2 +
 .../usb/windows/usb_depth_sensor_windows.cpp       |   23 +-
 .../usb/windows/usb_sensor_enumerator.cpp          |    5 +
 sdk/src/frame_impl.cpp                             |   16 +-
 sdk/src/frame_impl.h                               |    1 +
 sdk/src/sensor_enumerator_factory.cpp              |    5 -
 sdk/src/system_impl.cpp                            |   92 +-
 tools/calibration-96tof1/tof_calib/device.py       |    6 +-
 utils/raspberrypi/53-aditofsdkraspberrypi.rules    |   12 +-
 96 files changed, 5824 insertions(+), 1852 deletions(-)
 delete mode 100644 doc/img/rpi_standalone_chicony.png
 delete mode 100644 doc/raspberrypi3/chicony_user_guide.md
 delete mode 100644 misc/chicony/libChicony_EEPROM.so
 rename sdk/{src/cameras/chicony-006/raspberrypi/sensor_enumerator_raspberrypi.cpp => include/aditof/target_sdk_definitions.h} (56%)
 create mode 100644 sdk/src/cameras/3d-smart-camera/basecode.h
 create mode 100644 sdk/src/cameras/3d-smart-camera/calibration_3d_smart.cpp
 create mode 100644 sdk/src/cameras/3d-smart-camera/calibration_3d_smart.h
 create mode 100644 sdk/src/cameras/3d-smart-camera/camera_3d_smart.cpp
 rename sdk/src/cameras/{chicony-006/camera_chicony_006.h => 3d-smart-camera/camera_3d_smart.h} (65%)
 create mode 100644 sdk/src/cameras/3d-smart-camera/jetson/sensor_enumerator_jetson.cpp
 rename sdk/src/cameras/{chicony-006/raspberrypi => 3d-smart-camera/jetson}/target_definitions.h (88%)
 rename sdk/src/cameras/{chicony-006 => 3d-smart-camera}/sensor_names.h (100%)
 delete mode 100644 sdk/src/cameras/chicony-006/Chicony_EEPROM.h
 delete mode 100644 sdk/src/cameras/chicony-006/calibration_chicony_006.cpp
 delete mode 100644 sdk/src/cameras/chicony-006/calibration_chicony_006.h
 delete mode 100644 sdk/src/cameras/chicony-006/camera_chicony_006.cpp
 create mode 100644 sdk/src/connections/target/rgb_sensor.cpp
 create mode 100644 sdk/src/connections/target/rgb_sensor.h
analog@analog-desktop:~/workspace/github/aditof_sdk$ 


===③-②===
analog@analog-desktop:~/workspace/github/aditof_sdk/build$ cmake -DXAVIERNX=1 -DUSE_FXTOF1=1 ..
-- Configuring done
-- Generating done
-- Build files have been written to: /home/analog/workspace/github/aditof_sdk/build
analog@analog-desktop:~/workspace/github/aditof_sdk/build$ make -j4
[  2%] Running C++ protocol buffer compiler on src/connections/network/buffer.proto
/home/analog/workspace/github/aditof_sdk/build/sdk/buffer.pb.cc: Permission deniedsdk/CMakeFiles/aditof.dir/build.make:62: recipe for target 'sdk/buffer.pb.cc' failed
make[2]: *** [sdk/buffer.pb.cc] Error 1
CMakeFiles/Makefile2:117: recipe for target 'sdk/CMakeFiles/aditof.dir/all' failed
make[1]: *** [sdk/CMakeFiles/aditof.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
analog@analog-desktop:~/workspace/github/aditof_sdk/build$ sudo make -j4
[sudo] password for analog: 
[  2%] Running C++ protocol buffer compiler on src/connections/network/buffer.proto
Scanning dependencies of target aditof
[  4%] Building CXX object sdk/CMakeFiles/aditof.dir/src/filters_factory.cpp.o
[  9%] Building CXX object sdk/CMakeFiles/aditof.dir/src/frame.cpp.o
[  9%] Building CXX object sdk/CMakeFiles/aditof.dir/src/frame_impl.cpp.o
[ 11%] Building CXX object sdk/CMakeFiles/aditof.dir/src/frame_operations.cpp.o
[ 13%] Building CXX object sdk/CMakeFiles/aditof.dir/src/sensor_enumerator_factory.cpp.o
[ 15%] Building CXX object sdk/CMakeFiles/aditof.dir/src/system.cpp.o
[ 18%] Building CXX object sdk/CMakeFiles/aditof.dir/src/system_impl.cpp.o
[ 20%] Building CXX object sdk/CMakeFiles/aditof.dir/src/utils.cpp.o
[ 22%] Building CXX object sdk/CMakeFiles/aditof.dir/src/connections/target/addi9036_sensor.cpp.o
[ 25%] Building CXX object sdk/CMakeFiles/aditof.dir/src/connections/target/adt7410_sensor.cpp.o
[ 27%] Building CXX object sdk/CMakeFiles/aditof.dir/src/connections/target/eeprom.cpp.o
[ 29%] Building CXX object sdk/CMakeFiles/aditof.dir/src/connections/target/rgb_sensor.cpp.o
[ 31%] Building CXX object sdk/CMakeFiles/aditof.dir/src/connections/target/target_sensor_enumerator.cpp.o
[ 34%] Building CXX object sdk/CMakeFiles/aditof.dir/src/connections/target/tmp10x_sensor.cpp.o
[ 36%] Building CXX object sdk/CMakeFiles/aditof.dir/src/connections/usb/usb_utils.cpp.o
[ 38%] Building CXX object sdk/CMakeFiles/aditof.dir/src/connections/utils/connection_validator.cpp.o
/home/analog/workspace/github/aditof_sdk/sdk/src/connections/target/rgb_sensor.cpp: In member function ‘virtual aditof::Status RgbSensor::open()’:
/home/analog/workspace/github/aditof_sdk/sdk/src/connections/target/rgb_sensor.cpp:144:27: warning: variable ‘subDevName’ set but not used [-Wunused-but-set-variable]
     const char *devName, *subDevName, *cardName;
                           ^~~~~~~~~~
/home/analog/workspace/github/aditof_sdk/sdk/src/connections/target/rgb_sensor.cpp:144:40: warning: variable ‘cardName’ set but not used [-Wunused-but-set-variable]
     const char *devName, *subDevName, *cardName;
                                        ^~~~~~~~
/home/analog/workspace/github/aditof_sdk/sdk/src/connections/target/rgb_sensor.cpp: In member function ‘virtual aditof::Status RgbSensor::stop()’:
/home/analog/workspace/github/aditof_sdk/sdk/src/connections/target/rgb_sensor.cpp:300:24: warning: unused variable ‘buf’ [-Wunused-variable]
     struct v4l2_buffer buf;
                        ^~~
/home/analog/workspace/github/aditof_sdk/sdk/src/connections/target/rgb_sensor.cpp: In member function ‘virtual aditof::Status RgbSensor::setFrameType(const aditof::FrameDetails&)’:
/home/analog/workspace/github/aditof_sdk/sdk/src/connections/target/rgb_sensor.cpp:332:24: warning: unused variable ‘fmt’ [-Wunused-variable]
     struct v4l2_format fmt;
                        ^~~
/home/analog/workspace/github/aditof_sdk/sdk/src/connections/target/rgb_sensor.cpp:334:12: warning: unused variable ‘length’ [-Wunused-variable]
     size_t length, offset;
            ^~~~~~
/home/analog/workspace/github/aditof_sdk/sdk/src/connections/target/rgb_sensor.cpp:334:20: warning: unused variable ‘offset’ [-Wunused-variable]
     size_t length, offset;
                    ^~~~~~
/home/analog/workspace/github/aditof_sdk/sdk/src/connections/target/rgb_sensor.cpp: In member function ‘virtual aditof::Status RgbSensor::getFrame(uint16_t*, aditof::BufferInfo*)’:
/home/analog/workspace/github/aditof_sdk/sdk/src/connections/target/rgb_sensor.cpp:439:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int j = 0; j < RGB_FRAME_HEIGHT; j++) {
                         ~~^~~~~~~~~~~~~~~~~~
/home/analog/workspace/github/aditof_sdk/sdk/src/connections/target/rgb_sensor.cpp:440:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int k = 0; k < RGB_FRAME_WIDTH; k++) {
                             ~~^~~~~~~~~~~~~~~~~
/home/analog/workspace/github/aditof_sdk/sdk/src/connections/target/rgb_sensor.cpp: In member function ‘aditof::Status RgbSensor::dequeueInternalBufferPrivate(v4l2_buffer&, VideoDev*)’:
/home/analog/workspace/github/aditof_sdk/sdk/src/connections/target/rgb_sensor.cpp:520:24: warning: unused variable ‘type’ [-Wunused-variable]
     enum v4l2_buf_type type;
                        ^~~~
[ 40%] Building CXX object sdk/CMakeFiles/aditof.dir/src/cameras/ad-fxtof1-ebz/calibration_fxtof1.cpp.o
[ 43%] Building CXX object sdk/CMakeFiles/aditof.dir/src/cameras/ad-fxtof1-ebz/camera_fxtof1.cpp.o
[ 45%] Building CXX object sdk/CMakeFiles/aditof.dir/src/cameras/ad-fxtof1-ebz/xavier_nx/sensor_enumerator_xaviernx.cpp.o
[ 47%] Building CXX object sdk/CMakeFiles/aditof.dir/src/connections/network/network.cpp.o
In file included from /home/analog/workspace/github/aditof_sdk/sdk/src/cameras/ad-fxtof1-ebz/camera_fxtof1.cpp:32:0:
/home/analog/workspace/github/aditof_sdk/sdk/src/cameras/ad-fxtof1-ebz/camera_fxtof1.h: In constructor ‘CameraFxTof1::CameraFxTof1(std::shared_ptr<aditof::DepthSensorInterface>, std::vector<std::shared_ptr<aditof::StorageInterface> >&, std::vector<std::shared_ptr<aditof::TemperatureSensorInterface> >&)’:
/home/analog/workspace/github/aditof_sdk/sdk/src/cameras/ad-fxtof1-ebz/camera_fxtof1.h:102:17: warning: ‘CameraFxTof1::m_revision’ will be initialized after [-Wreorder]
     std::string m_revision;
                 ^~~~~~~~~~
/home/analog/workspace/github/aditof_sdk/sdk/src/cameras/ad-fxtof1-ebz/camera_fxtof1.h:93:10: warning:   ‘bool CameraFxTof1::m_devProgrammed’ [-Wreorder]
     bool m_devProgrammed;
          ^~~~~~~~~~~~~~~
/home/analog/workspace/github/aditof_sdk/sdk/src/cameras/ad-fxtof1-ebz/camera_fxtof1.cpp:65:1: warning:   when initialized here [-Wreorder]
 CameraFxTof1::CameraFxTof1(
 ^~~~~~~~~~~~
[ 50%] Building CXX object sdk/CMakeFiles/aditof.dir/src/connections/network/network_depth_sensor.cpp.o
[ 52%] Building CXX object sdk/CMakeFiles/aditof.dir/src/connections/network/network_sensor_enumerator.cpp.o
[ 54%] Building CXX object sdk/CMakeFiles/aditof.dir/src/connections/network/network_storage.cpp.o
[ 56%] Building CXX object sdk/CMakeFiles/aditof.dir/src/connections/network/network_temperature_sensor.cpp.o
/home/analog/workspace/github/aditof_sdk/sdk/src/connections/network/network_sensor_enumerator.cpp: In member function ‘virtual aditof::Status NetworkSensorEnumerator::getDepthSensors(std::vector<std::shared_ptr<aditof::DepthSensorInterface> >&)’:
/home/analog/workspace/github/aditof_sdk/sdk/src/connections/network/network_sensor_enumerator.cpp:215:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 1; i < m_imageSensorsInfo.size(); ++i) {
                         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 59%] Building CXX object sdk/CMakeFiles/aditof.dir/buffer.pb.cc.o
[ 61%] Linking CXX shared library libaditof.so
[ 61%] Built target aditof
Scanning dependencies of target first-frame
Scanning dependencies of target first-frame-network
Scanning dependencies of target aditofpython
Scanning dependencies of target aditof-demo
[ 63%] Building CXX object examples/first-frame-network/CMakeFiles/first-frame-network.dir/main.cpp.o
[ 65%] Building CXX object examples/first-frame/CMakeFiles/first-frame.dir/main.cpp.o
[ 68%] Building CXX object bindings/python/CMakeFiles/aditofpython.dir/aditofpython.cpp.o
[ 70%] Building CXX object examples/aditof-demo/CMakeFiles/aditof-demo.dir/aditofdemorecorder.cpp.o
[ 72%] Linking CXX executable first-frame-network
[ 75%] Linking CXX executable first-frame
[ 75%] Built target first-frame-network
[ 75%] Built target first-frame
Scanning dependencies of target aditof-opencv-maskrcnn
Scanning dependencies of target aditof-opencv-dnn
[ 79%] Building CXX object bindings/opencv/maskrcnn/CMakeFiles/aditof-opencv-maskrcnn.dir/main.cpp.o
[ 79%] Building CXX object bindings/opencv/dnn/CMakeFiles/aditof-opencv-dnn.dir/main.cpp.o
[ 81%] Building CXX object examples/aditof-demo/CMakeFiles/aditof-demo.dir/aditofdemoview.cpp.o
/home/analog/workspace/github/aditof_sdk/bindings/opencv/maskrcnn/main.cpp: In function ‘void postprocess(const cv::Mat&, cv::Mat&, const std::vector<cv::Mat>&)’:
/home/analog/workspace/github/aditof_sdk/bindings/opencv/maskrcnn/main.cpp:367:15: warning: unused variable ‘numClasses’ [-Wunused-variable]
     const int numClasses = outMasks.size[1];
               ^~~~~~~~~~
In file included from /home/analog/workspace/github/aditof_sdk/examples/aditof-demo/aditofdemoview.cpp:32:0:
/home/analog/workspace/github/aditof_sdk/examples/aditof-demo/aditofdemoview.h: In constructor ‘AdiTofDemoView::AdiTofDemoView(std::shared_ptr<AdiTofDemoController>&, const string&)’:
/home/analog/workspace/github/aditof_sdk/examples/aditof-demo/aditofdemoview.h:92:10: warning: ‘AdiTofDemoView::m_crtIRGamma’ will be initialized after [-Wreorder]
     bool m_crtIRGamma;
          ^~~~~~~~~~~~
/home/analog/workspace/github/aditof_sdk/examples/aditof-demo/aditofdemoview.h:78:10: warning:   ‘bool AdiTofDemoView::m_rgbCameraAvailable’ [-Wreorder]
     bool m_rgbCameraAvailable;
          ^~~~~~~~~~~~~~~~~~~~
/home/analog/workspace/github/aditof_sdk/examples/aditof-demo/aditofdemoview.cpp:67:1: warning:   when initialized here [-Wreorder]
 AdiTofDemoView::AdiTofDemoView(std::shared_ptr<AdiTofDemoController> &ctrl,
 ^~~~~~~~~~~~~~
[ 84%] Linking CXX executable aditof-opencv-dnn
[ 84%] Built target aditof-opencv-dnn
[ 86%] Building CXX object examples/aditof-demo/CMakeFiles/aditof-demo.dir/aditofdemocontroller.cpp.o
[ 88%] Linking CXX executable aditof-opencv-maskrcnn
[ 88%] Built target aditof-opencv-maskrcnn
Scanning dependencies of target aditof-opencv-imshow
[ 90%] Building CXX object bindings/opencv/imshow/CMakeFiles/aditof-opencv-imshow.dir/main.cpp.o
[ 93%] Building CXX object examples/aditof-demo/CMakeFiles/aditof-demo.dir/main.cpp.o
[ 95%] Linking CXX executable aditof-opencv-imshow
[ 95%] Built target aditof-opencv-imshow
[ 97%] Linking CXX executable aditof-demo
[ 97%] Built target aditof-demo
[100%] Linking CXX shared module aditofpython.cpython-36m-aarch64-linux-gnu.so
[100%] Built target aditofpython
analog@analog-desktop:~/workspace/github/aditof_sdk/build$ dir
aditof-setup.iss  CMakeCache.txt       examples		     sdk
apps		  CMakeFiles	       install_manifest.txt
bindings	  cmake_install.cmake  Makefile
analog@analog-desktop:~/workspace/github/aditof_sdk/build$ cd examples/aditof-demo
analog@analog-desktop:~/workspace/github/aditof_sdk/build/examples/aditof-demo$ dir
aditof-demo  CMakeFiles  cmake_install.cmake  config_pipe.sh  Makefile
analog@analog-desktop:~/workspace/github/aditof_sdk/build/examples/aditof-demo$ sudo ./aditof-demo
I1026 09:52:01.914427 11260 sensor_enumerator_xaviernx.cpp:49] Looking for devices on the target: Xavier NX
I1026 09:52:01.916564 11260 camera_fxtof1.cpp:128] Initializing camera
I1026 09:52:01.916644 11260 addi9036_sensor.cpp:143] Opening device
I1026 09:52:01.916705 11260 addi9036_sensor.cpp:161] Looking for the following cards:
I1026 09:52:01.916744 11260 addi9036_sensor.cpp:163] vi-output, addi9036 9-0064
I1026 09:52:01.916772 11260 addi9036_sensor.cpp:163] vi-output, addi9036 10-0064
I1026 09:52:02.159426 11260 camera_fxtof1.cpp:179] Camera initialized
I1026 09:52:02.211453 11260 camera_fxtof1.cpp:204] Chosen mode: near
I1026 09:52:02.211575 11260 camera_fxtof1.cpp:217] Camera range for mode: near is: 250 mm and 800 mm
I1026 09:52:02.211731 11260 camera_fxtof1.cpp:228] Found firmware for mode: near
I1026 09:52:02.211830 11260 camera_fxtof1.cpp:231] Firmware size: 14404 bytes
I1026 09:52:02.952630 11260 calibration_fxtof1.cpp:290] Camera intrinsic parameters:
    fx: 376.125
    fy: 375.899
    cx: 321.253
    cy: 226.786
W1026 09:52:06.587719 11271 addi9036_sensor.cpp:929] VIDIOC_DQBUF error errno: 22 error: Invalid argument
W1026 09:52:06.588886 11271 camera_fxtof1.cpp:391] Failed to get frame from device
^C
analog@analog-desktop:~/workspace/github/aditof_sdk/build/examples/aditof-demo$ 
[Question]
[1] I am facing following error messages and could not get frame data. Could you please kindly let me know how to avoid this error messages ?
[2] Before running "sudo ./aditof_demo", I did not run "config_pipe.sh". If I need to run it, please lt me know.
It is very helpful, if you can give me any advice.
Best regards,
H.Kashima