View my account

Comments

17 comments

  • MartyG

    Raspbian is based on the 'Debian' form of the Linux OS.  Page 15 of the user guide for the calibration tools describes how to install the calibration tools package for Debian.  The CustomRW program is part of that toolset.

    https://www.intel.co.uk/content/www/uk/en/support/articles/000026723/emerging-technologies/intel-realsense-technology.html

    0
    Comment actions Permalink
  • Vikas K R

    Hi Marty,

    will this work on raspberrypi, we use headless version?

    Thanks,

    Vikas

    0
    Comment actions Permalink
  • MartyG

    I can't think of a reason why it would not work on Pi.  The 400 Series cameras are extremely flexible with the hardware setups that they will work with.  As long as the Librealsense SDK is compiled from source code on the particular hardware that it is being used with then it will run on virtually anything with an Intel or ARM processor as long as the memory needs of the SDK are met. 

    I do not personally have experience of running CustomRW headless, but as its interface is based on console text inputs rather than graphical elements such as tools in the SDK that need OpenGL, I would not expect a problem.

    Speaking of a headless system, in the customization flags for building the SDK in CMake, it is recommended to set the BUILD_GRAPHICAL_EXAMPLES flag to 'false' for headless systems.

    https://github.com/IntelRealSense/librealsense/wiki/Build-Configuration

    0
    Comment actions Permalink
  • Vikas K R

    We have built the SDK in headless debain 8 stretch and using already from past 6 months, we need the customRW to do factory reset in some remote location, since we don't have access to windows PC.

    Our products runs debian stretch with linux kernel 4.14.79. we need customrw to reset since the sensor is providing junk information and error.

    0
    Comment actions Permalink
  • MartyG

    Intel sells an OEM calibration system in their online Click store that can calibrate 400 Series cameras remotely over a Linux server.  It costs $1500 USD though.  Most of that cost is the cost of manufacturing the physical calibration board.  It has a special OEM version of the calibration software that can calibrate both extrinsics and intrinsics (the ordinary version of the calibration software can only do extrinsics).

    https://store.intelrealsense.com/buy-intel-realsense-d400-cameras-calibration-target.html

    If you do not need the physical calibration board, the OEM software can be requested by Intel customers who have a Non Disclosure Agreement (NDA).  If you do not currently have an NDA, a member of Intel's support team should be able to provide guidance on starting the registration process for an NDA.

    0
    Comment actions Permalink
  • Vikas K R

    We have already signed NDA with intel.

    we need to CustomRW software thats works in windows and we use to reset to gold/factory calibration setting.

    We don't want to recalibrate or create custom calibration table, we just need customRW to do reset .

    0
    Comment actions Permalink
  • MartyG

    I recall that at some point in 2018, the compatibility of the consumer and OEM versions of the calibration software diverged so that if a calibration of the camera had previously been done with the consumer calibrator and then the OEM calibrator was used on the camera, it could cause problems.  I do not know if that bug got fixed.

    If you need to use CustomRW with Windows, this should not be a problem as it is included in the Windows version of the calibrator software too.  Page 21 of the user guide for the calibrator software describes this.

    https://www.intel.co.uk/content/www/uk/en/support/articles/000026723/emerging-technologies/intel-realsense-technology.html

    I have extracted the information as an image below.

    0
    Comment actions Permalink
  • Vikas K R

    Intel.Realsense.CustomRW.exe is working in windows and we are able to reset to gold calibration, but need to same tool on debian stretch with linux kernel 4.14.79, so we can run on unit that is on remote site with no windows PC access.

    0
    Comment actions Permalink
  • MartyG

    Okay, I understand.    Thank you for the explanation.  

    Going back to your original question, you can use a terminal with the Debian installation to navigate to the directory where CustomRW is installed in the usr/bin folder.  For example:

    cd /usr/bin/Intel.RealSense.CustomRW

    I would suggest giving it a try with your Raspbian installation and see if it works.

    0
    Comment actions Permalink
  • Vikas K R

    how do we install, its failing to install when we follow the steps

    Page 15 of the user guide for the calibration tools describes how to install the calibration tools package for Debian

    0
    Comment actions Permalink
  • MartyG

    Is this the part of the process where the installation fails?

    sudo apt-get install librscalibrationtool

    0
    Comment actions Permalink
  • Vikas K R

    its failing here

    sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main" -u

    0
    Comment actions Permalink
  • MartyG

    I am not a Linux expert, so I apologize for that.  The repository installation command for Debian in the instructions though is:

    echo 'deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main' | sudo tee /etc/apt/sources.list.d/realsense-public.list

    0
    Comment actions Permalink
  • Vikas K R

    add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main" -u

    Traceback (most recent call last):
    File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
    File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
    File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)
    File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
    (self.id, self.codename))
    aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/stretch
    root@raspberrypi:~# add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo stretch main" -u
    Traceback (most recent call last):
    File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
    File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
    File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)
    File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
    (self.id, self.codename))
    aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/stretch

    0
    Comment actions Permalink
  • MartyG

    Try the Bionic repository (equivalent to Ubuntu 18 LTS) instead of the Xenial one (equivalent to Ubuntu 16 LTS) please

    sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic main" -u

    0
    Comment actions Permalink
  • Vikas K R

    N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic InRelease' doesn't support architecture 'armhf'

    0
    Comment actions Permalink
  • MartyG

    Unless the problem is that a firewall is blocking installation of the Xenial distribution, I do not know what else to suggest.  The RealSense support team members from Intel Support may be able to offer useful guidance about the next step (I do not work for Intel).

    0
    Comment actions Permalink

Please sign in to leave a comment.