Community
cancel
Showing results for 
Search instead for 
Did you mean: 
CBrea2
Beginner
622 Views

R200 camera not recognized

I purchased the ready-to-fly Intel Aero to use Ubuntu, ROS, and librealsense according to:

 

https://github.com/intel-aero/meta-intel-aero/wiki/05-Autonomous-drone-programming-with-ROS

http://wiki.ros.org/librealsense

 

I have a keyboard and mouse plugged into a 4 port usb hub which plugs into the aero's micro B and a micro hdmi to a monitor

 

Briefly, this is what is happening:

roscore &

roscd realsense_camera

sudo modprobe uvcvideo

roslaunch realsense_camera r200_nodelet_default.launch &

 

[ERROR] /camera/driver - No cameras detected!

[ INFO] /camera/driver - Sleeping 5 seconds then retrying to connect

 

I have attached a full output at the end of this post.

I am not particularly familiar with Linux, but my professor is, and he helped me verify the following:

 

  1. Ubuntu 16.04 or whatever is recommended in the aero wiki is installed correctly
  2. ROS kinetic is installed correctly
  3. UVC video is installed correctly
  4. In the BIOS boot settings, all of the usb ports are enabled.
  5. the default video0 or video1 is not defined
  6. when we view the ports directly in the terminal, it recognizes the hub, my keyboard, and mouse, but not the R200 camera which should be connected to the other usb port on the aero compute board
  7. We opened up the drone to verify that the camera is actually connected to the board

 

Is there any way to make the compute board recognize the camera?

Is this a hardware issue?

 

OUTPUT:

 

horc@horc-aero:~$ roscore &

[1] 2005

horc@horc-aero:~$ ... logging to /home/horc/.ros/log/4a50c7a2-46ab-11e9-af09-a0c5890963d4/roslaunch-horc-aero-2005.log

Checking log directory for disk usage. This may take awhile.

Press Ctrl-C to interrupt

Done checking log file disk usage. Usage is <1GB.

 

started roslaunch server http://horc-aero:34085/

ros_comm version 1.12.14

 

 

SUMMARY

========

 

PARAMETERS

 * /rosdistro: kinetic

 * /rosversion: 1.12.14

 

NODES

 

auto-starting new master

process[master]: started with pid [2017]

ROS_MASTER_URI=http://horc-aero:11311/

 

setting /run_id to 4a50c7a2-46ab-11e9-af09-a0c5890963d4

process[rosout-1]: started with pid [2030]

started core service [/rosout]

 

 

 

roscd realsense_camera

 

 

 

horc@horc-aero:/opt/ros/kinetic/share/realsense_camera$ sudo modprobe uvcvideo

[sudo] password for horc: 

 

 

 

horc@horc-aero:/opt/ros/kinetic/share/realsense_camera$ roslaunch realsense_camera r200_nodelet_default.launch &

[2] 2113

horc@horc-aero:/opt/ros/kinetic/share/realsense_camera$ ... logging to /home/horc/.ros/log/4a50c7a2-46ab-11e9-af09-a0c5890963d4/roslaunch-horc-aero-2113.log

Checking log directory for disk usage. This may take awhile.

Press Ctrl-C to interrupt

Done checking log file disk usage. Usage is <1GB.

 

started roslaunch server http://horc-aero:34861/

 

SUMMARY

========

 

PARAMETERS

 * /camera/driver/base_frame_id: camera_link

 * /camera/driver/camera_type: R200

 * /camera/driver/color_fps: 30

 * /camera/driver/color_frame_id: camera_rgb_frame

 * /camera/driver/color_optical_frame_id: camera_rgb_optica...

 * /camera/driver/depth_frame_id: camera_depth_frame

 * /camera/driver/depth_optical_frame_id: camera_depth_opti...

 * /camera/driver/fisheye_frame_id: camera_fisheye_frame

 * /camera/driver/fisheye_optical_frame_id: camera_fisheye_op...

 * /camera/driver/imu_frame_id: camera_imu_frame

 * /camera/driver/imu_optical_frame_id: camera_imu_optica...

 * /camera/driver/ir2_frame_id: camera_ir2_frame

 * /camera/driver/ir2_optical_frame_id: camera_ir2_optica...

 * /camera/driver/ir_frame_id: camera_ir_frame

 * /camera/driver/ir_optical_frame_id: camera_ir_optical...

 * /camera/driver/mode: manual

 * /camera/driver/serial_no: 

 * /camera/driver/usb_port_id: 

 * /rosdistro: kinetic

 * /rosversion: 1.12.14

 

