Posted by Dan Rich at 2/8/2001 4:34 PM EST
Student from Warren County Vo-Tech.
Hey everybody. I’m from Team 550 in NJ, and we need a couple more 8 inch wheels. Anybody know where to get them? We would also like some help in getting two motors seperately controlled by one controller, one on the x-axis and one on the y-axis. Thanks.
Posted by Matt Leese at 2/8/2001 5:21 PM EST
Other on team #73, Tigerbolt, from Edison Technical HS and Alstom & Fiber Technologies & RIT.
In Reply to: We NEED 8-inch wheels and programming help
Posted by Dan Rich on 2/8/2001 4:34 PM EST:
Ok, first of all, to get more wheel chair wheels call Skyway. Their contact information is in the manual under the supplier contact. They know about FIRST and are more than willing to help. They are however based in CA and unless you red label it, it will take awhile to get to you. To control two motors separately (we’ll assume you’re using a speed controller on them) with one joystick, assign the input (Y1, X1, etc.) to the PWM output you want to use.
Matt
Posted by Stephen at 2/8/2001 6:57 PM EST
Other on team #122, NASA Knights, from Grafton High School (Robotics team is at NHGS) and NASA.
In Reply to: Re: We NEED 8-inch wheels and programming help
Posted by Matt Leese on 2/8/2001 5:21 PM EST:
Below is the code to use one joystick for 2 motors, PWM1 and PWM2 are the left and right motors, you can change these variables.
PWM1 = (((2000 + p1_y - p1_x + 127) Min 2000 Max 2254) - 2000)
PWM2 = (((2000 + p1_y + p1_x - 127) Min 2000 Max 2254) - 2000)
Posted by Matt Leese at 2/8/2001 8:02 PM EST
Other on team #73, Tigerbolt, from Edison Technical HS and Alstom & Fiber Technologies & RIT.
In Reply to: Re: We NEED 8-inch wheels and programming help
Posted by Stephen on 2/8/2001 6:57 PM EST:
That will allow two motors to be controlled relative to the joystick position in BOTH the X and Y axis. That will NOT do what they asked for. What was asked for was basically this:
PWM1=p1_y
PWM2=p1_x
Matt who’s coming closer and closer to deciding to write a Programming HOWTO for next year because they’re are so many simple questions posted here…
Posted by Joe Ross at 2/8/2001 8:12 PM EST
Engineer on team #330, Beach Bot, from Hope Chapel Academy and NASA/JPL , J&F Machine, and Raytheon.
In Reply to: Re: We NEED 8-inch wheels and programming help
Posted by Matt Leese on 2/8/2001 8:02 PM EST:
: Matt who’s coming closer and closer to deciding to write a Programming HOWTO for next year because they’re are so many simple questions posted here…
no self-respecting person reads HOWTOs
Posted by Matt Leese at 2/8/2001 10:11 PM EST
Other on team #73, Tigerbolt, from Edison Technical HS and Alstom & Fiber Technologies & RIT.
In Reply to: Re: We NEED 8-inch wheels and programming help
Posted by Joe Ross on 2/8/2001 8:12 PM EST:
Yeah, but then I can just say Read the Manual and be done with it. And I’ll call it a White Paper and everyone will be happy.
Matt
Posted by Dan Richards at 2/8/2001 8:42 PM EST
Student on team #550, WCTS Robotics, from Warren County Vo-Tech and WCTS.
In Reply to: We NEED 8-inch wheels and programming help
Posted by Dan Rich on 2/8/2001 4:34 PM EST:
Matt, Stephen, thanks for the insight.
Posted by Joe at 2/9/2001 5:09 PM EST
Student on team #506 from St. Anthony’s HS.
In Reply to: We NEED 8-inch wheels and programming help
Posted by Dan Rich on 2/8/2001 4:34 PM EST:
: Hey everybody. I’m from Team 550 in NJ, and we need a couple more 8 inch wheels. Anybody know where to get them? We would also like some help in getting two motors seperately controlled by one controller, one on the x-axis and one on the y-axis. Thanks.
PWM port # what controlls it
1 joystick 1 y_axis
2 joystick 2 y_axis
3 joystick 3 y_axis
4 joystick 4 y_axis
5 joystick 1 x_axis
6 joystick 2 x_axis
7 joystick 3 x_axis
8 joystick 4 x_axis
9 joystick 1 wheel
10 joystick 2 wheel
11 joystick 3 wheel
12 joystick 4 wheel
hope this helps. someone correct me if i’m wrong