I tried to generate the necessary debian to make Paolo use the last pull of 'to_quadruped' branch of this repo but while compiling I had the following errors:
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:135:92: error: definition of ‘OpenSoT::Task<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1> >::TaskPtr XBot::Cartesian::OpenSotImpl::aggregated_from_stack(XBot::Cartesian::AggregatedTask)’ is not in namespace enclosing ‘XBot::Cartesian::OpenSotImpl’ [-fpermissive]
OpenSoT::tasks::Aggregated::TaskPtr OpenSotImpl::aggregated_from_stack(AggregatedTask stack)
^
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp: In member function ‘OpenSoT::Task<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1> >::TaskPtr XBot::Cartesian::OpenSotImpl::aggregated_from_stack(XBot::Cartesian::AggregatedTask)’:
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:142:51: error: definition of ‘auto XBot::Cartesian::OpenSotImpl::aggregated_from_stack(XBot::Cartesian::AggregatedTask)::::operator()(auto:1) const’ is not in namespace enclosing ‘XBot::Cartesian::OpenSotImpl::aggregated_from_stack(XBot::Cartesian::AggregatedTask)::’ [-fpermissive]
[task_desc](auto t){ return t->getTaskDescription() == task_desc; });
^
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp: At global scope:
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:162:67: error: definition of ‘void XBot::Cartesian::OpenSotImpl::make_task_adapter(XBot::Cartesian::TaskDescription::Ptr)’ is not in namespace enclosing ‘XBot::Cartesian::OpenSotImpl’ [-fpermissive]
void OpenSotImpl::make_task_adapter(TaskDescription::Ptr task_desc)
^
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:177:81: error: definition of ‘void XBot::Cartesian::OpenSotImpl::make_constraint_adapter(XBot::Cartesian::ConstraintDescription::Ptr)’ is not in namespace enclosing ‘XBot::Cartesian::OpenSotImpl’ [-fpermissive]
void OpenSotImpl::make_constraint_adapter(ConstraintDescription::Ptr constr_desc)
^
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:192:46: error: definition of ‘XBot::Cartesian::OpenSotImpl::OpenSotImpl(XBot::Cartesian::ProblemDescription, XBot::Cartesian::Context::Ptr)’ is not in namespace enclosing ‘XBot::Cartesian::OpenSotImpl’ [-fpermissive]
Context::Ptr context):
^
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp: In constructor ‘XBot::Cartesian::OpenSotImpl::OpenSotImpl(XBot::Cartesian::ProblemDescription, XBot::Cartesian::Context::Ptr)’:
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:236:41: error: definition of ‘auto XBot::Cartesian::OpenSotImpl::OpenSotImpl(XBot::Cartesian::ProblemDescription, XBot::Cartesian::Context::Ptr)::::operator()(auto:2) const’ is not in namespace enclosing ‘XBot::Cartesian::OpenSotImpl::OpenSotImpl(XBot::Cartesian::ProblemDescription, XBot::Cartesian::Context::Ptr)::’ [-fpermissive]
auto parse_task = [&vars_map](auto t)
^
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:316:57: error: definition of ‘auto XBot::Cartesian::OpenSotImpl::OpenSotImpl(XBot::Cartesian::ProblemDescription, XBot::Cartesian::Context::Ptr)::::operator()(auto:3) const’ is not in namespace enclosing ‘XBot::Cartesian::OpenSotImpl::OpenSotImpl(XBot::Cartesian::ProblemDescription, XBot::Cartesian::Context::Ptr)::’ [-fpermissive]
[constr](auto c){ return c->getConstraintDescription() == constr; });
^
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp: At global scope:
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:377:52: error: definition of ‘bool XBot::Cartesian::OpenSotImpl::update(double, double)’ is not in namespace enclosing ‘XBot::Cartesian::OpenSotImpl’ [-fpermissive]
bool OpenSotImpl::update(double time, double period)
^
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:495:27: error: definition of ‘XBot::Cartesian::OpenSotImpl::~OpenSotImpl()’ is not in namespace enclosing ‘XBot::Cartesian::OpenSotImpl’ [-fpermissive]
OpenSotImpl::~OpenSotImpl()
^
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:498:1: error: expected ‘}’ at end of input
}
Hi @alaurenzi
I tried to generate the necessary debian to make Paolo use the last pull of 'to_quadruped' branch of this repo but while compiling I had the following errors:
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:135:92: error: definition of ‘OpenSoT::Task<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1> >::TaskPtr XBot::Cartesian::OpenSotImpl::aggregated_from_stack(XBot::Cartesian::AggregatedTask)’ is not in namespace enclosing ‘XBot::Cartesian::OpenSotImpl’ [-fpermissive] OpenSoT::tasks::Aggregated::TaskPtr OpenSotImpl::aggregated_from_stack(AggregatedTask stack) ^ /home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp: In member function ‘OpenSoT::Task<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1> >::TaskPtr XBot::Cartesian::OpenSotImpl::aggregated_from_stack(XBot::Cartesian::AggregatedTask)’: /home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:142:51: error: definition of ‘auto XBot::Cartesian::OpenSotImpl::aggregated_from_stack(XBot::Cartesian::AggregatedTask)::::operator()(auto:1) const’ is not in namespace enclosing ‘XBot::Cartesian::OpenSotImpl::aggregated_from_stack(XBot::Cartesian::AggregatedTask)::’ [-fpermissive]
[task_desc](auto t){ return t->getTaskDescription() == task_desc; });
^
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp: At global scope:
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:162:67: error: definition of ‘void XBot::Cartesian::OpenSotImpl::make_task_adapter(XBot::Cartesian::TaskDescription::Ptr)’ is not in namespace enclosing ‘XBot::Cartesian::OpenSotImpl’ [-fpermissive]
void OpenSotImpl::make_task_adapter(TaskDescription::Ptr task_desc)
^
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:177:81: error: definition of ‘void XBot::Cartesian::OpenSotImpl::make_constraint_adapter(XBot::Cartesian::ConstraintDescription::Ptr)’ is not in namespace enclosing ‘XBot::Cartesian::OpenSotImpl’ [-fpermissive]
void OpenSotImpl::make_constraint_adapter(ConstraintDescription::Ptr constr_desc)
^
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:192:46: error: definition of ‘XBot::Cartesian::OpenSotImpl::OpenSotImpl(XBot::Cartesian::ProblemDescription, XBot::Cartesian::Context::Ptr)’ is not in namespace enclosing ‘XBot::Cartesian::OpenSotImpl’ [-fpermissive]
Context::Ptr context):
^
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp: In constructor ‘XBot::Cartesian::OpenSotImpl::OpenSotImpl(XBot::Cartesian::ProblemDescription, XBot::Cartesian::Context::Ptr)’:
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:236:41: error: definition of ‘auto XBot::Cartesian::OpenSotImpl::OpenSotImpl(XBot::Cartesian::ProblemDescription, XBot::Cartesian::Context::Ptr)::::operator()(auto:2) const’ is not in namespace enclosing ‘XBot::Cartesian::OpenSotImpl::OpenSotImpl(XBot::Cartesian::ProblemDescription, XBot::Cartesian::Context::Ptr)::’ [-fpermissive]
auto parse_task = [&vars_map](auto t)
^
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:316:57: error: definition of ‘auto XBot::Cartesian::OpenSotImpl::OpenSotImpl(XBot::Cartesian::ProblemDescription, XBot::Cartesian::Context::Ptr)::::operator()(auto:3) const’ is not in namespace enclosing ‘XBot::Cartesian::OpenSotImpl::OpenSotImpl(XBot::Cartesian::ProblemDescription, XBot::Cartesian::Context::Ptr)::’ [-fpermissive]
[constr](auto c){ return c->getConstraintDescription() == constr; });
^
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp: At global scope:
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:377:52: error: definition of ‘bool XBot::Cartesian::OpenSotImpl::update(double, double)’ is not in namespace enclosing ‘XBot::Cartesian::OpenSotImpl’ [-fpermissive]
bool OpenSotImpl::update(double time, double period)
^
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:495:27: error: definition of ‘XBot::Cartesian::OpenSotImpl::~OpenSotImpl()’ is not in namespace enclosing ‘XBot::Cartesian::OpenSotImpl’ [-fpermissive]
OpenSotImpl::~OpenSotImpl()
^
/home/user/src/CartesianInterface/src/opensot/OpenSotImpl.cpp:498:1: error: expected ‘}’ at end of input
}
can you please help us?