| | NXC: How to read the distance of US-sensor?
|
|
I'm new in NXC. In the NXC-guide, I found SensorUS() returning a value from US-sensor. But in the LEGO software I can select inch/cm. Questions: What value is it returning, inch or cm? Can I set it to inch or cm? thanks Phuoc Can HUA (17 years ago, 24-Dec-07, to lugnet.robotics)
|
|
| | Re: NXT Program: How to avoid stop-and-go? (US-Sensor in angle)
|
|
(...) (17 years ago, 24-Dec-07, to lugnet.robotics)
|
|
| | Re: NXT Program: How to avoid stop-and-go? (US-Sensor in angle)
|
|
Strangely, it slows down, i.e. it detects the further distance (less reflection?) in the same angle. I tried to put the US-sensor vertically. It still shows the same effect. I also notice the closer it comes the larger angle it needs to get a (...) (17 years ago, 23-Dec-07, to lugnet.robotics)
|
|
| | Re: NXT Program: How to avoid stop-and-go? (US-Sensor in angle)
|
|
(...) At a glancing angle (not approaching the wall "head on" at 90°, but at an angle) very little sound energy will be reflected back towards the sensor. If there isn't enough energy reflected back for the sensor to "hear" the echo, it won't detect (...) (17 years ago, 22-Dec-07, to lugnet.robotics)
|
|
| | Re: NXT Program: How to avoid stop-and-go? (US-Sensor in angle)
|
|
Brian, It works fantastic. Thanks. Now I've put 2 US Wait blocks. The 1st one to slow down for < 30cm and the 2nd one to turn for < 20cm. This works pretty well when the vehicle runs ~90 degree toward the wall. But when the angle is flat it only (...) (17 years ago, 22-Dec-07, to lugnet.robotics)
|
|
| | Re: mindscript (NBC NXC)
|
|
(...) If you are running on a Windows platform then you can start with Bricx Command Center (BricxCC). It is an integrated development environment (IDE) that supports Not eXactly C (NXC) and NeXT Byte Codes (NBC) for the NXT brick running either the (...) (17 years ago, 21-Dec-07, to lugnet.robotics)
|
|
| | Re: NXT Program: How to avoid stop-and-go?
|
|
(...) Yes. Move (unlimited) Starts the motors and *leaves them running* while progressing on to the next block in a sequence. The motor state will then remain unchanged until some other block (like a later Move or Motor block) changes it. Try it an (...) (17 years ago, 21-Dec-07, to lugnet.robotics)
|
|
| | Re: NXT Program: How to avoid stop-and-go?
|
|
But if the Move block is unlimited will the next block (Wait) be processed? and when it goes to Wait block isn't that mean Move block is done and it will stay in the Wait block for ever, because the vehicle is not moving? (...) (17 years ago, 21-Dec-07, to lugnet.robotics)
|
|
| | Re: NXT Program: How to avoid stop-and-go?
|
|
(...) Try a Move block set to "unlimited": that will turn the motors on and let them run. Then have a Wait block to wait for the US sensor to report an object, or something similar inside a Loop. When an object (like a wall) is detected, the next (...) (17 years ago, 21-Dec-07, to lugnet.robotics)
|
|
| | NXT Program: How to avoid stop-and-go?
|
|
I've just started with my very first vehicle according to the instruction. Then I added the distance sensor. So, my car will turn when it come too close to an obstacle. I use a loop with distance as exit condition, i.e. the loop repeats the forward (...) (17 years ago, 20-Dec-07, to lugnet.robotics)
|
|
| | Re: mindscript (NBC NXC)
|
|
Does that mean NBC or NXC can be used on NXT? Do you use any of them? Where can I find more deatails? C-like is good because I like C :-) Phuoc (...) (17 years ago, 20-Dec-07, to lugnet.robotics)
|
|
| | Re: mindscript - subroutines
|
|
(...) MindScript is a programming language created by LEGO for use with the earlier generations of programmable bricks such as the RCX, and Spybot. It cannot be used with the NXT. The NXT does not have any text-based programming languages that are (...) (17 years ago, 20-Dec-07, to lugnet.robotics)
|
|
| | Re: mindscript - subroutines
|
|
I'm so new that I don't even know MindScript :confused: My questions... where to get it and its documentation? Is that the only script language for NXT? When I start using some variables and calculations the block structue is becoming hard to read. (...) (17 years ago, 20-Dec-07, to lugnet.robotics)
|
|
| | "reverse parking sensor" type sensor for Mindstorms
|
|
Does anyone know of a sensor (preferably for the RCX) that works similarly to the "reverse parking sensors" for cars? (17 years ago, 20-Dec-07, to lugnet.robotics)
|
|
| | Re: Robo Rocks 2007 (Event Photos)
|
|
Full gallery of pictures from the event, click (URL) here>. Post Moderation P.S. Please pardon the duplicate postings. (17 years ago, 17-Dec-07, to lugnet.robotics, FTX)
|
|
| | Re: Robo Rocks 2007
|
|
We won Second Place!!!!! We were visited by the judges and they told us, the difference in winning First Place was very close! Thank you EBT, thank you Robo Rocks, thank you RCX and RoboLab! Eric Sophie (URL) (17 years ago, 17-Dec-07, to lugnet.robotics, FTX)
|
|
| | Re: Robo Rocks 2007
|
|
We won Second Place!!!!! We were visited by the judges and they told us, the difference in winning First Place was very close! Thank you EBT, thank you Robo Rocks, thank you RCX and RoboLab! Eric Sophie (URL) (17 years ago, 17-Dec-07, to lugnet.robotics, FTX)
|
|
| | Re: Robo Rocks 2007
|
|
My team was able to place one of the three batteries, on the second battery, our robot's B motor wheel slipped on the hub and was not able to complete the course. On our second try, we were able to complete the slolam and place the first battery (...) (17 years ago, 17-Dec-07, to lugnet.robotics, FTX)
|
|
| | Re: Robo Rocks 2007
|
|
My team was able to place one of the three batteries, on the second battery, our robot's B motor wheel slipped on the hub and was not able to complete the course. On our second try, we were able to complete the slolam and place the first battery (...) (17 years ago, 17-Dec-07, to lugnet.robotics, FTX)
|
|
| | Robo Rocks 2007
|
|
I am at the Robo Rocks 2007 robotics competition in Edison New Jersey with my team from the School for Enterprise Business and Technology. We are competing at the Middlesex County College and we are moments away from beginning! It is so exciting! (...) (17 years ago, 17-Dec-07, to lugnet.robotics, FTX)
|