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 / *498 (-5)
  Re: Two motors at the same time... It is possible?
 
John, (...) It worked just as I expected. The two motors now are rotating the same time. Thanks to your example, now I am giving some time to understand this setOutput call, and reading all the documentation (it is quite easier with pratical (...) (18 years ago, 19-Feb-07, to lugnet.robotics.nxt)
 
  Re: Two motors at the same time... It is possible?
 
(...) Or maybe just wrap the calls inside a mutex, so at least the behaviour is defined, if not optimum. Many of the NBC/NXC macros do exactly that, maybe all of them should? ROSCO (18 years ago, 19-Feb-07, to lugnet.robotics.nxt)
 
  Re: Two motors at the same time... It is possible?
 
(...) I understand his confusion. Not allowing separate threads to call the same subroutine is certainly unexpected. The concept of "thread" conventionally involves separate stacks for local variables (and a shared global state -- unlike separate (...) (18 years ago, 19-Feb-07, to lugnet.robotics.nxt)
 
  Re: Two motors at the same time... It is possible?
 
(...) It is possible. The NXC API doesn't currently wrap this capability in a really simple function. (...) The RotateMotor API function calls a subroutine written in NBC that does not return until the tachometer limit target has been reached. (...) (18 years ago, 19-Feb-07, to lugnet.robotics.nxt)
 
  Two motors at the same time... It is possible?
 
Hi people, I was wondering if is possible to run two motors at the same time, using diferente parameters (speed and degrees)... The code bellow works, but first the motor A runs, then the motor B runs. ---...--- task main(){ RotateMotor(OUT_A, 50, (...) (18 years ago, 18-Feb-07, to lugnet.robotics.nxt)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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