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 / 7386
7385  |  7387
Subject: 
c++
Newsgroups: 
lugnet.robotics
Date: 
Wed, 13 Oct 1999 18:35:24 GMT
Original-From: 
Pedram Amini <PAMINI@spamlessTCS.TULANE.EDU>
Viewed: 
604 times
  
I am coding a program that communicates with the RCX, and everything seems
to be working. However, I have come across one problem. I have a set of
buttons that control the movement of the motors. What I am trying to do is
smooth out the movement. For example in RCXcc's joystick panel the motor is
on so long as the mouse button is pressed on the appropriate button, when
the mouse is released the motor turns off. How can I incorporate this smooth
motion?

Thanks

Pedram



Message has 1 Reply:
  Re: c++
 
(...) It depends... One solution is to let the motor float. Another and (I think) obvious solution is to gradually decrease the motor speed by calling SetMotorSpeed (or whatever you call that function) repeatedly with a decreasing speed value. Søren (25 years ago, 14-Oct-99, to lugnet.robotics)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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