Forum: Computer Science Sep 18th, 2009 |
| Replies: 8 Views: 848 With only one writing thread, and the others merely read, Depends on what the functionality does. Is it safe to use obsolete data!
Is only a single write operation required? Such as only writing... |
Forum: Computer Science Aug 27th, 2009 |
| Replies: 1 Views: 313 You really should start your own post with this as other then communications it's a different project!
You first need to determine how you are going to detect trash level. Keep in mind a particle... |
Forum: Computer Science Aug 17th, 2009 |
| Replies: 3 Views: 487 Your problem is pretty simple! Think of it as a kind of two dimensional array. You can solve it by calculation but visualy.
<i>
--- N = 1
1 X N = 2
1 XX
2 X N = 3
1 XXX |
Forum: Computer Science Aug 10th, 2009 |
| Replies: 3 Views: 382 There are whitepapers on the subject. Check out I.E.E.E and other organization(s) publications.
Comes down to vectorizing facial features found on the face and storing those vectors and searching... |
Forum: Computer Science Aug 4th, 2009 |
| Replies: 5 Views: 477 Use fmod to handle angles set > < 360 degrees.
If you decide to use trig functions don't forget to convert degrees to radians.
PI is 180 degrees.
+/- PI. |
Forum: Computer Science Aug 4th, 2009 |
| Replies: 5 Views: 477 There are several algorithms. Here are a couple...
N degree angle passing though point B is a line from + infinity to - infinity. Which side of the line is point A?
Inverse Tan y/x gives you... |
Forum: Computer Science Jul 25th, 2009 |
| Replies: 2 Views: 451 Become a student member of I.E.E.E.
www.ieee.org |
Forum: Computer Science Jul 22nd, 2009 |
| Replies: 5 Views: 582 Write your conceptual design specification first.
Then get a NDA.
Raid your finanacial reserves.
Then get (paid for) engineering feedback.
Then write (or pay someone to write) the technical... |
Forum: Computer Science Jul 20th, 2009 |
| Replies: 21 Views: 1,648 RS-422 or RS-485 would be an appropriate serial connection. Handles distance. Since it sounds like you're putting a processor (may I recommend a PIC) directly attached to the sensor(s) you may... |
Forum: Computer Science Jul 18th, 2009 |
| Replies: 21 Views: 1,648 Indoor or outdoor parking lot? Sunlight washes out infrared!
Feel like digging up a parking lot, then halleffect sensors. A single loop will detect motion of magnetic metal. A double loop acts as... |
Forum: Computer Science Jul 18th, 2009 |
| Replies: 21 Views: 1,648 So you have no electronics background so you're looking for off the shelf components so as to build your project. You want to do sensor monitoring but keep focusing on a camera, which you really... |
Forum: Computer Science Jul 2nd, 2009 |
| Replies: 4 Views: 443 0.25 = 0x3e800000
0.01 = 0x3c23d79a = 0.0099999998
Or fixed point BCD (2 places)
0.25
0x0000000025 |
Forum: Computer Science Jul 1st, 2009 |
| Replies: 4 Views: 443 You are talking about floating point.
Dependent upon the data format typically IEEE
32-bit SPFP Single-Precision Floating-Point
64-bit DPFP Double-Precision Floating-Point
80-bit ... |
Forum: Computer Science Jul 1st, 2009 |
| Replies: 5 Views: 549 A long time ago in a far away land there was a castle the peasants called the crt. It was great but soon it was too small for the growing hordes of dots and so the king called to the lands for... |
Forum: Computer Science Jul 1st, 2009 |
| Replies: 5 Views: 549 Sounds like homework questions to me!
Do web search or read your book! |
Forum: Computer Science Jun 28th, 2009 |
| Replies: 8 Views: 848 You will require a semaphore to keep both threads from accessing the same data simultaneously.
Thread#1
{BLOCK}
Var += 4;
{UNBLOCK}
Thread#2 |