

Back to robotics!!!!!  Steve W [more] 



Thread Tools  Rate Thread  Display Modes 
#31




Re: Curve Driving Generator
Quote:

#32




Re: Curve Driving Generator
Quote:
http://www.math.ucla.edu/~baker/java/hoefer/Bezier.htm http://www.math.ubc.ca/~cass/gfx/bezier.html ... then I will try to answer your questions 
#33




Re: Curve Driving Generator
Quote:
The Wikipedia article on Bezier curves has a lot of cool information on them: http://en.wikipedia.org/wiki/Bezier_curves Also if you needed to get the slope of a Bezier curve at some point for your pathing algorithm, I found this: http://www.cs.mtu.edu/~shene/COURSES...ezierder.html 
#34




Re: Curve Driving Generator
Ok, I am ready. I have quite a good feel for Bezier curves now....which is great timing since my Calc class just hit parametric equations.

#35




Re: Curve Driving Generator
I have been conducting Mathcad webinars for FIRST teams. A search turned up this conversation and I have implemented the Matrix Solution as a Mathcad worksheet. The attached .zip folder contains both a Mathcad Prime 2.0 and a .pdf version of the worksheet.
PTC is once again offering Mathcad Prime for free to participants in FIRST Robotics programs. Contact FIRSTsupport@ptc.com if you are interested in obtaining a copy of Mathcad Prime. You can learn how to create Mathcad worksheets like this on our Wednesday Night Robotalk Webinars (7 pm EST). This Wednesday night (Sept 19 2012) we will focus on the tools used in the attached worksheet. To register for the webinar click here. Chris 
#36




Re: Curve Driving Generator
Quote:
Attached is a Bezier curve for the example you gave. Also, there's an Excel spreadsheet here for those who don't have Maxima* installed: http://www.chiefdelphi.com/media/papers/2713 * Maxima is a free opensource Computer Algebra System, available for download at the link below. Highly recommended: http://maxima.sourceforge.net/ Last edited by Ether : 09132012 at 04:34 PM. 
#37




Re: Curve Driving Generator
@Ether: The example in the .pdf was more deliberate than unfortunate. I chose a tangent line slope that would exagerate the effect and help high school students to make connections to their work in schools. (I am an educator, not an engineer.)
I included the .pdf more to show what a Mathcad worksheet looks like. I think it is more transparent than either Excel or Maxima because Mathcad uses standard math notation. The .pdf was not meant to be the primary contribution. The Mathcad worksheet is a computational document, so it is possible to change the parameters. The worksheet is therefore a general method for calculating a cubic polynomial given the endpoints and tangent slopes. As you observed in your post, there are some examples where the solution is efficient, others where it is not. With the Mathcad worksheet, it is possible to quickly derive and plot a path and determine whether or not it is a solution worth implementing. It is certainly possible to build a Mathcad worksheet to generate the Bezier Curve. I will add this to my "Want to Do" list and post it to the Thread when I cross it off. Thanks for the suggestion and the Excel worksheet. I'll probably convert your Excel spreadsheet to Mathcad. 
#38




Re: Curve Driving Generator
Quote:
I'm both an engineer (now retired after 33 years) and an educator. I share your passion about teaching. 
Thread Tools  
Display Modes  Rate This Thread 

