ethz-asl / curves

A library of curves for estimation.
BSD 3-Clause "New" or "Revised" License
74 stars 28 forks source link

fix for being able to evaluate the curve when there is only one coefficient #50

Closed rdube closed 9 years ago

rdube commented 9 years ago

When developping the Trajectory_Optimizer we ran into an issue when trying to evaluate a curve which contains only one coefficient. A CHECK in getCoefficientsAt() failed, stopping the program. This is a proposition for solving this issue.

ethzasl-jenkins commented 9 years ago

Can one of the admins verify this patch?

mikebosse commented 9 years ago

lgtm

ethzasl-jenkins commented 9 years ago

Can one of the admins verify this patch?