Hello... I was using the Motor Bridge Cape with the BBG. I have some software to make the motors go and go again. Are there any people in our community using this MBC (Motor Bridge Cape)? If so, awesome! If not, get one and we can program some motors with Python. Cool?
Seth P.S. My software is as follows for now. I think this will bring my motors to a dual direction until the proper commands at the end that will make the machine turn in a U-format, e.g. a basic u-shape done after going forward. *import MotorBridge* *import time* *MotorName = 1* *MotorName = 4* *ClockWise = 1* *CounterClockWise = 2* *PwmDuty = 90* *Frequency = 1000* *if __name__=="__main__":* * motor = MotorBridge.MotorBridgeCape()* * motor.DCMotorInit(1, 1000)* * for i in range(1, 51):* * motor.DCMotorMove(1, 1, 90)* * time.sleep(0)* * print "I got your biscuit, now!"* * motor.DCMotorStop(1)* * time.sleep(0)* * motor = MotorBridge.MotorBridgeCape()* * motor.DCMotorInit(4, 1000)* * for i in range(1, 51):* * motor.DCMotorMove(4, 1, 90)* * time.sleep(0)* * print "I got your other biscuit, too!"* * motor.DCMotorStop(4)* * time.sleep(0)* *#Making a U-Shape in the lawn* *#Left motor on chasis goes while the right motor ccw* * motor = MotorBridge.MotorBridgeCape()* * motor.DCMotorInit(1, 1000)* * for i in range(1, 2):* * motor.DCMotorMove(1, 1, 90)* * time.sleep(0)* * motor.DCMotorStop(1)* * time.sleep(0)* * print "I love Jim's TURN!"* * motor.DCMotorInit(4, 1000)* * for i in range(1, 2):* * motor.DCMotorMove(4, 2, 90)* * time.sleep(0)* * motor.DCMotorStop(4)* * time.sleep(0)* * print "I love Lucy's TURN!"* On Sunday, October 1, 2017 at 6:06:07 PM UTC-5, Mala Dies wrote: > > > https://www.linux.com/news/event/open-source-summit-na/2017/3/latest-linux-maker-boards-gamble-diversity > > and... > > > http://linuxgizmos.com/open-source-comm-protocol-for-uavs-supported-with-beaglebone-based-modem/ > > Cool! > > Seth > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/ca3886ec-b709-410d-ab7f-afc6de0e4fbb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
