Go to advanced search

by Mariusmssj4
Tue May 12, 2015 3:14 pm
Forum: C/C++
Topic: Raspbery PI video codecs OpenCV
Replies: 1
Views: 1669

Raspbery PI video codecs OpenCV

Hello guys, I am trying to convert a bunch of images into a video, I got OpenCV code working perfectly fine on the Windows machine but videos I make on windows machine doesn't seem to work on pi using opencv. So I thought I'll just run the same code on pi and encode the images on the pi itself. The ...
by Mariusmssj4
Tue May 12, 2015 9:36 am
Forum: Advanced users
Topic: root SSH login not working with Jessie, Access denied
Replies: 6
Views: 37901

root SSH login not working with Jessie, Access denied

I've upgraded my pi image to Jessie and having issues with connection via SSH to the root user. Upon trying to connect it says Access denied.

It happily connects to Pi user but not root. I've renamed root password and everything but still doesn't work.

Any ideas what's the problem?

Thanks
by Mariusmssj4
Tue May 12, 2015 8:41 am
Forum: Graphics programming
Topic: glDrawArrays only handles up to 65535 points
Replies: 4
Views: 2072

Re: glDrawArrays only handles up to 65535 points

Thanks for the replies guys :) Paeryn the change of starting point didn't work so I wrote a for loop and changed the starting pointer on the array. This is the draw call now and it works: void Renderer::draw(pcl::PointCloud<pcl::PointXYZRGB>::Ptr pointCloud) { // Set the viewport glViewport(0, 0, th...
by Mariusmssj4
Mon May 11, 2015 1:25 pm
Forum: Graphics programming
Topic: glDrawArrays only handles up to 65535 points
Replies: 4
Views: 2072

Re: glDrawArrays only handles up to 65535 points

Yeah it seems to be the case, is it possible to make up a point cloud out of multiple 65535 point segments? e.g: glVertexAttribPointer(posAttrib, 4, GL_FLOAT, GL_FALSE, 8 * sizeof(GLfloat), (GLvoid *)segment1); glEnableVertexAttribArray(posAttrib); glDrawArrays(GL_POINTS, 0, 65535); glVertexAttribPo...
by Mariusmssj4
Mon May 11, 2015 12:57 pm
Forum: Graphics programming
Topic: glDrawArrays only handles up to 65535 points
Replies: 4
Views: 2072

glDrawArrays only handles up to 65535 points

Hi guys,

Seems to have an issue with OpenGLES2.0 as it can only draw up to 65535 on my:

Code: Select all

glDrawArrays(GL_POINTS, 0, pointCount); //307200 points 
call.
So is there any way to increase the point count for the call?

Thanks.
by Mariusmssj4
Fri May 01, 2015 9:43 am
Forum: C/C++
Topic: Raspberry Pi2 cross compile a library
Replies: 1
Views: 1223

Raspberry Pi2 cross compile a library

Hello guys, I am trying to compile Point cloud library on my Pi2 but having lots of issues with swap and so on. So I saw an advice to compile on another Linux machine using armv7 cflag and then move the files to pi2 and do make install. I was wondering how would I got about to do this? I got a machi...
by Mariusmssj4
Sat May 31, 2014 5:47 pm
Forum: Automation, sensing and robotics
Topic: MPU-9150 Nine-Axis IMU rotation matrix
Replies: 5
Views: 2859

Re: MPU-9150 Nine-Axis IMU rotation matrix

Thanks drhastings, it worked nicely.

Looking more at it, it seems that It's not really possible to use quite a few features of this chip on linux.

I am trying to find some better open source alternatives.
by Mariusmssj4
Tue May 27, 2014 4:39 pm
Forum: Automation, sensing and robotics
Topic: MPU-9150 Nine-Axis IMU rotation matrix
Replies: 5
Views: 2859

Re: MPU-9150 Nine-Axis IMU rotation matrix

I'd ask Víctor Mayoral who wrote the code on GitHub. Invensense have not published specs to access their motion detection though it has been reverse engineered several times, though I think for the quaternion data mainly. I think you stand a better chance talking to the author of the code for such ...
by Mariusmssj4
Tue May 27, 2014 3:37 pm
Forum: Automation, sensing and robotics
Topic: MPU-9150 Nine-Axis IMU rotation matrix
Replies: 5
Views: 2859

MPU-9150 Nine-Axis IMU rotation matrix

Hi guys, I am trying to figure out how to get the rotation matrix out of the MPU-9150 Nine-Axis IMU sensor, I am using the linux-mpu9150 code with imu.c which gives me the: euler_angles, fused_quaternion, calibrated_accel and calibrated_mag But on the spec it says: Digital-output 9-axis MotionFusion...
by Mariusmssj4
Wed Feb 19, 2014 12:27 pm
Forum: C/C++
Topic: Code::Blocks for Pi newer than 10.05
Replies: 1
Views: 1042

Code::Blocks for Pi newer than 10.05

Hi guys,

Is it possible to get a newer version of code::blocks other than 10.05 on the raspberry pi for Raspbian??

sudo apt-get install codeblocks only installs 10.05 which is really old and quite slow.

Thanks
by Mariusmssj4
Fri Jan 31, 2014 9:53 am
Forum: C/C++
Topic: libopencv-dev missing functions and members
Replies: 1
Views: 1721

Re: libopencv-dev missing functions and members

Fixed it :)

needed to add

Code: Select all

#include "opencv2/imgproc/imgproc.hpp"
to my .cpp file

and

Code: Select all

-lopencv_imgporc
to the g++ command
by Mariusmssj4
Wed Jan 29, 2014 4:32 pm
Forum: C/C++
Topic: libopencv-dev missing functions and members
Replies: 1
Views: 1721

libopencv-dev missing functions and members

Hi, I am working on getting some OpenCv code working on the Pi. I got OpenCV installed using sudo apt-get install libopencv-dev and using RaspiCam: C++ API for using Raspberry camera the code I am using is quite simple : #include <ctime> #include <iostream> #include <raspicam/raspicam_cv.h> using na...
by Mariusmssj4
Fri Jan 24, 2014 4:18 pm
Forum: C/C++
Topic: OpenCv C++
Replies: 6
Views: 8546

Re: OpenCv C++

Thank you topguy it worked brilliantly :)
by Mariusmssj4
Thu Jan 23, 2014 3:29 pm
Forum: C/C++
Topic: OpenCv C++
Replies: 6
Views: 8546

Re: OpenCv C++

You are only missing to tell the linker that the missing libraries is located in "/opt/vc/lib/". In the guide you linked to he uses full path to those libs but I guess you should only need to add: -L/opt/vc/lib Why thank you that worked right away :) now just running the application fails. ./simple...
by Mariusmssj4
Thu Jan 23, 2014 10:56 am
Forum: C/C++
Topic: OpenCv C++
Replies: 6
Views: 8546

OpenCv C++

Hey guys, I am working on a project of porting my OpenCV code from Windows to raspberry pi but I am having hard time finding a way to get OpenCV C++ working. I've found many guides but they seemed to only have libraries and code support for only C. The only promising one I found was this: RaspiCam: ...

Go to advanced search