Go to advanced search

by dsyleixa123
Mon Sep 24, 2018 10:26 am
Forum: C/C++
Topic: which C/C++ lib for MPU6050 can retrieve yaw additional to pitch and roll?
Replies: 22
Views: 2924

Re: which C/C++ lib for MPU6050 can retrieve yaw additional to pitch and roll?

unfortunately I have not the maths skills to calculate yaw, pitch, and roll angles from gyro and acc values. Consider that e.g. for pitch=0 and roll=0° then the vertical gyro z axis is significant for yaw, whilst for pitch=+80° then mainly the longitudinal x axis becomes more significant to yaw. Sam...
by dsyleixa123
Sun Sep 23, 2018 8:34 pm
Forum: C/C++
Topic: which C/C++ lib for MPU6050 can retrieve yaw additional to pitch and roll?
Replies: 22
Views: 2924

which C/C++ lib for MPU6050 can retrieve yaw additional to pitch and roll?

hi,
which C/C++ lib for MPU6050 can retrieve yaw, additional to pitch and roll?
The sole gyro or accel values are not interesting actually.
by dsyleixa123
Wed Aug 22, 2018 7:02 am
Forum: C/C++
Topic: sigwait doesn't catch ctrl+c
Replies: 11
Views: 1660

Re: sigwait doesn't catch ctrl+c

jahboater wrote:
Tue Aug 21, 2018 11:57 pm
By the way, signal() is deprecated.
See "man signal" for info.
very regrettable, the signal() function was WAAAY easier to use than the weird sigaction helter-skelter :?
by dsyleixa123
Tue Aug 21, 2018 1:16 pm
Forum: C/C++
Topic: sigwait doesn't catch ctrl+c
Replies: 11
Views: 1660

Re: sigwait doesn't catch ctrl+c

hello, I am using this pattern: #include <signal.h> // for catching exit signals // Signal handler that will be called when Ctrl+C is pressed to stop the program (opt. for additional signals ) void signal_handler(int signo){ if(signo == SIGINT){ // Reset + clean up everything exit(-1); } // else if(...
by dsyleixa123
Sun Aug 05, 2018 10:04 am
Forum: C/C++
Topic: Errors when trying to compile simple program
Replies: 8
Views: 1016

Re: Errors when trying to compile simple program

fbe wrote:
Sun Aug 05, 2018 10:00 am
No. Never include cpp-files! Compile them.
The manufacturer himself suggests to #include BrickPi3.cpp to proprietary source code.
But perhaps that might be different for multiple cpp files.
by dsyleixa123
Sun Aug 05, 2018 9:19 am
Forum: C/C++
Topic: Errors when trying to compile simple program
Replies: 8
Views: 1016

Re: Errors when trying to compile simple program

OP, IN test.h try changing "#include "BrickPi3.cpp" to "#include "BrickPi3.h" PeterO I actually doubt that that would work, as BrickPi3.cpp includes BrickPi3.h, not other way round. But perhaps make an additional wrapper around BrickPi3.cpp source code (analog to BrickPi3.h): #ifndef BrickPi3_cpp_ ...
by dsyleixa123
Sat Jul 21, 2018 8:21 pm
Forum: C/C++
Topic: Stretch: wmctrl terminal window at wrong place
Replies: 7
Views: 957

Re: Stretch: wmctrl terminal window at wrong place

now I encounterd an issue nonetheless: By system("wmctrl -r :ACTIVE: -e 0,520,0,320,320"); it works, as long there is not already another terminal window open (as far as I observed) BUT: If there is already another terminal window opened, then the command resizes another XWindow (e.g., from Geany) a...
by dsyleixa123
Sat Jul 21, 2018 7:54 pm
Forum: OpenVG
Topic: Stretch: how to install latest openVG version with Dot() function?
Replies: 40
Views: 21204

Re: Stretch: how to install latest openVG version with Dot() function?

pull with rebase not possible because of not comitted or so... BUT: by make uninstall and remove directory and new reinstall: it works now! Just FYI, the make in openvg still had the wrong paths instead of -lbrcmGLESv2 -lbrcmEGL, but in openvg\client\ this already was correct surprisingly! Thank you...
by dsyleixa123
Sat Jul 21, 2018 7:51 pm
Forum: OpenVG
Topic: Stretch: how to install latest openVG version with Dot() function?
Replies: 40
Views: 21204

Re: Stretch: how to install latest openVG version with Dot() function?

Thank you!
actually I made some alterations, e.g. I changed the 2 expressions -lGLESv2 -lEGL to -lbrcmGLESv2 -lbrcmEGL in the 2 Makefiles and after that made all those make things.
Nonetheless,I will try the
git pull --rebase
first of all.
by dsyleixa123
Sat Jul 21, 2018 9:49 am
Forum: OpenVG
Topic: Stretch: how to install latest openVG version with Dot() function?
Replies: 40
Views: 21204

Re: Stretch: how to install latest openVG version with Dot() function?

thank you very much, that was realy quick!
Do I now have to remove anything, or just new download, or even just a new checkout, and/or any re-compile, and by which single steps exactly?
by dsyleixa123
Fri Jul 20, 2018 2:46 pm
Forum: OpenVG
Topic: Stretch: how to install latest openVG version with Dot() function?
Replies: 40
Views: 21204

Re: Stretch: how to install latest openVG version with Dot() function?

thank you, that gives me reason to hope again. If you don't mind and if you think you could fix that in a rather near future, I'll gladly wait for the fix to come!
by dsyleixa123
Fri Jul 20, 2018 11:57 am
Forum: OpenVG
Topic: Stretch: how to install latest openVG version with Dot() function?
Replies: 40
Views: 21204

