Search found 68 matches
- Tue May 17, 2016 6:27 am
- Forum: Raspberry Pi OS
- Topic: Jessie dhcpcd.conf
- Replies: 7
- Views: 5612
Re: Jessie dhcpcd.conf
Thank you this is what I was looking for i'll have a play and see if I can get it working for my needs.
- Mon May 16, 2016 7:32 pm
- Forum: Raspberry Pi OS
- Topic: Jessie dhcpcd.conf
- Replies: 7
- Views: 5612
Jessie dhcpcd.conf
Hello, I am trying to setup a very particular network for 2 raspberry pi's One 'main' pi with WiFi connected to a second pi via a crossover cable (using the ethernet port on each pi). With NO switch just directly connected. I can not get the main pi when connected via the crossover cable to use the ...
- Tue Jan 26, 2016 10:43 pm
- Forum: OpenMAX
- Topic: OMX camera WITHOUT tunneling
- Replies: 1
- Views: 2128
OMX camera WITHOUT tunneling
Hello I am still desperately trying to create a stereo camera using 2 raspberry pis (yes i know there is a new board that can run 2 cameras but I've decided to complete this project as an exercise). I am so very close to getting a working program but I am unable to get the camera to behave without u...
- Mon Sep 07, 2015 9:19 pm
- Forum: C/C++
- Topic: Recommended reading for MMAL
- Replies: 30
- Views: 5615
Re: Recommended reading for MMAL
So I have found a lot more looking into OpenMAX finding also that nearly all of it also applies to MMAL. I am getting to the point where I will be able to write my own programs. I can see why people avoid OpenMAX it is the pain everyone promised :). But things are slowly making sense and I have fewe...
- Mon Sep 07, 2015 9:12 pm
- Forum: C/C++
- Topic: C Libraries for Adafruit servo HAT?
- Replies: 9
- Views: 2236
Re: C Libraries for Adafruit servo HAT?
I don't know if this is what your looking for but I found this on my travels
https://github.com/raspberrypi/hats
https://github.com/raspberrypi/hats
- Sat Aug 15, 2015 2:57 pm
- Forum: C/C++
- Topic: Recommended reading for MMAL
- Replies: 30
- Views: 5615
Re: Recommended reading for MMAL
Well after weeks of just stumbling around in the dark I have learnt a lot but I am still unable to get the most basic of examples working in MMAL. With so little documentation I've decided to try a stab at learning OpenMax. Thanks to jamesh who pointed me in the right direction in terms pthreads I r...
- Sat Aug 15, 2015 8:12 am
- Forum: C/C++
- Topic: Recommended reading for MMAL
- Replies: 30
- Views: 5615
Re: Recommended reading for MMAL
so i can compile the examples in the mmal test folder but still haveing problems. the connections example is the most usefull to me but the reader component fails at runtime when trying to set uri. it gives the error mmal: reader_container_open: error opening file filename (1) failed to set uri of c...
- Fri Aug 07, 2015 7:11 pm
- Forum: C/C++
- Topic: Recommended reading for MMAL
- Replies: 30
- Views: 5615
Re: Recommended reading for MMAL
Ok buried in the userland code I have found what I was looking for.
going to try and compile it.
Is it just me? does anyone else struggle with this I feel I have bitten off more than I can chew tackling this library at this stage of my learning.
going to try and compile it.
Is it just me? does anyone else struggle with this I feel I have bitten off more than I can chew tackling this library at this stage of my learning.
- Thu Aug 06, 2015 7:49 pm
- Forum: C/C++
- Topic: Recommended reading for MMAL
- Replies: 30
- Views: 5615
Re: Recommended reading for MMAL
having learnt about pthreads semaphores and all the other gaps in my knowledge I am still struggling with MMAL (although I understand more of it).
In particular I am trying to make a compilable version of their example code.
Has anyone done this?
In particular I am trying to make a compilable version of their example code.
Has anyone done this?
- Mon Jul 27, 2015 1:41 pm
- Forum: C/C++
- Topic: Recommended reading for MMAL
- Replies: 30
- Views: 5615
Re: Recommended reading for MMAL
So I've finally gotten around to learning pthreads Its spinning my head a bit but slowly working my way through it. Threading works pretty much as I expected although more work is done by the programmer than I imagined. Still not the reached the point where I can implement my own blocking code. I th...
- Tue Jul 21, 2015 9:53 am
- Forum: C/C++
- Topic: Recommended reading for MMAL
- Replies: 30
- Views: 5615
Re: Recommended reading for MMAL
So I am getting further each day and now have my own working example displaying a preview thanks mainly to the raspicam programs and the example i posted before (which works great but does not terminate). I understand many of the concepts I was struggling with before but now I am looking for documen...
- Sun Jul 19, 2015 4:25 pm
- Forum: C/C++
- Topic: Recommended reading for MMAL
- Replies: 30
- Views: 5615
Re: Recommended reading for MMAL
I have of course googled semaphores and read what I could understand. From the little i do understand it basically is some kind of event signal to tell you when a thread has finished. But standard programming technique? its odd how all the references I find in google are under advanced techniques. I...
- Sat Jul 18, 2015 6:10 pm
- Forum: C/C++
- Topic: Recommended reading for MMAL
- Replies: 30
- Views: 5615
Re: Recommended reading for MMAL
thanks for the replies I am slowly getting to grips with this although the concept of a semaphore still eludes me and acording to the docs im supposed to have one to deal with buffers? anyway in the example on http://www.jvcref.com/files/PI/documentation/html/ is there a typo on the example code the...
- Wed Jul 15, 2015 4:40 pm
- Forum: C/C++
- Topic: Recommended reading for MMAL
- Replies: 30
- Views: 5615
Re: Recommended reading for MMAL
Still struggling but have found a piece of example code that is far easier to read than the examples given in userland
https://github.com/tasanakorn/rpi-mmal- ... lop/main.c
note: do not compile currently investigating problem
https://github.com/tasanakorn/rpi-mmal- ... lop/main.c
note: do not compile currently investigating problem
- Mon Jul 13, 2015 4:52 pm
- Forum: C/C++
- Topic: #error header must be compiled as C++
- Replies: 5
- Views: 4404
Re: #error header must be compiled as C++
Yup legal C code is legal C++ code (except some very rare exceptions)
you don't need to learn anything new just write in C and compile with a C++ compiler.
Probably wise to make a note of it in a comment if its a public project.
you don't need to learn anything new just write in C and compile with a C++ compiler.
Probably wise to make a note of it in a comment if its a public project.
- Mon Jul 13, 2015 4:02 pm
- Forum: C/C++
- Topic: Recommended reading for MMAL
- Replies: 30
- Views: 5615
Re: Recommended reading for MMAL
Ok what i'm trying to do is create a stereo camera from 2 raspberry pi's connected via ethernet and 2 camera modules. I have found issue with the way the default behavior for the preview works. Idealy I would like 2 low res previews on the same screen (which wont necessarily be on fb0 because I woul...
- Sun Jul 12, 2015 8:29 pm
- Forum: C/C++
- Topic: Recommended reading for MMAL
- Replies: 30
- Views: 5615
Re: Recommended reading for MMAL
Is there not 1 book on any of these subjects?
- Fri Jul 10, 2015 12:59 pm
- Forum: C/C++
- Topic: Recommended reading for MMAL
- Replies: 30
- Views: 5615
Re: Recommended reading for MMAL
Does anyone know of any good articles or books what I really need is a more experienced programmer to point me in the right direction.
- Thu Jul 09, 2015 1:27 pm
- Forum: C/C++
- Topic: Recommended reading for MMAL
- Replies: 30
- Views: 5615
Re: Recommended reading for MMAL
I have read all of this it does not explain the core concepts i.e what a buffer is and what it does
- Thu Jul 09, 2015 1:06 pm
- Forum: C/C++
- Topic: Recommended reading for MMAL
- Replies: 30
- Views: 5615
Recommended reading for MMAL
I have recently learnt to program in C and am struggling to understand MMAL I have worked through C a modern approach completely and can follow code. I feel that I am not familiar with a lot of the concepts used like ports streams and buffers. Can anyone recommend some good reading for these concepts?
- Fri Apr 05, 2013 6:42 pm
- Forum: Graphics programming
- Topic: OpenGL ES 3.0
- Replies: 14
- Views: 13504
Re: OpenGL ES 3.0
the way open GL works any new function not in the hardware would have to be emulated by the processor. As good as the raspberry pi is this would result in performance not worth the effort of writing the emulation. March of progress I'm afraid but I imagine there will be a raspberry pi 2 at some poin...
- Wed Feb 06, 2013 5:01 pm
- Forum: Other projects
- Topic: Educational Dance Game
- Replies: 17
- Views: 3019
Re: Educational Dance Game
This project has been on pause recently (moving, life etc). But I am due to start working on it again next week. I need a vote. The graphics are 2d and will have to remain so for the forseable future but there are 2 ways of doing the graphics 1. Pre rendered 3d sprites in blender. 2. 2d hand drawn a...
- Fri Oct 05, 2012 3:45 pm
- Forum: Graphics, sound and multimedia
- Topic: Mission: Make rPi audio better
- Replies: 6
- Views: 4176
Re: Mission: Make rPi audio better
I'm pretty sure my comments are quite ignorant as I don't know how to write a sound driver but. Surely a buffer in the ram is the best solution for audio it might raise latency but anything is better than the current solution (making the buffer 0 when nothing is needed to be played but still outputt...
- Wed Sep 26, 2012 3:27 pm
- Forum: Gaming
- Topic: using the raspberry pi and the Oculus Rift
- Replies: 28
- Views: 12794
Re: using the raspberry pi and the Oculus Rift
Just ordered the development kit may make more sense to try and power this with 3 raspberry pis 1 for computation and 1 for rendering the screen for each eye, optimising the memory divides you could get some fairly impressive worlds. You will be able to get something to the oculus with 1 raspberry I...
- Thu Sep 20, 2012 1:32 pm
- Forum: Gaming
- Topic: SNES with audio, anyone?
- Replies: 7
- Views: 4094
Re: SNES with audio, anyone?
Out of interest have you tried both modes in bsnes? "Accuracy uses a pixel-based renderer, which is required to properly emulates effects such as the plane shadow from Air Strike Patrol. However, it is almost twice as slow as the compatibility profile. Compatibility uses a scanline-based render...