Open GoogleCodeExporter opened 9 years ago
I had the same problem, but after changing the priority for the process it
worked
fine...
Original comment by walther....@gmail.com
on 12 Feb 2009 at 11:48
This will be misplaced, sorry... I'd like to join the project and have a lot of
ideas
and suggestions.
Original comment by walther....@gmail.com
on 13 Feb 2009 at 12:36
I have the same problem about the crash after the calibration on ubuntu.
Sorry what do you mean with change the priority of the process.
This means give with the nice command a better priority or what?
Walther can you explain me the workaround and the entity of the problem well?
Thanks
Original comment by al...@paranoici.org
on 28 Mar 2009 at 2:53
Change the priority for the whiteboard process to, let's say +3, using nice or
the
kde system guard, before connecting to the wiimote. The connect and calibrate.
It
worked fine for me.
I don't know what causes the problem. But I had a similar problem with a
digitizing
tablet, and a friend of mine told me to do so. After trying many times to run
whiteboard, I remembered this tip and tried, and voilá!
I hope someone will find out what causes the crash and present a better
solution. ;)
Original comment by walther....@gmail.com
on 28 Mar 2009 at 3:16
By the way, I hope it works for you too... Try it out and tell me if it worked.
Original comment by walther....@gmail.com
on 28 Mar 2009 at 3:20
>> I have the same problem about the crash after the calibration on ubuntu.
What version of whiteboard are you using?. The 'automated' version was I quick
hack I
did per a user's wish. It is, as stated, not recommended for everyday use.
Original comment by vanhtu1...@gmail.com
on 3 Apr 2009 at 10:57
>> This will be misplaced, sorry... I'd like to join the project and have a lot
of
>>ideas and suggestions.
Thanks for the offer, whiteboard has reached a state where it is usable and
simple,
but more features are always welcome. Although the codebase works, I've moved
to a
similar project using one or more tracking devices (now only has supports for
Wiimote) that can do 3D tracking. The library is written in C++ and is
practically
done (my intention would be moving it over to Python for better compatilibity
though).
If you're interested in the new library, or would like to improve whiteboard.
I'd try
to document how it works internally.
Original comment by vanhtu1...@gmail.com
on 3 Apr 2009 at 11:08
It would be great, I'm not a good C++ programmer but I'm really interested in
see how
things work, yes, I'm a geek!
Original comment by walther....@gmail.com
on 4 Apr 2009 at 1:06
[deleted comment]
The basic idea in whiteboard is the mapping from the Wiimote camera's IR
position to
the screen. I reused the algorithm written by another developer but wrote a
simpler
(and more flexible) algorithm in the 3D tracking library. You can see the code
for
whiteboard's algorithm, but here is the explanation for the new one:
In 2D:
- Have user specifies the origin, X and Y axis unit vectors. That makes 3 points,
usually in the top left, top right and bottom left corners, respectively. They
can be
any values as far as the Wiimote is concerned. They are stored as (x0, y0),
(x1, y1)
and (x2, y2) .
- When running, we'll get the IR coordinates (say (x, y) ) from the Wiimote then do
a dot product with each unit vector. (x, y) * (x1-x0, y1-y0) for the X
coordinate,
(x, y) * (x2-x0, y2-y0) for the Y coordinate.
- If we get (1.0, 1.0), that means the cursor is in the bottom right
corner. If we get (0.5, 0.5), that means the cursor is exactly in the middle of
the
screen. Those will be multiplied by the screen dimension to get the cursor's
coordinates in the screen.
The only source of confusion may be the dot product part: It tells us how much
longer/shorter (with 1.0 being equal) a vector is when mapped to another
vector. To
make it work in 3D, it is just a matter of calibrating the Z axis unit vector.
You may want to start by building the above algorithm with some test values.
The rest
(building the GUI, working with the Wiimote), I believe, is not relevant to the
problem being discussed here. You can build a program that works in the
terminal and
with another tracking device (like a IR camera).
Original comment by vanhtu1...@gmail.com
on 4 Apr 2009 at 8:07
i also have this issue.
changing the priority of the program does nothing for me, except once i set the
nice
to 19, and the program became unresponsive instead of crashing.
Original comment by nikolard...@gmail.com
on 11 Apr 2009 at 11:39
The crash is not reproducible in my system (Ubuntu 9.04 and earlier). From the
backtrace above, it looks like a GDK/GTK+ bug with threading. Can you try
whiteboard
with another distro (assuming you haven't got Ubuntu in the first place)?.
Original comment by vanhtu1...@gmail.com
on 16 Apr 2009 at 2:52
I continue to have the same crash.
If I put nice +19 the software go in deadlock.
I ask you if is possible to solve this bug by the root
splitting the application in twice one for the calibration
that save the info in a file and an other
that read the configuration file and start
to track the pointer.
I think that this can be even a good architecture
in the case of a fix installation we will
calibrate once and run every time.
Original comment by al...@paranoici.org
on 12 Jul 2009 at 7:58
I continue to have this bug
I'm using ubuntu 9.10
I hope you will can help me and
the ubuntu staff to fix the code to create a stable
package to be published in the next week stable release (koala karmic).
I have seen that creating a new user that use the default desktop and the
default
configuration the error does not occur.
Is it possible that depends on the used theme or on the running processes
for some concurrency thread problems?
Anyway I think that it is a good idea to separate the calibration code
from the mouse management.
I hope that anyone can put me in the condition to works this fun program fine
because I'm currently using this program to demonstrate the use
of the wiimote such as a whiteboard but I have a lot of problem.
To achieve this goal I have also developed I little program called "ardesia"
that is a naif whiteboard software that allow to draw on the the desktop screen
using any input device.
This is the uri http://code.google.com/p/ardesia/
The idea is using linux-whiteboard plus ardesia as starting point to create a
cheap
educational platform based on wiimote such as free solution alternative to the
expensive commercial solution.
I think that this can be a good point to start to distribute free software
inside the
school
If anyone is interested to try it or to join to the development
Best regards, Bye
Original comment by al...@paranoici.org
on 25 Oct 2009 at 1:35
Original issue reported on code.google.com by
chrand...@gmail.com
on 17 Aug 2008 at 12:28