Setting up ueye camera for raspberry pi - raspberry-pi

I am trying to setup an iDs ueye camera on my raspberry pi for a project. I am supposed to run a .gz.run script file that setups everything and then run a daemon that startups the camera.Although on my laptop it works fine (64bit ubuntu) when I setup the 32bit version on the pi and then run the daemon I get the following error:
/usr/local/share/ueye/ueyeusbd/ueyeusbd: 1:
/usr/local/share/ueye/ueyeusbd/ueyeusbd: Syntax error: word unexpected
(expecting ")")
I'm suspecting that the camera is not compatible for arm processors , but I would like to find out if there's a way for it to be.

IDS has recently released an alpha driver for the Raspberry Pi in the form of an image file. Basically it is a normal Wheezy Rasbian distribution with the ueye-driver (i.e. ueye-daemon) installed. Although the official documentation is sparse (to say the least), everything seems to be in place - the complete Linux SDK should be supported.
You can get the stuff from: http://en.ids-imaging.com/embedded.html

Related

Using VSCode with a Raspberry Pi 1

I'm trying to set-up Raspberry Pi 1 with VSCode so I could run code remotely on it. I've installed VSCode on the Pi, but when trying to launch it with the 'code' command, I get an 'Illegal instruction' error.
I tried connecting remotely from my Windows workstation, but I got an error saying that "the remote's host architecture isn't supported".
My question is, is it possible to install VSCode on the original Pi? If not, what IDE do you use to work remotely on it, besides ssh and VNC?
According to VS Code's official site, Raspberry Pi 1 is not supported.
First-generation Raspberry Pi modules and Raspberry Pi Zero are not supported as they only include an ARMv6 CPU.
Seems to me Raspberry Pi 1 has very low hardware and I'm sure that it will give you hard times when you codding. If you wanna use it anyway, you may continue with a browser-based editor like AWS cloud9.

Problem Putting Alpine Linux in Sys Mode on Raspberry Pi Zero

I'm trying to setup Alpine Linux on a Raspberry Pi Zero W in Sys Mode (normal Desktop mode) but it doesn't seem to be working.
I've followed all the instructions given on the Alpine website for installations.
After setting up the setup-alpine setups, I'm choosing the "Sys" mode in the mmcblk0p1 disk (SD Card). It creates a boot partition (FAT FS) then says installation is complete, please reboot. But after reboot the Alpine doesn't boot and it throws a big "Kernel Panic not Syncing" error or something like that.
I'm even having trouble installing packages as all the installations seem to be going to the RAM memory instead of ROM.
Can somebody please help me with this.
I'm not all that good with Linux systems and OS/Kernels but can learn really quick.

How do I make a raspberry pi raspbian application?

I am struggling on how to make a Raspberry Pi app for Raspbian (On a raspberry pi). I have searched and searched for hours but I still can't find out how to make one. There are apps that I can use but I cannot install them. Should I use python??... Please help me!!...
I found a few visual editors like XOJO, I am knew to "RASPBERRY PI" stuff.
It's just a bare machine you can cover it with anything you want. It's basically Lightweight Linux distro which we install mostly on the PI. Can support wide range of applications but IOT related products are more often developed using PI. If this is the case you can start here using android also.
https://developer.android.com/things/hardware/raspberrypi

Open MPI stuck on an older version

I'm building a Raspberry Pi cluster and am using Open MPI to do some parallel processing... I was able to get it up and running with my Raspberry Pi 3 and a few Pi 1s, but when I tried to add another Pi 3 I started getting some errors (Error: unknown option "--hnp-topo-sig")
It's possible that the problem is because the versions of mpi between both my pis are different - my first pi 3 has version 2.0.2 while the other has 1.6.5, which is odd considering I only installed it on that pi today and on the first pi about a week ago.
I've tried sudo apt-get update and upgrade, but my pi keeps telling me that everything is up to date, even though it doesn't seem like it is. So my question is this - how can I update my open mpi to a newer version so I can run my files? Thanks in advance!
As Gilles noted, Open MPI requires the version to be identical on all machines.
If your Linux distro is telling you that the packaged version of Open MPI is up to date, then you probably have different versions of Linux distros on your different RPi units.
You might want to try:
Installing the same exact Linux distro/version on all your RPi units, and/or
Downloading the latest Open MPI source code tarball from www.open-mpi.org and building/installing Open MPI from source on all your RPi units. That will definitely work, but be aware that Open MPI is a large software package -- compiling it on an RPi will take quite a while.

Configuring QT Creator on Windows 7 (Raspberry pi is target)

So I will start off by saying that I do NOT want know how to setup or run QT on the pi. I am specifically trying to setup Qt Creator 4.0.3 (Based on Qt 5.7.0 (MSVC 2013, 32 bit)) to write and compile C++ and the run it on the Raspberry pi 2. I have found that running qt on the pi is far to slow.
I have searched for two days to find the right toolchain download for qt/raspberry and its corresponding qt configuration. Nothing seems to work. I have found what seems like a thousand dead ends searching the web. I can write and compile apps for windows console fine. But finding information to cross compile for raspberry seems to be an elusive Unicorn!
Does anyone have this working??? If so which of the many toolchains did you use? And please help me replicate your QT configuration. The closest I have come is using the GCC ARM Embedded toolchain but I cant seem to get the QT options set correctly and I believe that only gets me part of the way there. My ultimate goal is to control GPIO and use the RadioHead library.
Thanks in advance!
I also wanted to do that, and I actually achieved it, It's called "cross-compilation", you build on the Main PC and then compile it to the target.
Initially I wanted to use my main PC with windows 10, but I ended creating a linux partition on my pc to do it since I didn't found any way to do it with windows.
Qt has a very comprehensive tutorial with Qt5 and RaspberryPi2 (both with linux), the only problem is you need linux on your pc to do it. If you want to do this I would suggest following this steps:
Create a linux partition with the same os as in the pi (for example raspbian and debian) and name the username (in linux) "pi" and the password "raspberry". This will help you with external libraries.
Install Qt for Linux on your new partition
Follow Qt's tutorial on https://wiki.qt.io/RaspberryPi2EGLFS
The tutorial is really straightforward, I really recommend it.
Good Luck.