59 const double ds = 2.0 * std::sqrt(r0*r0-b*b);
64 path.
getData().set_size( 4 + 1, n + 2 );
65 rear_end.
getData().set_size( 1 + 1, n );
66 front_end.
getData().set_size( 1 + 1, n );
105 double s_e = 0.5 *
a_e_ * t * t;
117 double s0 = rear_end.
limitLo() + ds * 0.5;
118 double s1 = front_end.
limitHi() - ds * 0.5;
119 s1 = s0 + std::ceil((s1-s0)/ds)*ds + ds * 0.00001;
121 for(
double s = s0;s<=s1;s += ds)
Definition: setpointrequestswath.h:26
void setL(double value)
Definition: setpointrequestswath.h:37
void append_cylinder_swath_linear(const SetPointRequest &spr, adore::mad::OccupancyCylinderTree &prediction, bool terminal=false)
Definition: setpointrequestswath.h:55
void setLatPrecision(double value)
Definition: setpointrequestswath.h:40
void setP(double value)
Definition: setpointrequestswath.h:39
void setLonError(double value)
Definition: setpointrequestswath.h:42
double lat_error_
Definition: setpointrequestswath.h:32
double p_
Definition: setpointrequestswath.h:30
double lat_precision_
Definition: setpointrequestswath.h:31
SetPointRequestSwath(double l, double w, double p, double lat_precision, double lat_error=0.0, double lon_error=0.0)
Definition: setpointrequestswath.h:45
double l_
Definition: setpointrequestswath.h:28
void setAccelerationErrorSlow(double value)
Definition: setpointrequestswath.h:44
double w_
Definition: setpointrequestswath.h:29
double a_e_
Definition: setpointrequestswath.h:35
double lon_error_
Definition: setpointrequestswath.h:33
void setDuration(double value)
Definition: setpointrequestswath.h:43
void setW(double value)
Definition: setpointrequestswath.h:38
double duration_
Definition: setpointrequestswath.h:34
void setLatError(double value)
Definition: setpointrequestswath.h:41
Definition: setpointrequest.h:35
std::vector< SetPoint > setPoints
Definition: setpointrequest.h:38
virtual CT f(DT x) const override
Definition: llinearpiecewisefunction.h:251
virtual DT limitLo() const override
Definition: llinearpiecewisefunction.h:264
adoreMatrix< T, n+1, 0 > & getData()
Definition: llinearpiecewisefunction.h:147
virtual DT limitHi() const override
Definition: llinearpiecewisefunction.h:259
Definition: occupancycylinder.h:84
void insert(const VolumeType &volume)
Definition: vectorbasedvolumetree.h:90
interval< T > cos(interval< T > x)
Definition: intervalarithmetic.h:225
T bound(T lb, T value, T ub)
Definition: adoremath.h:569
interval< T > sin(interval< T > x)
Definition: intervalarithmetic.h:204
adoreMatrix< T, N, M > max(adoreMatrix< T, N, M > a, const adoreMatrix< T, N, M > &b)
Definition: adoremath.h:686
w
Definition: adore_set_pose.py:40
r
Definition: adore_suppress_lanechanges.py:209
Definition: areaofeffectconverter.h:20
Definition: occupancycylinder.h:25