frames can not arrive in 5 sec.....
update firmware
follow the instractions under LINK
WHEN run
$sudo apt-get update
the following bug occured
E: Malformed entry 1 in list file /etc/apt/sources.list.d/realsense-public.list (Component)
E: The list of sources could not be read.
solution:
run
$sudo gedit /etc/apt/sources.list.d/realsense-public.list
in this file there should be a space before main
I wrote the needed steps that are given by Intel into the following bash file.
Notice: for the while loop of bash, Pipes would creat a subshell, so the variable BUS and DEVICE were not stored, using of these variables outside the while loop would return empty values, so my solution here is using a pair of brickets before while and after the commands that I need to run in the same shell with while loop.
#!/bin/bash
#GLOBALS
download_link="https://downloadmirror.intel.com/28377/eng/Intel%C2%AE%20RealSense%E2%84%A2D400%20Series%20Signed%20Development%20Firmware%20v5_10_13.zip"
# Add Intel server to list of repositories
echo 'deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main' | sudo tee /etc/apt/sources.list.d/realsense-public.list
# Register the servers public key
sudo apt-key adv --keyserver keys.gnupg.net --recv-key 6F3EFCDE
# Refresh the list of repositories and packages available
sudo apt-get update
# Install the intel-realsense-dfu package
sudo apt-get install intel-realsense-dfu*
# Download latest D400 series firmware .bin file to directory ~/Download
cd ~/Downloads && wget $download_link
unzip Intel*.zip -d rs_firmware
rm Intel*.zip
# Plug in D400 Series camera to host USB3.1 port. Check serial # and bus#
lsusb | \
( while IFS=: read -r line
do
#echo $line
if [[ $line == *"Intel Corp."* ]]; then
BUS=${line:4:3} # line:offset:length
DEVICE=${line:15:3}
echo "Bus: $BUS"
echo "Device: $DEVICE"
fi
done
##################INSTALLATION#######################
#command specifies bus #, device #, -f flag to force upgrade, and –i flag for complete system path to downloaded FW.bin file
intel-realsense-dfu -b $BUS -d $DEVICE -f -i ~/Downloads/rs_firmware/Signed_Image_UVC*.bin ) #group this with while to make them run in the same shell and change the variables
echo "Check firmware:"
intel-realsense-dfu -p