|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: RobotDrive.drive() usage
curve just represents how to distribute power between the wheels to make the robot turn. It sounds like you might want to write your own code for controlling the robot, maybe using PID loops, gyros, and encoders. You might want to just control each motor individually, or if you are using a skid drive you can just control the left and right side of the robot individually using RobotDrive.
|
|
#2
|
|||
|
|||
|
Re: RobotDrive.drive() usage
Quote:
We are using tank drive/skid steer. I should have clarified that in the initial post, sorry about that. Is the distribution by percentage? I believe I can implement the drive method if that is the case. I think it is probably a better idea to do as you have said and write the methods from scratch to get proper control, so if I can implement the drive command I will probably use it for proof of concept code. |
|
#3
|
|||
|
|||
|
Re: RobotDrive.drive() usage
I would recommend right clicking on the method in your code and selecting Open Declaration. That will show you the source which will tell you exactly what it does.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|