--
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/45b17ce7-d27b-408b-98d6-a60fa530cf00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
can you share the implementation of MyFuncError?
On Thu, Jan 4, 2018 at 11:39 AM ThyMy <thymy....@gmail.com> wrote:
Hi,--
I'm trying to apply the example simple_bundle_adjuster on my data and got this error when compiling:
/usr/local/include/ceres/internal/variadic_evaluate.h:166:19: error: no match for call to ‘(const MyFuncError) (const ceres::Jet<double, 13>* const&, const ceres::Jet<double, 13>* const&, ceres::Jet<double, 13>*&)’
return functor(input[0],
...note: candidate: bool MyFuncError::operator()(const double*, const double*, double*) const
bool operator()(const double* const parameters,
no known conversion for argument 1 from ‘const ceres::Jet<double, 13>* const’ to ‘const double*’
My autodiff function is:
static ceres::CostFunction* Create(const double yk,
const double x_,
const double y_) {
return (new ceres::AutoDiffCostFunction<MyFuncError, 1, 4, 9>(
new MyFuncError(yk, x_, y_)));
}
I'm very new to Ceres, I've tried many other ways but could not figure out what the root problem is, in fact it is based almost all the simple_bundle_adjuster example.
Thanks,
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/45b17ce7-d27b-408b-98d6-a60fa530cf00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/CABqdRUAggakeXoKJDBQmECSp5X4Q%3DJ_neF8n2ok9jt5PrsyGvg%40mail.gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver+unsubscribe@googlegroups.com.
I tried to use template T, but it has some problem when declaring the Eigen Matrix type, hence I changed all to use type double.
I also thought that I passed some Jet argument to double argument, but could not figure out where as this is my first coding using Ceres.
Thanks a lot.
--
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/a516cca6-1bd0-4972-bc69-2cae12c864bc%40googlegroups.com.