I am investigating hypocycloids for making smooth paths. I would be thankful if you could share some insights on the following two questions:
Ques 1) Whose curvature is smoother: Clothoid or Hypocycloid (say we limit the discussion only to astroid and deltoid, or in general if possible).
Ques 2) What could be the potential advantages of using Hypocycloid over Clothoid for making smooth paths?
Smoothness [source: wiki]: Smoothness of a function is a property measured by the number of derivatives it has which are continuous. A smooth function is a function that has derivatives of all orders everywhere in its domain. In terms of robot, I am particularly interested in 1st derivative (velocity), and 2nd derivate (acceleration) only. In this regard, a straight line is not smooth as robot has to very abruptly turn at points A and B. I am interested in which curve has more curvature, which curve keeps more clearance from the obstacle P in the [edited] figure attached.
Regarding 1) I found the parametric equations for curvatures of hypocyloid and clothoid from Hypocloid curvature and for clothoid too. But I am unable to interpret the general case. Regarding 2) I found that parametric equations of hypocycloid are easier to compute than clothoids which involves Fresnel Integrals.
Concretely, I am trying to fix a hypocycloid or a clothoid between two points A and B in the figure attached. OA = OB. I would like to know mathematically about whether a hypocycloid (say astroid) or a clothoid curve would be smoother?
Curvature Equations Curvature of a general hypocycloid is given by [from Wolfram Hypocycloid] where $a$ and $b$ are the radius of larger circle and rolling smaller circle: $c(\phi) = \dfrac{2b - a}{4b(a-b)} cosec \biggl( \dfrac{a\phi}{2b} \biggr)$
For a specific astroid case, curvature is: $c(\phi) = \dfrac{-2}{3} cosec (2t)$
Curvature of a clothoid = $-t$ (equal to the parameter)
Hence, I cannot generalize which is greater. For astroid, at $t=0$, the curvature is $\infty$ (which is equal to that of a straight line). Then it gradually decreases. Hence the robot should experience no (or less) jerk. For clothoid, since its curvature is equal to the parameter $t$, it would degenerate quikcly. In these terms, I want to compare hypocycloid and clothoid. Any suggestions?
Fitting Hypocycloid(astroid) or clothoid between two points for robot
Thank you in advance.
The Euler spiral (also known as the Cornu spiral or clothoid) is the natural choice for a smooth transition curve, where by smooth we mean one that will not cause an abrupt change in acceleration (i.e., a jerk).
The Euler spiral is usually expressed in terms of the Fresnel integral, which can be expressed in closed form as follows,
$$z(s)=\int_0^s e^{i \pi s^2/2} ds=\frac{1+i}{2} erf\left(\frac{1-i}{2} \sqrt{\pi} \cdot s\right)$$
where $s$ is the arc length. Now it's also known that a spiral can be expressed in terms of it curvature, $\kappa$, namely,
$$z=\int e^{i\int \kappa(s)ds}ds$$
It follows that the natural equation of this spiral is $\kappa \propto s$, or in term of the radius of curvature, $\rho$
$$\rho s=\text{constant}$$
It is this property that we are interested in. When traversing a bend we seek to assure that the centrifugal force changes continuously in order to avoid a jerk. If this easement is not applied there would be an abrupt change in the acceleration at the point of transition from a straight path to a curved one.