Go to Post Remember, there are many differents path to obtaining knowledge. There's no need to pigeonhole the process. - Karthik [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 03-31-2016, 06:45 PM
Roboprog77 Roboprog77 is offline
Registered User
FRC #1403
 
Join Date: Mar 2016
Location: New Jersey
Posts: 3
Roboprog77 is an unknown quantity at this point
Re: Help with TrajectoryLib

Quote:
Originally Posted by Tom Bottiglieri View Post
kTurn was the P gain for a controller which tried to keep the robot's heading (measured by a gyro) on course with where it currently was in a pre computed 2d trajectory. I'd tune this by writing some code that tries to get your robot to turn 45 degrees in place and picking a gain that gets close the robot to the target with minimal overshoot. If you run the full controller and bot starts to wander off course and can't make harder turns, increase the gain. If you see oscillation, decrease the gain. If your drivetrain is relatively well balanced efficiency wise, you just need to be in the right ballpark.

Do you need 2d trajectories for your task?
Thank you for your help. We do require 2d trajectories for our task.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:04 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi