Installing FlyCapture2

Increasing USB3 Buffer Reference: https://www.ptgrey.com/tan/10685 1. Open the /etc/default/grub file in any text editor. Find and replace: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" with this: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.usbfs_memory_mb=1000" 2. Update grub with these settings: $ sudo update-grub 3. Reboot and test a USB 3.1 camera. If this method fails to set the memory limit, run the following command: $ sudo... Continue Reading →

Advertisements

Fresh Install of ROS Kinetic & Kalibr Environment on Ubuntu 16.04 x64

System Pre-Configuration System Tested: Ubuntu 16.04 x64 Update to latest version sudo apt-get update sudo apt-get dist-upgrade # only if necessary   Installing ROS Kinetic Reference: http://wiki.ros.org/kinetic/Installation/Ubuntu sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116 sudo apt-get update sudo apt-get install ros-kinetic-desktop-full   sudo rosdep init... Continue Reading →

Making Custom Linux Image

1. Use gparted to shrink the partition as much as possible (optionally use sfill / zerofree beforehand, which may not help) sudo gparted 2.Use fdisk to check the end position sudo fdisk -l /dev/sdb Disk out.img: 1.5 GiB, 1605369856 bytes, 3135488 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512... Continue Reading →

GPIO in Rpi

    > pigs mg (gpio number) GPIO:22-27:  mode 0 - INPUT (means no one uses them) GPIO48-53:  mode 4 - ALT0 (not documented, probably means SD0, ALT3 is SD1) GPIO34-39: mode 7 - ALT3 (SD1 function, probably means Wifi BCM chip) INPUT 0 OUTPUT 1 ALT0 4 ALT1 5 ALT2 6 ALT3 7 ALT4... Continue Reading →

Installing Kelnel Object (v4l2loopback)

To mount .ko file using modprobe, one must have linux kernel headers: /usr/src/linux-headers-x.x.xx+ ready. Wrong Way to Install Do not try to install, linux-headers-generic. It will gives the wrong kernel version. Right Way to Install > sudo apt install raspberrypi-kernel-headers Do use > uname -a and > sudo apt-cache policy [] to check the version... Continue Reading →

Gstreamer UDP H264 Streaming

Version Gstreamer 1.10.3 Transmister (Rpi 3) sudo ionice -c 1 -n 0 nice -20 \ /opt/gst-installed/bin/gst-launch-1.0 -e v4l2src num-buffers=8000 io-mode=1 blocksize=512 \ ! video/x-raw, format=GRAY16_LE, width=640, height=512 , framerate=7/1 ! tee name=t ! queue \ ! videorate ! videoconvert! video/x-raw, format=GRAY16_BE, framerate=1/1 ! pngenc \ ! multifilesink async=1 location=${RECORD_DIR}/tau2pipe_${TIMESUBFIX}/tau_%05d.png t. ! queue \ ! videoconvert... Continue Reading →

Blog at WordPress.com.

Up ↑