Control two motors simultaneously
 Software and Programming Related   Started by Matha Goram   2016-04-19 21:23:06 -04:00   Comments: 3    Viewed: 448

  1. Matha Goram
    Matha Goram Member
    Newbie question on PiStorms API.

    How does one control the start/stop of two motors simultaneously? MINDSTORMS permits operations on two motor ports simultaneously with fundamental calls. What would be the conceptual equivalent with PiStorms? I see setSpeed and hold in the PiStorms API. I could use these for my purpose in successive calls. But beyond that the nuances escape me. (Sorry for not reading the PiStorms docs more closely). Thanks.
    Matha Goram, 2016-04-19 21:23:06 -04:00
  2. Michael Giles
    Michael Giles Member Staff Member Richmond, VA
    The simultaneous function is not currently available. Just start one motor and then immediately start the other motor. There should not be much visible delay if any at all. If you are using setSpeed, it is best to use the brake function. The hold function can be buggy and is only designed for use with encoder driven functions.
    Michael Giles, 2016-04-20 07:53:37 -04:00
  3. Deepak Patil
    Deepak Patil Administrator Staff Member Richmond
    Deepak Patil, 2016-04-28 22:28:51 -04:00
  4. (You must log in or sign up to post here)

Log in | Sign up
Tems & Conditions!
Help!