 | | Re: Steering Drive
|
|
(...) Well, you can use a second touch sensor and a raised portion on half the steering rack so that it is always depressed when not in the center or the other half. This second sensor can be multiplexed with a passive sensor such as you would find (...) (22 years ago, 25-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Steering Drive
|
|
How precise does the distance measuring have to be? Why not use the rotation sensor for the steering position, and use the touch sensor in an arrangement similar to a land-measuring wheel (one click equals x distance) for the distance? That'd be my (...) (22 years ago, 25-Aug-04, to lugnet.robotics)
|
| |
 | | Steering Drive
|
|
So I'm building this robot because my FLL kids told me it couldn't be done. It has to do a few things, line following, bumpers, nothing too special. I made it with a steering drive because it has to have wheels that turn to make it look right (I'll (...) (22 years ago, 25-Aug-04, to lugnet.robotics)
|
| |
 | | RE: interfacing PCs with LEGO?
|
|
Joe (...) Yes. It's the same as RS232 except that the voltage is inverted (and swings between 0V and 5V instead of +/- 9V). To connect it to a PC serial port, you need to invert it with one transistor for transmit and another for receive. I've (...) (22 years ago, 24-Aug-04, to lugnet.robotics)
|
| |
 | | Re: interfacing PCs with LEGO?
|
|
Hi Rob (...) Programmers are all much the same. Just get the cheapest you can find that does the chips you want. I have my own Basic compiler that I wrote before any others were available. I still prefer it to the commercial ones I've tried - (...) (22 years ago, 24-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: try again...
|
|
(...) :) I welcome the challenge. (22 years ago, 24-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: try again...
|
|
(...) Yes, it'll be good to see just how the robots described in the book stand up in actual competitions. And I'm looking forward to seeing someone beat Steve for a change. He's been winning far too many medals ;-) C S (22 years ago, 24-Aug-04, to lugnet.robotics)
|
| |
 | | Re: RCX serial output? Interfacing to Yost ServoCenter?
|
|
(...) Thanks that does clear things up for me quite a bit. (...) OK, so in theory at least, you could make an IR receiver that would plug into the RS232 port on the Yost ServoCenter, and thereby be able to control 16 (or more) servos or motors from (...) (22 years ago, 23-Aug-04, to lugnet.robotics)
|
| |
 | | RE: interfacing PCs with LEGO?
|
|
Joe (...) do (...) serial port? My usual architecture is a 16F877 for heavy-duty processing then hang several 12F629 off it for controlling peripherals. The 12F629 costs £0.76 (in 25off in the UK) which is around US$1. Shop around and you might get (...) (22 years ago, 23-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: Now in a store near you!
|
|
(...) Truthfully, I rarely use any type of AND, so I can't really say! :) (...) Excellent observation! I guess, when I was creating the code, I just decided to put that code in with the Crash task. You can however, place it elsewhere where it won't (...) (22 years ago, 23-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: Now in a store near you!
|
|
(...) Given what you say in the boxed text, do you ever use logical AND in a program? (...) Well, here's the code in question. I've removed blank lines, but the spacing & punctuation is preserved: task Crash() { SetPriority(1); while(true) { (...) (22 years ago, 23-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: Now in a store near you!
|
|
(...) Yes, from what you say, both logical and bitwise AND would work. My book is only a guide, so although I use bitwise, you can feel free to use logical. (...) The trick is, there isn't code that stops the counter-rotating wheels or task Spin! (...) (22 years ago, 23-Aug-04, to lugnet.robotics)
|
| |
 | | cogracar
|
|
hi The Cogracar is a special vehicle for transport of great dimensions in double railway lines. The main element is constituted by a platform which seats in two wagons that deslocates paralell, each one of them towed by a locomotive. The Cogracar is (...) (22 years ago, 23-Aug-04, to lugnet.trains, lugnet.robotics)
|
| |
 | | RE: interfacing PCs with LEGO?
|
|
Hi Rob, (...) Cheaper, maybe -- but certainly not easier, at least for me. I haven't the tools, skills, or desire to work with metal or fabricate custom parts. I'm willing to do a bit of adaptation to, say, make an RC servo interface with my LEGO (...) (22 years ago, 22-Aug-04, to lugnet.robotics)
|
| |
 | | interfacing PCs with LEGO?
|
|
Joe I do a lot of "mechtronics" and my philosophy is: Use the PC for doing things that a PC is good at - like the vision and intelligent planning. Use a whole lot of PICs for doing what PICs are good at. Any PIC con only do one time-critcal thing. (...) (22 years ago, 22-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: Now in a store near you!
|
|
(...) I finally downloaded and read the bonus chapters as well, and (of course) got confused. I've only been using NQC for a little over a year, so it could be my inexperience, but I knew C for several years prior to using NQC, so I'm not a complete (...) (22 years ago, 22-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: try again...
|
|
(...) I suspect this is where theory departs from reality. That would be clear, if you had been to a LEGO sumo event. You seldom have control over the room lighting, much less the other robots. I've seen events where sunlight was shining directly on (...) (22 years ago, 21-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: try again...
|
|
(...) Here's a quote from the chapter: "TIP It is a great deal of fun to try out different levels of sensitivity for the searching light sensor.Hold out your hand farther when calibrating, and ZR1 will be very sensitive. Put your hand very close (...) (22 years ago, 21-Aug-04, to lugnet.robotics)
|
| |
 | | Re: how to get started with pneumatics?
|
|
(...) Joe, I own many 8455 backhoes. You can also buy pneumatics at bricklink.com. Once you get some pneumatics, you might want to look at a few sites that feature pneumatics: www.kclague.net (URL) (...) Kevin (22 years ago, 21-Aug-04, to lugnet.parts, lugnet.robotics)
|
| |
 | | RE: interfacing PCs with LEGO?
|
|
(...) Hello, It sounds like you want to do something more like the open source "Rodney" project: (URL) not LEGO, but it is cool and sounds more like what you describe above--would probably be a heck of a lot cheaper than attempting to do the same (...) (22 years ago, 21-Aug-04, to lugnet.robotics)
|
| |
 | | Re: RCX serial output? Interfacing to Yost ServoCenter?
|
|
To put some things straight, RIS version 2 is sold with a usb interface to the IR tower for programming the RCX, version 1.0 and 1.5 used a serial interface. All three versions of RIS are upgradable to version 2.0 firmware. Version 1.0 RCX has a (...) (22 years ago, 21-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: try again...
|
|
(...) Again, this sounds really good, but it just won't work. Just to prove it to myself, I did a little test. I connected a light sensor to an RCX, and set it so I could read the values. As it turns out, I have four sumo robots sitting around, so I (...) (22 years ago, 21-Aug-04, to lugnet.robotics)
|
| |
 | | Re: how to get started with pneumatics?
|
|
(...) Probably not - there are always occasional sets coming out with pneumatic parts in them. But it can be hard to get a bunch of parts without buying a lot of stuff from kits that you don't need. Have you checked out the PitscoDacta online store? (...) (22 years ago, 21-Aug-04, to lugnet.robotics)
|
| |
 | | Re: RCX serial output? Interfacing to Yost ServoCenter?
|
|
(...) Why on earth would you want one? What does serial do that the wireless IR doesn't? And actually, the RCX doesn't have a USB port, the USB cable connects your computer to the IR tower, which then communicates wirelessly with the RCX. If you are (...) (22 years ago, 21-Aug-04, to lugnet.robotics)
|
| |
 | | Re: interfacing PCs with LEGO?
|
|
(...) It's pretty challenging to build such a thing out of Lego. Having all of those degrees of freedom down at the hand tends to push you to solutions where the motors and sensors for those things are a long way out on the arm - that means that (...) (22 years ago, 21-Aug-04, to lugnet.robotics)
|
| |
 | | RCX serial output? Interfacing to Yost ServoCenter?
|
|
You have all been very patient and kind with your answers -- I hope you'll indulge me one more silly question. Does the RCX have a serial output? I believe I know that it has a USB cable, and perhaps an IR port, but what about a regular serial port (...) (22 years ago, 20-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: Now in a store near you!
|
|
(...) Wow! That's a lot of math. I see now where the 900 N cm comes into the picture. (...) Unfortunately, BL58 does weigh over 2 lbs, but as Brian suggested, I could bring it anyway and we could have several rounds with it just for fun. Thanks, (...) (22 years ago, 20-Aug-04, to lugnet.robotics)
|
| |
 | | Re: interfacing PCs with LEGO?
|
|
Joe, I have spent time building LEGO robots, and there are a few things that you should know about LEGO while you are doing preliminary planning in your thoughts. Here is a link to comparison information about the LEGO motors. (URL) don't think they (...) (22 years ago, 20-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: Now in a store near you!
|
|
(...) Now that would be fun! However, it all depends on whether or not I'll be able to attend the event, and if I was to do that and bring another robot as well, I might have to get myself some more parts! :) Thanks, David J. Perdue (...) (22 years ago, 20-Aug-04, to lugnet.robotics)
|
| |
 | | Re: how to get started with pneumatics?
|
|
(...) [snip] (...) Hi Joe, The Technic Backhoe #8455 is a great pneumatics set with ten big cylinders. It does not include any small cylinders and it uses only new studless Technic liftarm parts, no studded beams. Personally, it's one of my all time (...) (22 years ago, 20-Aug-04, to lugnet.parts, lugnet.robotics)
|
| |
 | | Re: how to get started with pneumatics?
|
|
(...) LEGO's only current retail pneumatic set does not have the word "pneumatic" anywhere in it, which is probably why you didn't find anything at S@H. This model probably the most economical route for pneumatics supplies: (URL) is a current set, (...) (22 years ago, 20-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: try again...
|
|
(...) Yes, that's correct. (...) There is one piece of missing information you've missed that is causing the confusion: When the program starts, the program doesn't put the normal light value of the room into the variable thresh - read this from the (...) (22 years ago, 20-Aug-04, to lugnet.robotics)
|
| |
 | | Re: interfacing PCs with LEGO?
|
|
(...) Well, it's not the same thing -- I'm talking about applications involving machine vision, for example; a single 640x480 32-bit image is 1200 Kb, which would exceed the entire RAM of most microcontrollers several times over, even assuming you (...) (22 years ago, 20-Aug-04, to lugnet.robotics)
|
| |
 | | Re: how to get started with pneumatics?
|
|
(...) one word: Backhoe set 8455 (22 years ago, 20-Aug-04, to lugnet.parts, lugnet.robotics)
|
| |
 | | Re: interfacing PCs with LEGO?
|
|
(...) ordinary PC (...) guts (...) simply (...) of (...) You can do the same thing, but much less bulky by using a PIC. The 16F877 for example will cost about 8 dollar, and has 33 I/O pins. Each pin can either be an input, or two of them can control (...) (22 years ago, 20-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: try again...
|
|
(...) No, that's not what I was thinking. I see Calibrate and Calibrate2 only run at the beginning of the program. (...) Actually, it says that if LBump is less than OR EQUAL TO the value of thresh... Which means if the light in the room NOW is the (...) (22 years ago, 20-Aug-04, to lugnet.robotics)
|
| |
 | | how to get started with pneumatics?
|
|
If I wanted to get started with LEGO pneumatics, how would I go about it? A search at the S@H site turned up no hits in the parts or kits, and even Dacta seems to have only one kit: (URL) ...which might be OK, but it's pretty limited, and contains a (...) (22 years ago, 20-Aug-04, to lugnet.parts, lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: Now in a store near you!
|
|
(...) two, where Gargantuan-Bot takes on any willing contenders just for fun? Best, - Joe (22 years ago, 20-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: try again...
|
|
(...) This is actually incorrect - I see where you're getting confused. You are thinking that the Calibrate2() function is always running, and the "thresh=LBump;" is always being updated, correct? You see, Calibrate2() is only run just once, and (...) (22 years ago, 20-Aug-04, to lugnet.robotics)
|
| |
 | | Re: interfacing PCs with LEGO?
|
|
(...) Lego Dacta Control Lab has 8 input and 8 output ports. Still not a lot for all the actuators for both arms and legs. But still, it's more than the RCX. (22 years ago, 20-Aug-04, to lugnet.robotics)
|
| |
 | | interfacing PCs with LEGO?
|
|
Disclaimer: I'm not into LEGO robotics yet, so I am quite likely full of baloney. I hope you'll humor me anyway. Preamble: I'm thinking ahead to when I might get into LEGO robotics, and the sorts of projects I'd like to do. I'm a software engineer (...) (22 years ago, 20-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: try again...
|
|
In lugnet.robotics, David Perdue wrote: given this piece of code: ---- (...) <snip> (...) <snip> (...) void Calibrate2() { <snip> thresh=LBump; <snip> } ---- 'thresh' will be reading the ambient light in the room. (from the calibrate2 function) The (...) (22 years ago, 20-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: Now in a store near you!
|
|
(...) Hmm. The way I see it, pushing power is limited (in an ideal world!) by one of two factors: applied torque (a function of motors and gearing), and the frictional force between the wheels and the surface (controled by the weight of the 'bot and (...) (22 years ago, 20-Aug-04, to lugnet.robotics)
|
| |
 | | Competitive MINDSTORMS: Take the robotic sumo survey!
|
|
Hello all, When I made my announcement for my book, I failed to mention the survey I have created! On the front page of the competitive MINDSTORMS web site is a survey, which asks, "How much do YOU know about LEGO MINDSTORMS robotic sumo?" I've been (...) (22 years ago, 20-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: Now in a store near you!
|
|
(...) 1:15 and 1:75 are, in fact, the gear ratios. I achieved these ratios not by the rotations--for instance, an 8t gear turning a 24t would result in a 3:1 ratio--but by counting the teeth--for instance, an 8t gear turning a 24t gear would result (...) (22 years ago, 20-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: Now in a store near you!
|
|
(...) First, let me assure you that the searching light sensor method does work - I've tested it, and my technical reviewer has tested it. This is how it works, and the following is part of ZR1's chapter: "Its commonly known among MINDSTORMS fans (...) (22 years ago, 20-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Sumo videos anywhere?
|
|
(...) (URL) movies listed under "sumo-bot __" are older videos. ALL the robots listed under "Robots" are newer sumo videos. Jona has done a good job with that site, so you can find quite a bit of information about robots listed there. Steve (22 years ago, 19-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: Now in a store near you!
|
|
(...) By "speed", do you mean those are the gear ratios? What is the mass and wheel radius for Brain-Bot? And how many driving motors does it use (i.e., how many motors actually apply torque into the drive train, as opposed to shifting gears for (...) (22 years ago, 19-Aug-04, to lugnet.robotics)
|
| |
 | | Sumo videos anywhere?
|
|
The current threads have got me curious about LEGO sumo. I'd really like to see some real action... can anyone point me to any movies of past sumo events? Thanks, - Joe (22 years ago, 19-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: Now in a store near you!
|
|
(...) Right. I can see the two motors connected to port B will slide the axles and switch the drive train from "fast" to slow. (...) ...But I don't see how LBump will detect the opponent. Or better yet, how does it know when it loses sight of the (...) (22 years ago, 19-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: Now in a store near you!
|
|
(...) Hi Steve, I think I see where you're getting confused. Summed up, some of the concepts presented in this chapter build upon Chapter 6 in Competitive MINDSTORMS, so it's important to understand the concepts in that chapter before reading the (...) (22 years ago, 19-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Sumobot 6 results?
|
|
(...) This is another typo from the book. The event is Sept 18th. (URL) (22 years ago, 19-Aug-04, to lugnet.robotics)
|
| |
 | | Sumobot 6 results?
|
|
According to various sources on the web, the Sumobot 6 competition "will be" held in Ann Arbor, MI on August 18th. Can anyone give a report on how it went? Also, does it seem odd to anyone else that this was held on a Wednesday? Seems like more (...) (22 years ago, 19-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Competitive MINDSTORMS: Now in a store near you!
|
|
(...) David, I was looking over the robots & code listed in your "bonus chapters", and I must confess, I'm a bit disappointed. Maybe I'm missing something, but I'd be interested to know how these robots have actually done in competition. Maybe you (...) (22 years ago, 19-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Range of RCX sound production
|
|
(...) Here it is. (URL) (...) You're welcome, Kevin (22 years ago, 19-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Range of RCX sound production
|
|
but a microphone was its own frequency curve in which you need to compensate. ----- Original Message ----- From: "Kevin L. Clague" <kevin_clague@yahoo.com> To: <lego-robotics@crynwr.com> Sent: Wednesday, August 18, 2004 12:56 PM Subject: Re: Range (...) (22 years ago, 18-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Range of RCX sound production
|
|
(...) Wow! Thanks for verifying my ears <grin>. BTW, where is the Kekoa Proudfoot's ROM description of this (is it on the Mindstorms Internals page, and I just missed it)? (...) Thanks, and for what I had in mind, it was not worth hacking H8 code (...) (22 years ago, 18-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Range of RCX sound production
|
|
Hi Brian, I examined the RCX ROM sound routine, and it provides a lower bound of frequency 31 (matches what your ears told you), and an upper bound of 20000 (also as you noticed). I'm not sure about the sound hardware, but you might be able higher (...) (22 years ago, 18-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Range of RCX sound production
|
|
Hi Brian, I find your question very interesting. I do not have an audio analyzer, but I have a few ideas so you can extend your hunt. I'm told that you can get software that lets you use your sound card as an oscilliscope. All you need is a (...) (22 years ago, 18-Aug-04, to lugnet.robotics)
|
| |
 | | Range of RCX sound production
|
|
In the "what other weird questions can Brian Davis come up with", here's one I've not been able to locate on any website (including the Mindstorms Internals site), and I can't test it easily with my ear: What's the frequency range for the RCX sound (...) (22 years ago, 18-Aug-04, to lugnet.robotics)
|
| |
 | | Competitive MINDSTORMS: Now in a store near you!
|
|
After more than a year since its conception, I am proud to announce the completion and publication of Competitive MINDSTORMS: A Complete Guide to Robotic Sumo Using LEGO MINDSTORMS. As many in the LUGNET community know, there have been many good (...) (22 years ago, 17-Aug-04, to lugnet.announce, lugnet.robotics)
|
| |
 | | Re: Announcements & Results
|
|
(...) It was quite interesting to sit behind Larry and watch him type, flip windows, send, and generally still manage to keep up with what was going on. Nice job, lar (...) I want to thank John for doing his usual fine job of running the events. Not (...) (22 years ago, 17-Aug-04, to lugnet.events.brickfest, lugnet.robotics, lugnet.technic)
|
| |
 | | Re: What's a Spybot? (was Re: Bring your spybots to Brickfest)
|
|
(...) Apparently there are only two kinds left, at least at shop.lego.com. There used to be 4: (URL) (22 years ago, 15-Aug-04, to lugnet.technic, lugnet.events.brickfest, lugnet.robotics)
|
| |
 | | What's a Spybot? (was Re: Bring your spybots to Brickfest)
|
|
(...) for it turned up only this: (URL) which doesn't look anything like what's on Steve's page, nor does it look particularly programmable. Being too much of a cheapskate for Mindstorms, I'm always on the lookout for cheaper alternatives, so, what (...) (22 years ago, 15-Aug-04, to lugnet.technic, lugnet.events.brickfest, lugnet.robotics)
|
| |
 | | Laser Range Finder -> PDA -> RCX
|
|
I came accross an interesting product while looking at some WIFI news today. This probably has limited use for Lego(TM) robots for three reasons: A) The unit uses BlueTooth for communications. (no CIR) B) It would likely be quite expensive. C) It is (...) (22 years ago, 13-Aug-04, to lugnet.robotics)
|
| |
 | | Re: leocad libraries for RIS2.0
|
|
(...) All RIS parts are available for a while in LeoCad standard distribution: (URL) (22 years ago, 13-Aug-04, to lugnet.robotics, lugnet.cad.leocad)
|
| |
 | | leocad libraries for RIS2.0
|
|
Hi, Where can I get the leocad parts libraries for RIS2.0? Thanks, Atul. (22 years ago, 13-Aug-04, to lugnet.robotics)
|
| |
 | | HiTechnic: extremely cool parts!
|
|
You probably all know about this, but it was news to me, and took me two days of searching to stumble across it... HiTechnic Products: (URL) These guys make a variety of 9V LEGO-compatible sensors, lights, and other gizmos, including remote control (...) (22 years ago, 13-Aug-04, to lugnet.parts.custom, lugnet.robotics)
|
| |
 | | Re: BrickFest DC 2004 Technic/Mindstorms events
|
|
(...) See Steve at Brickfest (or what for a report here on LUGNET). (...) Well, I've used two touch switchs for a three-side bumper, and it wouldn't be hard to modify for a single touch sensor. Make the side sensors pivoting arms that curve around (...) (22 years ago, 12-Aug-04, to lugnet.robotics)
|
| |
 | | Bring your spybots to Brickfest
|
|
(...) Thanks to being overwhelmed by other stuff, this hasn't gotten as far as I'd hoped. However, parts are coming together nicely. I've been able to collect 13 Spybots, (stripped down a bit). Tonight, I've finally got a simple program working. (...) (22 years ago, 12-Aug-04, to lugnet.technic, lugnet.events.brickfest, lugnet.robotics)
|
| |
 | | Re: BrickFest DC 2004 Technic/Mindstorms events
|
|
I'm kind of annoyed with the drive systems that spybots came with too. I have three, and have built identical robots from them using the large Mindstorms wheels and a caster wheel. I call them rugbugs as they work well on the carpet. I have two of (...) (22 years ago, 12-Aug-04, to lugnet.robotics)
|
| |
 | | Re: BrickFest DC 2004 Technic/Mindstorms events
|
|
(...) There are daily "feeding time" events at 1:00pm in the Technic/Mindstorms room. This is like feeding time at the sea-lion exhibit at the zoo. All the animals wake up and run around 'cos they're being fed. Well, at BrickFest, feeding time is (...) (22 years ago, 12-Aug-04, to lugnet.technic, lugnet.events.brickfest, lugnet.robotics)
|
| |
 | | Re: BrickFest DC 2004 Technic/Mindstorms events
|
|
(...) So, what *is* a Spybot Swarm? It's on the schedule, but there's no description. I have a Gigamesh I can bring, but what accessories (if any) does it need? (I outfitted it with fat tires because the cloppety-clop tri-wheels annoyed me.) Please (...) (22 years ago, 12-Aug-04, to lugnet.technic, lugnet.events.brickfest, lugnet.robotics)
|
| |
 | | bitwise manipulations in C
|
|
(...) Hi Scott, please regard this as an extension to explainations from Steve Baker: 1. the code Binary Decimal Hexadecimal 0000 0 0 0001 1 1 0010 2 2 0011 3 3 0100 4 4 0101 5 5 0110 6 6 0111 7 7 1000 8 8 1001 9 9 1010 10 A 1011 11 B 1100 12 C 1101 (...) (22 years ago, 11-Aug-04, to lugnet.robotics)
|
| |
 | | Re: bitwise manipulations in C
|
|
oops my bad I meant to thank Jim not Steve, sorry, what you sent me Jim was just what I was looking for, well minus some examples in nqc. But I now have a better understanding of it. Thanks, Scott (...) ___...___ Dont just search. Find. Check out (...) (22 years ago, 7-Aug-04, to lugnet.robotics)
|
| |
 | | 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)
|
| |
 | | Re: challenge: LEGO copier
|
|
I think you should start easy, with something like a mosaic copier. (22 years ago, 5-Aug-04, to lugnet.robotics)
|
| |
 | | Re: challenge: LEGO copier
|
|
(...) Except that this is a problem pretty easily solved in code -- it's not necessary that the robot choose the same solution the original builder did; it's only necessary that it choose a solution that works. A robot that copies only continuous (...) (22 years ago, 5-Aug-04, to lugnet.robotics)
|
| |
 | | Re: challenge: LEGO copier
|
|
(...) Ah, hmm, I was expecting it to be a continuous fabric, not a holey one. That would make it harder, and in fact makes it even more important to not confuse neighboring pieces of the same color (otherwise you could lose structural integrity by (...) (22 years ago, 5-Aug-04, to lugnet.robotics)
|
| |
 | | Re: challenge: LEGO copier
|
|
(...) Yes, but not arbitrarily -- there would be some limit in width (Y) and height (Z), in order for the model to fit into the machine. (...) Yes, that's a much harder problem, which is why I was thinking to limit it to a thickness of one in X. (...) (22 years ago, 5-Aug-04, to lugnet.robotics)
|
| |
 | | Re: challenge: LEGO copier
|
|
(...) Okay... I think I understand... so you use some 1xN plates or bricks on the top and the bottom of the whole "picture" to hold it together, and the actual construct built can be any size of width N? Or am I still way out there? >> Mark (22 years ago, 4-Aug-04, to lugnet.robotics)
|
| |
 | | Re: challenge: LEGO copier
|
|
(...) OK, just to clarify: assume an X-Y-Z space with studs sticking up in the Z direction. You mean a model that's only one stud thick in X, arbitrarily wide in Y, and arbitrarily high in Z? Yes, that would be a much simpler problem than what I was (...) (22 years ago, 4-Aug-04, to lugnet.robotics)
|
| |
 | | Re: challenge: LEGO copier
|
|
(...) The closest I got to something like that was my half-built Duck Assembly Carousel - a dial automation with 4 positions, which would assemble the body (2x1 inverted slope), beak (2x1 plate), and head (1x1 brick with a hole in it). I didn't have (...) (22 years ago, 4-Aug-04, to lugnet.robotics)
|
| |
 | | Re: challenge: LEGO copier
|
|
Would the bricks be assembled as a wall one brick thick on its side? Like laying a cinderblock wall on its side then creating a copy? That might be done with an X-Y table arrangement with vice like sides at top and bottom of the bricks so that they (...) (22 years ago, 4-Aug-04, to lugnet.robotics)
|
| |
 | | Re: challenge: LEGO copier
|
|
(...) There are some clever tricks (diff & ratchet/clutch, muxes) to expand it somewhat for some applications, but in general, yes, a single RCX can drive only three independent pulse-width modulated polarity reversible 9V outputs. -SMQ Shawn (...) (22 years ago, 4-Aug-04, to lugnet.robotics)
|
| |
 | | Re: challenge: LEGO copier
|
|
(...) No, I meant stuck to each other. (...) That's what I had in mind too. (...) I was assuming the use of a camera, not the LEGO light sensor. But using the light sensor is a clever idea. (...) Here I expose my complete cluelessness with regard to (...) (22 years ago, 4-Aug-04, to lugnet.robotics)
|
| |
 | | Re: challenge: LEGO copier
|
|
(...) I wasn't thinking that the bot would have to exactly reproduce which same-color bricks are used side-by-side -- if I used a two 1x2 bricks, but the robot chooses to substitute a 1x4 brick, in my mind that's the same model. We'll just say the (...) (22 years ago, 4-Aug-04, to lugnet.robotics)
|
| |
 | | Re: challenge: LEGO copier
|
|
(...) Actually, he said "flat". So I would assume that he meant an assortment of bricks simply stuck to one baseplate, sort of like a mosaic. As for brick boundaries... I think the only thing you would need to worry about is the boundaries where the (...) (22 years ago, 4-Aug-04, to lugnet.robotics)
|
| |
 | | Re: challenge: LEGO copier
|
|
(...) Here's an easy 'rule' you could add to resolve that. Just say that a given color may only be used for one size/type of piece. You don't even have to specify what colors are used, as long as any color may only represent one piece type. To make (...) (22 years ago, 4-Aug-04, to lugnet.robotics)
|
| |
 | | Re: challenge: LEGO copier
|
|
(...) Ugh. Much harder than it sounds: either the robot needs extreme visual acuity to spot the brick boundaries (so it can tell two 1x2 bricks of the same color end-to-end from a single 1x4 brick... or, more importantly, which order a 1x1 and a 1x4 (...) (22 years ago, 4-Aug-04, to lugnet.robotics)
|
| |
 | | challenge: LEGO copier
|
|
Here's an idea I am certainly not equipped to attempt, but I bet somebody is... The user builds some model (constraints: it must be composed of a 1x1, 1x2, and 1x4 bricks in a selection of several colors, and must be flat, i.e. two-dimensional, and (...) (22 years ago, 4-Aug-04, to lugnet.robotics)
|