|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Gyro Drive Straight
We are using Tank Drive.
|
|
#2
|
||||
|
||||
|
Re: Gyro Drive Straight
Please be more specific.
"Tank Drive" means different things to different people in different contexts. [1]What kind of drivetrain do you have1, and [2]what software2 are you using to control it? 1details please: number and type of wheels, number of gearboxes and gear ratio, chains/belts/direct, etc etc. The more detail, the better. 2e.g. what vi are you using, and how is your driver interface (joystick) mapped to that vi's inputs e.g. arcade, tank, other? |
|
#3
|
|||
|
|||
|
Re: Gyro Drive Straight
six wheel
two mini cims preside belt two shifting gearboxes i don't know the gear ratio Xbox Controller Dose that help |
|
#4
|
||||
|
||||
|
Re: Gyro Drive Straight
Quote:
What does "two mini cims preside" mean? Also can you get answers for the questions highlighted in red below: Quote:
|
|
#5
|
|||
|
|||
|
Re: Gyro Drive Straight
two cims on each side.
|
|
#6
|
|||||
|
|||||
|
Re: Gyro Drive Straight
Driving a six-wheel skid-steer drivebase using Tank Drive (left and right joysticks) is not easy if the robot doesn't want to go straight, even with computer control based on a gyro sensor. It is very easy to make it go straight using Tank Drive if the robot is properly constructed.
But if you really want to try to compensate for a difficult-to-control robot, the idea is simple. Compute the difference between desired and measured heading, scale it to something that will yield a value between -1 and 1, then add it to the joystick input for one side and subtract it from the joystick input for the other side. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|