I may not be much of an NXT-G programmer but I can spot a good thing when I see it. Gus over at HiTechnic has been a very busy man. Last time he brought us the really awesome PID motor block but this time he went the extra mile and made no less than three new blocks:
- A new IR Seekerblock that works with both the V1 seeker and the V2 -and- allows you to use the 600Hz AC mode. (left image)
- An “enhanced” IR Seeker V2 block which gives you improved performance at short distances (center image)
- A limit block which allows you to clamp your numbers or make them wrap around. Handy if you have some calculations and you need to feed this data to your motor block; you could tell it to limit the values to something between –100 and a 100, for example. (right image).
You can read all about these new blocks right here: [LINK].
I am looking for a programming block that does the following (just for fun and giggles)
It has the turret scan +- 90 degrees. It measures the distance and if it senses a wall it slows down and starts to turn until it sees infinity again. This way the robot will go all around a house without bumping into anything.
Do you know how I can search for this? I don’t even know how to connect wires well so it’s kind of dauntin
You will need to make this with a combination of existing blocks. It would be easier to modify, too.