To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 153
  Tacho Limit and Braking
 
I started playing with NBC, and wanted to run the motor until it hits the tachometer limit, and then brake. I have been unable to make this happend with one setout opcode. Is it possible? Is it possible to make the opcode wait until the tacho limit (...) (18 years ago, 1-Oct-06, to lugnet.robotics.nxt)
 
  Re: Tacho Limit and Braking
 
(...) The NXT firmware does not support a single operation which has the motor run to a specific tachometer limit and then brake. The only way to do what you would like to do involves several operations. But you can wrap it all up into a reusable (...) (18 years ago, 2-Oct-06, to lugnet.robotics.nxt)
 
  RE: Tacho Limit and Braking
 
If you want to try something a little different, use RobotC to do this. There are several advantages to this: * It can be done with one "setout" opcode. * The RobotC PID algorithm for this type of movement is different than the NXT-G (...) (18 years ago, 2-Oct-06, to lugnet.robotics.nxt)
 
  Re: Tacho Limit and Braking
 
(...) This is incorrect. There is no "setout" opcode in RobotC. RobotC uses a proprietary commercial alternate firmware with a completely different set of opcodes and virtual machine functionality than the standard NXT firmware. Unfortunately, the (...) (18 years ago, 2-Oct-06, to lugnet.robotics.nxt)
 
  Re: Tacho Limit and Braking
 
(...) This made sense, until I read this... In lugnet.robotics.nxt, John Hansen wrote: (...) I had to go back and re-read this to understand one is talking about the NXT firmware, and the other is talking about NBC. If I read it correctly, it means: (...) (18 years ago, 2-Oct-06, to lugnet.robotics.nxt)
 
  RE: Tacho Limit and Braking
 
(...) You can do just about anything with one line of code if you count user subroutine and user macro calls as "one line". The "Rotate" macro in your example expands to four lines of code that sets up and calls a user program subroutine that is (...) (18 years ago, 2-Oct-06, to lugnet.robotics.nxt)

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