NODES

 /camera/

  driver (nodelet/nodelet)

  nodelet_manager (nodelet/nodelet)

 

ROS_MASTER_URI=http://localhost:11311

 

process[camera/nodelet_manager-1]: started with pid [2130]

process[camera/driver-2]: started with pid [2131]

[ INFO] [1552603733.908371166]: Initializing nodelet with 4 worker threads.

[ERROR] [1552603734.135645224]: /camera/driver - No cameras detected!

[ INFO] [1552603734.135990023]: /camera/driver - Sleeping 5 seconds then retrying to connect

[ERROR] [1552603739.153635527]: /camera/driver - No cameras detected!

[ INFO] [1552603739.154063741]: /camera/driver - Sleeping 5 seconds then retrying to connect

[ERROR] [1552603744.172775630]: /camera/driver - No cameras detected!

[ INFO] [1552603744.173841940]: /camera/driver - Sleeping 5 seconds then retrying to connect

 

0 Kudos
4 Replies
139 Views

Hi CBrea2, Thank you for your interest in the Intel Aero drone. Could you please tell me the output of the commands below? aero-get-version.py lsusb ls /dev dmesg Regards, Alexandra
CBrea2
Beginner
139 Views

horc@horc-aero:~$ aero-get-version.py aero-get-version.py: command not found horc@horc-aero:~$ aero-get-version.py aero-get-version.py: command not found horc@horc-aero:~$ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 275d:0ba6 Bus 001 Device 003: ID 413c:2107 Dell Computer Corp. Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub horc@horc-aero:~$ ls /dev acpi_thermal_rel kmsg stderr tty43 ttyS22 autofs kvm stdin tty44 ttyS23 block lightnvm stdout tty45 ttyS24 btrfs-control log tty tty46 ttyS25 bus loop0 tty0 tty47 ttyS26 char loop1 tty1 tty48 ttyS27 console loop2 tty10 tty49 ttyS28 core loop3 tty11 tty5 ttyS29 cpu loop4 tty12 tty50 ttyS3 cpu_dma_latency loop5 tty13 tty51 ttyS30 cuse loop6 tty14 tty52 ttyS31 disk loop7 tty15 tty53 ttyS4 dri loop-control tty16 tty54 ttyS5 drm_dp_aux1 mapper tty17 tty55 ttyS6 drm_dp_aux2 mcelog tty18 tty56 ttyS7 ecryptfs mei0 tty19 tty57 ttyS8 fb0 mem tty2 tty58 ttyS9 fd memory_bandwidth tty20 tty59 uhid full mmcblk0 tty21 tty6 uinput fuse mmcblk0boot0 tty22 tty60 urandom hidraw0 mmcblk0boot1 tty23 tty61 userio hidraw1 mmcblk0p1 tty24 tty62 vcs hpet mmcblk0p2 tty25 tty63 vcs1 hugepages mmcblk0p3 tty26 tty7 vcs2 hwrng mmcblk0rpmb tty27 tty8 vcs3 i2c-0 mqueue tty28 tty9 vcs4 i2c-1 net tty29 ttyprintk vcs5 i2c-10 network_latency tty3 ttyS0 vcs6 i2c-11 network_throughput tty30 ttyS1 vcsa i2c-12 null tty31 ttyS10 vcsa1 i2c-13 port tty32 ttyS11 vcsa2 i2c-14 ppp tty33 ttyS12 vcsa3 i2c-2 psaux tty34 ttyS13 vcsa4 i2c-3 ptmx tty35 ttyS14 vcsa5 i2c-4 pts tty36 ttyS15 vcsa6 i2c-5 random tty37 ttyS16 vfio i2c-6 rfkill tty38 ttyS17 vga_arbiter i2c-7 rtc tty39 ttyS18 vhci i2c-8 rtc0 tty4 ttyS19 vhost-net i2c-9 shm tty40 ttyS2 zero initctl snapshot tty41 ttyS20 input snd tty42 ttyS21 horc@horc-aero:~$ dmesg [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.0-142-generic (buildd@lgw01-amd64-033) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10) ) #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019 (Ubuntu 4.4.0-142.168-generic 4.4.167) [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-142-generic.efi.signed root=UUID=e51a5cb8-d65f-42c3-972e-5da9f927da22 ro quiet splash vt.handoff=7 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Centaur CentaurHauls [ 0.000000] x86/fpu: Legacy x87 FPU detected. [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000008efff] usable [ 0.000000] BIOS-e820: [mem 0x000000000008f000-0x000000000008ffff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x0000000000090000-0x000000000009ffff] usable [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001effffff] usable [ 0.000000] BIOS-e820: [mem 0x000000001f000000-0x00000000201fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000020200000-0x0000000074b03fff] usable [ 0.000000] BIOS-e820: [mem 0x0000000074b04000-0x0000000074b24fff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000074b25000-0x0000000078324fff] usable [ 0.000000] BIOS-e820: [mem 0x0000000078325000-0x00000000783b4fff] type 20 [ 0.000000] BIOS-e820: [mem 0x00000000783b5000-0x000000007ae50fff] reserved [ 0.000000] BIOS-e820: [mem 0x000000007ae51000-0x000000007af50fff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x000000007af51000-0x000000007af90fff] ACPI data [ 0.000000] BIOS-e820: [mem 0x000000007af91000-0x000000007bffffff] usable [ 0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000e3ffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fea00000-0x00000000feafffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed01000-0x00000000fed01fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed03000-0x00000000fed03fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed06000-0x00000000fed06fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed08000-0x00000000fed09fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1cfff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed80000-0x00000000fedbffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000ffc00000-0x00000000ffffffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000017fffffff] usable [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] efi: EFI v2.40 by INSYDE Corp. [ 0.000000] efi: ACPI 2.0=0x7af90014 SMBIOS=0x783c4000 ESRT=0x783c8918 [ 0.000000] esrt: Reserving ESRT space from 0x00000000783c8918 to 0x00000000783c8950. [ 0.000000] SMBIOS 2.8 present. [ 0.000000] DMI: Insyde CherryTrail/Intel(R) Aero Platform for UAVs, BIOS Aero-01.00.11 10/24/2016 [ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved [ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable [ 0.000000] e820: last_pfn = 0x180000 max_arch_pfn = 0x400000000 [ 0.000000] MTRR default type: uncachable [ 0.000000] MTRR fixed ranges enabled: [ 0.000000] 00000-9FFFF write-back [ 0.000000] A0000-FFFFF write-protect [ 0.000000] MTRR variable ranges enabled: [ 0.000000] 0 base 0FFC00000 mask FFFC00000 write-protect [ 0.000000] 1 base 000000000 mask F80000000 write-back [ 0.000000] 2 base 07E000000 mask FFE000000 uncachable [ 0.000000] 3 base 07D000000 mask FFF000000 uncachable [ 0.000000] 4 base 07C800000 mask FFF800000 uncachable [ 0.000000] 5 base 07C400000 mask FFFC00000 uncachable [ 0.000000] 6 base 100000000 mask F80000000 write-back [ 0.000000] 7 disabled [ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WC UC- WT [ 0.000000] e820: last_pfn = 0x7c000 max_arch_pfn = 0x400000000 [ 0.000000] Scanning 1 areas for low memory corruption [ 0.000000] Base memory trampoline at [ffff880000098000] 98000 size 28672 [ 0.000000] BRK [0x03215000, 0x03215fff] PGTABLE [ 0.000000] BRK [0x03216000, 0x03216fff] PGTABLE [ 0.000000] BRK [0x03217000, 0x03217fff] PGTABLE [ 0.000000] BRK [0x03218000, 0x03218fff] PGTABLE [ 0.000000] BRK [0x03219000, 0x03219fff] PGTABLE [ 0.000000] BRK [0x0321a000, 0x0321afff] PGTABLE [ 0.000000] RAMDISK: [mem 0x3338c000-0x359bdfff] [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x000000007AF90014 000024 (v02 INSYDE) [ 0.000000] ACPI: XSDT 0x000000007AF5E188 0000CC (v01 INSYDE INSYDE 00000003 01000013) [ 0.000000] ACPI: FACP 0x000000007AF8B000 00010C (v05 INSYDE INSYDE 00000003 ACPI 00040000) [ 0.000000] ACPI: DSDT 0x000000007AF6F000 016468 (v02 INSYDE INSYDE 00000003 ACPI 00040000) [ 0.000000] ACPI: FACS 0x000000007AF05000 000040 [ 0.000000] ACPI: UEFI 0x000000007AF8F000 000236 (v01 INSYDE INSYDE 00000001 ACPI 00040000) [ 0.000000] ACPI: UEFI 0x000000007AF8D000 000042 (v01 INSYDE INSYDE 00000000 ACPI 00040000) [ 0.000000] ACPI: HPET 0x000000007AF8A000 000038 (v01 INSYDE INSYDE 00000003 ACPI 00040000) [ 0.000000] ACPI: LPIT 0x000000007AF89000 000104 (v01 INSYDE INSYDE 00000003 ACPI 00040000) [ 0.000000] ACPI: APIC 0x000000007AF88000 00006C (v03 INSYDE INSYDE 00000003 ACPI 00040000) [ 0.000000] ACPI: MCFG 0x000000007AF87000 00003C (v01 INSYDE INSYDE 00000003 ACPI 00040000) [ 0.000000] ACPI: PRAM 0x000000007AF86000 000030 (v01 INSYDE INSYDE 00000003 ACPI 00040000) [ 0.000000] ACPI: SSDT 0x000000007AF6E000 000654 (v01 INSYDE CpuDptf 00000003 ACPI 00040000) [ 0.000000] ACPI: SSDT 0x000000007AF69000 0041C5 (v01 INSYDE DptfTab 00000003 ACPI 00040000) [ 0.000000] ACPI: SSDT 0x000000007AF68000 000058 (v01 INSYDE LowPwrM 00000003 ACPI 00040000) [ 0.000000] ACPI: SSDT 0x000000007AF67000 000763 (v01 INSYDE CpuPm 00003000 ACPI 00040000) [ 0.000000] ACPI: SSDT 0x000000007AF66000 000290 (v01 INSYDE Cpu0Tst 00003000 ACPI 00040000) [ 0.000000] ACPI: SSDT 0x000000007AF65000 00017A (v01 INSYDE ApTst 00003000 ACPI 00040000) [ 0.000000] ACPI: CSRT 0x000000007AF8C000 00014C (v00 INSYDE INSYDE 00000003 ACPI 00040000) [ 0.000000] ACPI: OEM0 0x000000007AF63000 000084 (v05 INSYDE INSYDE 00000005 ACPI 00040000) [ 0.000000] ACPI: OEM1 0x000000007AF62000 000040 (v01 INSYDE INSYDE 00000005 ACPI 00040000) [ 0.000000] ACPI: PIDV 0x000000007AF61000 0000DC (v02 INSYDE INSYDE 00000002 ACPI 00040000) [ 0.000000] ACPI: RSCI 0x000000007AF60000 00002C (v01 INSYDE INSYDE 00000000 ACP
139 Views

Hi CBrea2, It looks like you don't have the aero-system package installed. What is the output when you run "sudo aero-get-version.py"? Did follow the steps in the guide below to set-up your drone? https://github.com/intel-aero/meta-intel-aero/wiki/02-Initial-setup You may also find this guide helpful when you install the OS: ttps://github.com/intel-aero/meta-intel-aero/wiki/90-(References)-OS-user-Installation#installing-ubuntu-on... If you have installed aero-system package, the system should boot automatically with the right kernel: Linux frelon 4.4.76-aero-1.2 Regards, Alexandra
CBrea2
Beginner
139 Views

It works! I updated the BIOS, FPGA, and Flight Controller before reinstalling Ubuntu and ROS. Everything is working now. Thanks!
Reply