Dubins Class Reference

Clothoids: Dubins Class Reference
Clothoids
Dubins Class Reference
Inheritance diagram for Dubins:
CurveBase

Public Member Functions

function Dubins (in varargin)
 MATLAB class wrapper for the underlying C++ class.
 
function build (in self, in x0, in y0, in theta0, in x3, in y3, in theta3, in k_max)
 
function get_range_angles_begin (in self, in x0, in y0, in x3, in y3, in theta3, in k_max)
 
function get_range_angles_end (in self, in x0, in y0, in theta0, in x3, in y3, in k_max)
 
function get_pars (in self)
 
function get_circles (in self)
 
function length (in self)
 
function curve_type (in self)
 
function curve_type_string (in self)
 
function plot (in self, in npts, in varargin)
 
- Public Member Functions inherited from CurveBase
function CurveBase (in mexName, in objectType)
 
function obj_handle (in self)
 
function is_type (in self)
 
function load (in self, in OBJ)
 
function bbox (in self, in varargin)
 
function translate (in self, in tx, in ty)
 
function trim (in self, in smin, in smax)
 
function rotate (in self, in angle, in cx, in cy)
 
function reverse (in self)
 
function scale (in self, in sc)
 
function change_origin (in self, in newX0, in newY0)
 
function changeOrigin (in self, in newX0, in newY0)
 
function evaluate (in self, in s, in varargin)
 
function eval (in self, in varargin)
 
function eval_D (in self, in varargin)
 
function eval_DD (in self, in varargin)
 
function eval_DDD (in self, in varargin)
 
function theta (in self, in s)
 
function theta_D (in self, in s)
 
function theta_DD (in self, in s)
 
function theta_DDD (in self, in s)
 
function kappa (in self, in s)
 
function kappa_D (in self, in s)
 
function kappa_DD (in self, in s)
 
function xy_begin (in self)
 
function xyBegin (in self)
 
function xy_end (in self)
 
function xyEnd (in self)
 
function x_begin (in self)
 
function xBegin (in self)
 
function x_end (in self)
 
function xEnd (in self)
 
function y_begin (in self)
 
function yBegin (in self)
 
function y_end (in self)
 
function yEnd (in self)
 
function theta_begin (in self)
 
function thetaBegin (in self)
 
function theta_end (in self)
 
function thetaEnd (in self)
 
function kappa_begin (in self)
 
function kappaBegin (in self)
 
function kappa_end (in self)
 
function kappaEnd (in self)
 
function length (in self, in varargin)
 
function points (in self)
 
function bbTriangles (in self, in varargin)
 
function closest_point (in self, in qx, in qy, in varargin)
 
function closestPoint (in self, in qx, in qy, in varargin)
 
function distance (in self, in qx, in qy, in varargin)
 
function collision (in self, in OBJ, in varargin)
 
function intersect (in self, in OBJ, in varargin)
 
function info (in self)
 
function find_coord (in self, in x, in y)
 
function yesAABBtree (in self)
 
function noAABBtree (in self)
 
function plot_tbox (in self, in P1, in P2, in P3, in varargin)
 
function plotTBox (in self, in P1, in P2, in P3, in varargin)
 
function plot_bbox (in self, in varargin)
 
function plotBBox (in self, in varargin)
 
function plot_triangles (in self, in varargin)
 
function plotTriangles (in self, in varargin)
 

Additional Inherited Members

- Protected Member Functions inherited from CurveBase
function copyElement (in self)
 
- Protected Attributes inherited from CurveBase
Property mexName
 
Property objectHandle
 
Property call_delete
 
Property objectType
 

Constructor & Destructor Documentation

◆ Dubins()

function Dubins::Dubins ( in varargin)

MATLAB class wrapper for the underlying C++ class.

Make a deep copy of a curve object

Usage

B = A.copy();

where A is the curve object to be copied. Create a new C++ class instance for the Biarc object

Usage:

self = Biarc();
self = Biarc( x0, y0, theta0, x1, y1, theta1 );

Optional Arguments:

  • x0, y0: coordinate of initial point
  • theta0 : orientation of the clothoid at initial point
  • x1, y1: coordinate of final point
  • theta1 : orientation of the clothoid at final point

On output:

  • self: reference handle to the object instance

Member Function Documentation

◆ build()

function Dubins::build ( in self,
in x0,
in y0,
in theta0,
in x3,
in y3,
in theta3,
in k_max )

Build the interpolating G1 biarc

Usage:

ref.build_G1( x0, y0, theta0, x1, y1, theta1 );

On input:

  • x0, y0: coordinate of initial point
  • theta0 : orientation of the clothoid at initial point
  • x3, y3: coordinate of final point
  • theta3 : orientation of the clothoid at final point

◆ plot()

function Dubins::plot ( in self,
in npts,
in varargin )

Plot the biarc

Usage:

ref.plot( npts );
fmt1 = {'Color','blue','Linewidth',2};
fmt2 = {'Color','red','Linewidth',2};
ref.plot( npts, fmt1, fmt2 );
  • npts: number of sampling points for plotting
  • fmt1: format of the first arc
  • fmt2: format of the second arc

The documentation for this class was generated from the following file:
  • /Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Clothoids/toolbox/lib/Dubins.m