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 / 27322 (-10)
  NXT iterate files
 
I wrote some NXC code that runs on the enhanced NBC/NXC firmware. It demonstrates how to iterate files on the filesystem. Let me know if you have any questions. John Hansen #define LOADER_HANDLE(_x) (_x&0xff) #define LOADER_ERR_BYTE(_x) (...) (17 years ago, 30-Dec-07, to lugnet.robotics.nxt, lugnet.robotics)
 
  Re: NXT Program: How to avoid stop-and-go? (US-Sensor Test Values)
 
I tried to use a program to log the distance while the US-sensor is moving forward. Unfortunately, it doesn't go straight all the time. So, I simply display the US value and put the vehicle in different position manually. Here are my test values for (...) (17 years ago, 27-Dec-07, to lugnet.robotics)
 
  Individual Power-Functions elements now available
 
Individual Power-Functions elements now available on H@H: battery box, both motor types, IR receiver and transmitter, and a Power-Function to 9V converter cable. Listed as shipping later in January. (17 years ago, 26-Dec-07, to lugnet.technic, lugnet.robotics)  
 
  Re: NXT Program: How to avoid stop-and-go? (US-Sensor in angle)
 
(...) That is a very interesting site, with some interesting information... but you might like to do those experiments yourself. For instance, the odd "ledge" in their data at 48 cm is not a feature with my US sensors - they may have been working (...) (17 years ago, 25-Dec-07, to lugnet.robotics)
 
  Re: NXC: How to read the distance of US-sensor?
 
I found a piece of codes in a forum: (URL) guess I can assume it's returning cm. (...) (17 years ago, 24-Dec-07, to lugnet.robotics)
 
  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)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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