To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 22639 (-10)
  Re: bitwise manipulations in C
 
Hi Thanks for all the responses, especially yours steve, they gave me lots of ideas. Does anybody have code examples of using bits and bit manipulations with NQC? Thanks, Scott ___...___ On the road to retirement? Check out MSN Life Events for (...) (22 years ago, 7-Aug-04, to lugnet.robotics)
 
  Re: bitwise manipulations in C
 
(...) Hi Scott, Steve summed it up well. Here's a fairly simple example: (URL) processes data from a LEGO remote control, which arrives every few ms as a "bit mask", with each 1 bit representing a pressed key on the remote. If you look in (...) (22 years ago, 6-Aug-04, to lugnet.robotics)
 
  Re: bitwise manipulations in C
 
(...) There really isn't a lot to tell. All integers (short's, chars) in C are considered as a bunch of bits. You can use the '&', '|', '^', '~', '<<' and '>>' operators to AND, OR, XOR, INVERT, Up-shift and Down-shift all of the bits at once. (...) (...) (22 years ago, 6-Aug-04, to lugnet.robotics)
 
  bitwise manipulations in C
 
Hi, Can anybody tell me about bitwise manipulations or point me to a site that explains what it is, what its used for, and how to use it? thanks, Scott ___...___ Express yourself instantly with MSN Messenger! Download today - it's FREE! (URL) (22 years ago, 6-Aug-04, to lugnet.robotics)
 
  Re: challenge: LEGO copier
 
(...) Actually, I think it would be a good idea to use pneumatics to push the bricks together. Any resistance met by pneumatics simply increases the air pressure required to keep pushing, rather than actually damaging any pieces. (...) Why do you (...) (22 years ago, 6-Aug-04, to lugnet.robotics)
 
  Re: challenge: LEGO copier
 
(...) One could cheat (if you consider it that) on this pretty easily, though. Instead of hoppers containing a jumble of bricks, each feedstock source could be a neat queue of bricks in a constant orientation. Grabbing the next brick from such a (...) (22 years ago, 6-Aug-04, to lugnet.robotics)
 
  Re: challenge: LEGO copier
 
(...) No - you'd just use a touch sensor that you could lower down onto the model you are 'scanning' - it would be easy enough to measure whether there was a hole or a brick. (...) The Lego camera isn't really much use because it can't talk to the (...) (22 years ago, 5-Aug-04, to lugnet.robotics)
 
  Re: challenge: LEGO copier
 
(...) Almost impossible. Personally, I'd have a hard time building this with my hands, much less building a robot to do it. It could easily require three grippers just to put the pieces together. Definitely beyond anything I'd be interesting in (...) (22 years ago, 5-Aug-04, to lugnet.robotics)
 
  Re: challenge: LEGO copier
 
(...) Why would that be impossible? You'd start by building up the sides; when you've done row B, then you can attach the block in row C, followed by the one in row D. So yes, this means the robot has to be able to move back and forth; it can't just (...) (22 years ago, 5-Aug-04, to lugnet.robotics)
 
  Re: challenge: LEGO copier
 
(...) I'm sorry, but I find this VERY funny. :) But you've already said how little you really know about building, so I guess it's OK. A robot that could copy a continuous model is something that would be very do-able. On the other hand, if you (...) (22 years ago, 5-Aug-04, to lugnet.robotics)

Next Page:  5 more | 10 more | 20 more
Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR