|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#31
|
||||
|
||||
|
Re: Motion Planning and Control for FRC - FIRST Championship Conference Session
I can view the presentation on-line. Is that what you both are referring to?
I am saying that the PDF and PPTX download options in this popup menu do not work for me: http://i.imgur.com/jWPsNVP.png Jared, is that intentional or an oversight? ~ Last edited by Ether : 05-05-2015 at 09:59 AM. |
|
#32
|
|||||
|
|||||
|
Re: Motion Planning and Control for FRC - FIRST Championship Conference Session
Not intentional. The PDF and PPT links work for me.
I've attached the PDF. |
|
#33
|
||||
|
||||
|
Re: Motion Planning and Control for FRC - FIRST Championship Conference Session
|
|
#34
|
||||
|
||||
|
Re: Motion Planning and Control for FRC - FIRST Championship Conference Session
What does the spline paramater represent? When discussing 2d hermite cubic spline fits functions are created in terms of "s". Is this time?
Thank you and great presentation! |
|
#35
|
|||
|
|||
|
Re: Motion Planning and Control for FRC - FIRST Championship Conference Session
Spline parameters can be whatever you want: time, % of time, % of total arclength. When 254 implemented it in 2014, I believe we used % of total arclength. As long as you're consistent with your parameter usage, the code should be mostly the same.
|
|
#36
|
|||||
|
|||||
|
Re: Motion Planning and Control for FRC - FIRST Championship Conference Session
Quote:
In other words, instead of looking up your position by calling a function x(s), you would call x(s(t)), or x(s(arc_length)). Note that if you are creative, you can formulate the problem in different ways. In 2014, 254 actually created 2D splines by making a single function y(x). In this case, the 's' parameter was actually the x coordinate (shifted and rotated to the origin for each spline segment). There are some pros and cons to doing it this way as opposed to the more common parametric way (where you create two independent splines for x and y). Last edited by Jared Russell : 05-07-2015 at 08:03 PM. |
|
#37
|
|||
|
|||
|
Re: Motion Planning and Control for FRC - FIRST Championship Conference Session
How does 254 generate the trapezoidal curve for the velocity? My assumption is you just set motor speed to max(1.0) and then calculate what the velocity is at specific time intervals until it reaches a cruise velocity. Then I guess you derive the acceleration from that velocity graph. This makes sense but where I get confused is the deceleration because if you just set the drive speed in the code to 0 then since the motor controllers are in brake mode the motors will just stop.
I am a newbie when it comes to motion profiling so these questions may seem a little dumb. Thanks for all the help. Last edited by apache8080 : 10-16-2015 at 08:54 PM. |
|
#38
|
|||
|
|||
|
Re: Motion Planning and Control for FRC - FIRST Championship Conference Session
Quote:
The correct solution is to pick a velocity and acceleration for your profile such that you never run saturated while driving. For 971's 2015 robot, we used 2 m/s as the peak speed and 3 m/s^2 as the acceleration. That results in very clean motion for us which doesn't saturate. I would suggest verifying this by picking a velocity and acceleration for your profile, driving the profile with a robot, and then plotting the PWM value requested. You should never see a request above 1.0 or below -1.0. |
|
#39
|
||||
|
||||
|
Re: Motion Planning and Control for FRC - FIRST Championship Conference Session
Hi,
1. during autonomous why did you apply control only to the speed and rotation of the drivetrain wheels? there are other options like DFL or IOSFL and I was wondering why you didn't choose an option with regulation for the robot's absolute position and and heading. 2. Can someone from 971 please explain how did they use integral control and how to tune the gains matrices for LQR? also in your auto, did you use LQR for the trajectory? if so can you explain how you did that? You can read more about DFL, IOSFL and posture regulation in this slideshow:http://www.dis.uniroma1.it/~deluca/r...ingControl.pdf Any help will be greatly appreciated ![]() |
|
#40
|
||||
|
||||
|
Re: Motion Planning and Control for FRC - FIRST Championship Conference Session
Hi,
1. during autonomous why did you apply control only to the speed and rotation of the drivetrain wheels? there are other options like DFL or IOSFL and I was wondering why you didn't choose an option with regulation for the robot's absolute position and and heading. 2. Can someone from 971 please explain how did they use integral control and how to tune the gains matrices for LQR? also in your auto, did you use LQR for the trajectory? if so can you explain how you did that? You can read more about DFL, IOSFL and posture regulation in this slideshow:http://www.dis.uniroma1.it/~deluca/r...ingControl.pdf Any help will be greatly appreciated ![]() |
|
#41
|
||||
|
||||
|
Re: Motion Planning and Control for FRC - FIRST Championship Conference Session
Quote:
You made mention that the Talon SRX's can do a lot of "this" for you and that it is extensively documented. Are you just referring to the Feedback/Feedforward PID control built in to the Talons or can they execute a full trajectory/path? I have searched through the software manual for the Talon SRX (http://www.ctr-electronics.com/Talon%20SRX%20Software%20Reference%20Manual.pdf ) and didn't find any mention of motion planning/trajectories. Looking through the source for CANTalon in WPILib I do see mention of trajectories and motion profiles. Is there additional documentation somewhere that I am missing that actually talks about using motion profiles? |
|
#42
|
||||
|
||||
|
Re: Motion Planning and Control for FRC - FIRST Championship Conference Session
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|