Re: Stretch: how to install latest openVG version with Dot() function?

looks as if there is no working solution for Dot(), regrettably. I guess I have to give up.
by dsyleixa123
Wed Jul 18, 2018 7:45 am
Forum: OpenVG
Topic: Stretch: how to install latest openVG version with Dot() function?
Replies: 40
Views: 21204

Re: Stretch: how to install latest openVG version with Dot() function?

I am quite sure that Dot() once worked on Jessie (don't remember which version though), but which branch or version now has been proven to work for Dot() reliably on Stretch?
(It's above all for 1 dot = 1 pixel, not for larger spots/marks)
by dsyleixa123
Sat Jul 14, 2018 7:02 am
Forum: OpenVG
Topic: Stretch: how to install latest openVG version with Dot() function?
Replies: 40
Views: 21204

Re: Stretch: how to install latest openVG version with Dot() function?

thank you very much for your help. Unfortunately I never use Makefiles, so I have no idea what make, sudo make install, make all, and make test really do in detail. I am used to simple IDEs like Arduino or Geany which handle that magic stuff for me. I only wanted to be sure not to get orphans or dup...
by dsyleixa123
Fri Jul 13, 2018 4:15 pm
Forum: OpenVG
Topic: Stretch: how to install latest openVG version with Dot() function?
Replies: 40
Views: 21204

Re: Stretch: how to install latest openVG version with Dot() function?

no one here to explain how the correct and clean way for a downgrade is from screenshot to windowsave?
by dsyleixa123
Thu Jul 12, 2018 6:40 am
Forum: OpenVG
Topic: Stretch: how to install latest openVG version with Dot() function?
Replies: 40
Views: 21204

Re: Stretch: how to install latest openVG version with Dot() function?

thanks, I think I'll stay with windowsave then.
About my question how to install it:
After that, just a new git checkout <branch>, or should I instead clean remove everything and fresh install?
by dsyleixa123
Wed Jul 11, 2018 8:01 pm
Forum: OpenVG
Topic: Stretch: how to install latest openVG version with Dot() function?
Replies: 40
Views: 21204

Re: Stretch: how to install latest openVG version with Dot() function?

hi, if IIUC, I should drop the current windowsave which I have installed and instead use the branch rendertarget or screenshot? Which is the newer one (or with least issues)? Actually I always used hard dots, never the smooth ones, because of drawing speed. After that, just a new git checkout <branc...
by dsyleixa123
Wed Jul 11, 2018 6:15 pm
Forum: OpenVG
Topic: Stretch: how to install latest openVG version with Dot() function?
Replies: 40
Views: 21204

Re: Stretch: how to install latest openVG version with Dot() function?

no functioning Dot function in any branch?
by dsyleixa123
Wed Jul 11, 2018 7:07 am
Forum: OpenVG
Topic: Stretch: how to install latest openVG version with Dot() function?
Replies: 40
Views: 21204

Re: Stretch: how to install latest openVG version with Dot() function?

will there soon be fixes about the reported isssues (make all, Dot() ) in this screenshot branch, or which branch can I choose which works for Dot() ?
by dsyleixa123
Tue Jul 10, 2018 4:22 pm
Forum: C/C++
Topic: Stretch: wmctrl terminal window at wrong place
Replies: 7
Views: 957

Re: Stretch: wmctrl terminal window at wrong place

Update!
aahhh...
I was missing your last correction because I didn't realize the differences:
system("wmctrl -r :ACTIVE: -e 0,520,0,320,320");

YES!
Now it works again, thank you very much!
by dsyleixa123
Tue Jul 10, 2018 4:17 pm
Forum: C/C++
Topic: Stretch: wmctrl terminal window at wrong place
Replies: 7
Views: 957

Re: Stretch: wmctrl terminal window at wrong place

there are sometimes other terminal open, sometimes not, but always the same result:
a new window with the correct size opens, but at the wrong place.
by dsyleixa123
Tue Jul 10, 2018 4:11 pm
Forum: C/C++
Topic: Stretch: wmctrl terminal window at wrong place
Replies: 7
Views: 957

Re: Stretch: wmctrl terminal window at wrong place

hello, thanks for your reply. About the spaces you are correct, I deleted them. Nevertheless I always get a new terminal window (just as before on Jessie) but now still always at the wrong place. On Jessie it always worked fine, but on Stretch no longer. I use a 1920x1080 screen. I even checked an o...
by dsyleixa123
Tue Jul 10, 2018 2:57 pm
Forum: C/C++
Topic: Stretch: wmctrl terminal window at wrong place
Replies: 7
Views: 957

Stretch: wmctrl terminal window at wrong place

hello,
I want to open a wmctrl terminal window at pos 0,520 by
system("wmctrl -r LXTerminal -e 0, 520,0, 320,320"); // LXTerminal wmctrl screen (Gravity, x,y, w,h)

The window opens, but always at 0,0 and not at 520,0.... what am I missing?
by dsyleixa123
Tue Jul 10, 2018 2:43 pm
Forum: OpenVG
Topic: Stretch: how to install latest openVG version with Dot() function?
Replies: 40
Views: 21204

Re: Stretch: how to install latest openVG version with Dot() function?

hello Paeryn,
thank you!
I added the NULL to WindowsOpacity, and now my programs can be compiled and built again.

But I don't understand what to do with the Dot() errors after
cd client
make all

How can that be fixed (or how and when can you fix it) ?

Go to advanced search