Skip to content

Instantly share code, notes, and snippets.

@patmarion
Created August 14, 2014 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patmarion/966ed8154d07872e8902 to your computer and use it in GitHub Desktop.
Save patmarion/966ed8154d07872e8902 to your computer and use it in GitHub Desktop.
inverseKinBackend.cpp compile errors
[ 80%] Building CXX object systems/plants/CMakeFiles/drakeIK.dir/inverseKinBackend.cpp.o
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:573:32: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1> >') and 'VectorXd' (aka 'Matrix<double, Dynamic, 1>'))
Cmin_array[i].tail(nc) = lb;
~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:2184:15: note: in instantiation of function template specialization 'inverseKinBackend<Eigen::Map<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Map<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Map<Eigen::Matrix<double, -1,
-1, 0, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Map<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Map<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >' requested here
template void inverseKinBackend(RigidBodyManipulator* model, const int mode, const int nT, const double* t, const MatrixBase<Map<MatrixXd>> &q_seed, const MatrixBase<Map<MatrixXd>> &q_nom, const int num_constraints, RigidBodyConstraint** const constraint_array, MatrixBase<Map<MatrixXd>> &q_sol, MatrixBase<Map<MatrixXd>> &qdot_sol,...
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:575:32: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1> >') and 'VectorXd' (aka 'Matrix<double, Dynamic, 1>'))
Cmax_array[i].tail(nc) = ub;
~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:586:55: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<int, -1, 1, 0, -1, 1> >') and 'VectorXi' (aka 'Matrix<int, Dynamic, 1>'))
iCfun_array[i].segment(nG_array[i]+k*nc,nc) = iCfun_append;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::Matrix<int, -1, 1, 0, -1, 1>]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::Matrix<int, -1, 1, 0, -1, 1>]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:588:55: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<int, -1, 1, 0, -1, 1> >') and 'VectorXi' (aka 'Matrix<int, Dynamic, 1>'))
jCvar_array[i].segment(nG_array[i]+k*nc,nc) = jCvar_append;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::Matrix<int, -1, 1, 0, -1, 1>]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::Matrix<int, -1, 1, 0, -1, 1>]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:608:40: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1> >') and 'VectorXd' (aka 'Matrix<double, Dynamic, 1>'))
Cmin_array[i].tail(st_lpc_nc[j]) = lb;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:610:40: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1> >') and 'VectorXd' (aka 'Matrix<double, Dynamic, 1>'))
Cmax_array[i].tail(st_lpc_nc[j]) = ub;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:615:41: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<int, -1, 1, 0, -1, 1> >') and 'const CwiseBinaryOp<internal::scalar_sum_op<Scalar>, const Eigen::Matrix<int, -1, 1, 0, -1, 1>, const
Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Matrix<int, -1, 1, 0, -1, 1> > >')
iAfun_array[i].tail(iAfun.size()) = iAfun+VectorXi::Constant(iAfun.size(),nc_array[i]+1); //use 1-indx
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::Matrix<int, -1, 1, 0, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Matrix<int, -1, 1, 0, -1, 1> > >]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::Matrix<int, -1, 1, 0, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Matrix<int, -1, 1, 0, -1, 1> > >]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:617:41: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<int, -1, 1, 0, -1, 1> >') and 'const CwiseBinaryOp<internal::scalar_sum_op<Scalar>, const Eigen::Matrix<int, -1, 1, 0, -1, 1>, const
Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Matrix<int, -1, 1, 0, -1, 1> > >')
jAvar_array[i].tail(jAvar.size()) = jAvar+VectorXi::Ones(jAvar.size());// use 1-indx
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::Matrix<int, -1, 1, 0, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Matrix<int, -1, 1, 0, -1, 1> > >]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::Matrix<int, -1, 1, 0, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Matrix<int, -1, 1, 0, -1, 1> > >]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:619:33: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1> >') and 'VectorXd' (aka 'Matrix<double, Dynamic, 1>'))
A_array[i].tail(A.size()) = A;
~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:645:40: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<int, -1, 1, 0, -1, 1> >') and 'const ConstantReturnType'
(aka 'const CwiseNullaryOp<internal::scalar_constant_op<Scalar>, Eigen::Matrix<int, -1, 1, 0, -1, 1> >'))
iAfun_array[i].tail(num_qsc_pts) = VectorXi::Constant(num_qsc_pts,nc_array[i]+num_qsc_cnst);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Matrix<int, -1, 1, 0, -1, 1> >]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Matrix<int, -1, 1, 0, -1, 1> >]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:650:36: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1> >') and 'const ConstantReturnType'
(aka 'const CwiseNullaryOp<internal::scalar_constant_op<Scalar>, Eigen::Matrix<double, -1, 1, 0, -1, 1> >'))
A_array[i].tail(num_qsc_pts) = VectorXd::Ones(num_qsc_pts);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1, 0, -1, 1> >]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1, 0, -1, 1> >]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:658:35: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1> >') and 'VectorXd' (aka 'Matrix<double, Dynamic, 1>'))
qsc_lb.head(num_qsc_cnst-1) = qsc_lb_tmp;
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:660:35: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1> >') and 'VectorXd' (aka 'Matrix<double, Dynamic, 1>'))
qsc_ub.head(num_qsc_cnst-1) = qsc_ub_tmp;
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:662:40: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1> >') and 'VectorXd' (aka 'Matrix<double, Dynamic, 1>'))
Cmin_array[i].tail(num_qsc_cnst) = qsc_lb;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:663:40: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1> >') and 'VectorXd' (aka 'Matrix<double, Dynamic, 1>'))
Cmax_array[i].tail(num_qsc_cnst) = qsc_ub;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:1379:42: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1> >') and 'VectorXd' (aka 'Matrix<double, Dynamic, 1>'))
Cmin_inbetween_array[i].tail(nc) = lb;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:1381:42: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1> >') and 'VectorXd' (aka 'Matrix<double, Dynamic, 1>'))
Cmax_inbetween_array[i].tail(nc) = ub;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::Matrix<double, -1, 1, 0, -1, 1>]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:1393:71: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<int, -1, 1, 0, -1, 1> >') and 'VectorXi' (aka 'Matrix<int, Dynamic, 1>'))
iCfun_inbetween_array[i].tail(nc*nq*(num_qfree+num_qdotfree)) = iCfun_append;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::Matrix<int, -1, 1, 0, -1, 1>]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::Matrix<int, -1, 1, 0, -1, 1>]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
/source/drake/drake-distro/drake/systems/plants/inverseKinBackend.cpp:1428:71: error: use of overloaded operator '=' is ambiguous (with operand types 'SegmentReturnType' (aka 'VectorBlock<Eigen::Matrix<int, -1, 1, 0, -1, 1> >') and 'VectorXi' (aka 'Matrix<int, Dynamic, 1>'))
jCvar_inbetween_array[i].tail(nc*nq*(num_qfree+num_qdotfree)) = jCvar_append;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived = Eigen::Matrix<int, -1, 1, 0, -1, 1>]
Derived& operator=(const EigenBase<OtherDerived>& other);
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/Block.h:110:5: note: candidate function [with OtherDerived = Eigen::Matrix<int, -1, 1, 0, -1, 1>]
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:328:3: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS'
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
^
/source/drake/drake-distro/build/include/eigen3/Eigen/src/Core/util/Macros.h:316:32: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR'
EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; }
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment