(gym-ignition-env) kammo@kammo-XPS-15-9560:~/repos/gym-ignition/build$ cmake --build .
Scanning dependencies of target tiny-process-library
[ 2%] Building CXX object _deps/tinyprocesslibrary-build/CMakeFiles/tiny-process-library.dir/process.cpp.o
[ 5%] Building CXX object _deps/tinyprocesslibrary-build/CMakeFiles/tiny-process-library.dir/process_unix.cpp.o
[ 8%] Linking CXX shared library ../../lib/libtiny-process-library.so
[ 8%] Built target tiny-process-library
Scanning dependencies of target gympp
[ 11%] Building CXX object gympp/CMakeFiles/gympp.dir/src/Space.cpp.o
[ 14%] Building CXX object gympp/CMakeFiles/gympp.dir/src/Random.cpp.o
[ 17%] Linking CXX shared library ../lib/libgympp.so
[ 17%] Built target gympp
Scanning dependencies of target RobotSingleton
[ 20%] Building CXX object ignition/CMakeFiles/RobotSingleton.dir/src/RobotSingleton.cpp.o
[ 22%] Linking CXX shared library ../lib/libRobotSingleton.so
[ 22%] Built target RobotSingleton
Scanning dependencies of target IgnitionRobot
[ 25%] Building CXX object ignition/CMakeFiles/IgnitionRobot.dir/src/IgnitionRobot.cpp.o
[ 28%] Linking CXX shared library ../lib/libIgnitionRobot.so
[ 28%] Built target IgnitionRobot
Scanning dependencies of target TaskSingleton
[ 31%] Building CXX object ignition/CMakeFiles/TaskSingleton.dir/src/TaskSingleton.cpp.o
[ 34%] Linking CXX shared library ../lib/libTaskSingleton.so
[ 34%] Built target TaskSingleton
Scanning dependencies of target ECMSingleton
[ 37%] Building CXX object ignition/CMakeFiles/ECMSingleton.dir/src/ECMSingleton.cpp.o
[ 40%] Linking CXX shared library ../lib/libECMSingleton.so
[ 40%] Built target ECMSingleton
Scanning dependencies of target GazeboWrapper
[ 42%] Building CXX object ignition/CMakeFiles/GazeboWrapper.dir/src/GazeboWrapper.cpp.o
[ 45%] Linking CXX shared library ../lib/libGazeboWrapper.so
[ 45%] Built target GazeboWrapper
Scanning dependencies of target IgnitionEnvironment
[ 48%] Building CXX object ignition/CMakeFiles/IgnitionEnvironment.dir/src/IgnitionEnvironment.cpp.o
[ 51%] Linking CXX shared library ../lib/libIgnitionEnvironment.so
[ 51%] Built target IgnitionEnvironment
Scanning dependencies of target PhysicsSystem
[ 54%] Building CXX object plugins/Physics/CMakeFiles/PhysicsSystem.dir/Physics.cpp.o
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::CreatePhysicsEntities(const ignition::gazebo::v2::EntityComponentManager&)’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:293:10: error: parse error in template argument list
_ecm.EachNew<components::World, components::Name, components::Gravity>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:295:19: error: reference to ‘components’ is ambiguous
const components::World* /* _world */,
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:312:11: error: expected ‘{’ before ‘;’ token
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::CreatePhysicsEntities(const ignition::gazebo::v2::EntityComponentManager&)’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:312:11: error: expected ‘)’ before ‘;’ token
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:314:10: error: parse error in template argument list
_ecm.EachNew<components::Model, components::Name, components::Pose, components::ParentEntity>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:316:19: error: reference to ‘components’ is ambiguous
const components::Model*,
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:352:11: error: expected ‘{’ before ‘;’ token
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::CreatePhysicsEntities(const ignition::gazebo::v2::EntityComponentManager&)’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:352:11: error: expected ‘)’ before ‘;’ token
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:354:10: error: parse error in template argument list
_ecm.EachNew<components::Link, components::Name, components::Pose, components::ParentEntity>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:356:19: error: reference to ‘components’ is ambiguous
const components::Link* /* _link */,
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:391:11: error: expected ‘{’ before ‘;’ token
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::CreatePhysicsEntities(const ignition::gazebo::v2::EntityComponentManager&)’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:391:11: error: expected ‘)’ before ‘;’ token
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:396:10: error: parse error in template argument list
_ecm.EachNew<components::Collision,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
components::Name,
~~~~~~~~~~~~~~~~~
components::Pose,
~~~~~~~~~~~~~~~~~
components::Geometry,
~~~~~~~~~~~~~~~~~~~~~
components::CollisionElement,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
components::ParentEntity>([&](const Entity& _entity,
~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:402:54: error: reference to ‘components’ is ambiguous
const components::Collision*,
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:453:7: error: expected ‘{’ before ‘;’ token
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::CreatePhysicsEntities(const ignition::gazebo::v2::EntityComponentManager&)’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:453:7: error: expected ‘)’ before ‘;’ token
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:456:10: error: parse error in template argument list
_ecm.EachNew<components::Joint,
^~~~~~~~~~~~~~~~~~~~~~~~~~
components::Name,
~~~~~~~~~~~~~~~~~
components::JointType,
~~~~~~~~~~~~~~~~~~~~~~
components::Pose,
~~~~~~~~~~~~~~~~~
components::ThreadPitch,
~~~~~~~~~~~~~~~~~~~~~~~~
components::ParentEntity,
~~~~~~~~~~~~~~~~~~~~~~~~~
components::ParentLinkName,
~~~~~~~~~~~~~~~~~~~~~~~~~~~
components::ChildLinkName>(
~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:465:19: error: reference to ‘components’ is ambiguous
const components::Joint* /* _joint */,
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:510:11: error: expected ‘{’ before ‘;’ token
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::CreatePhysicsEntities(const ignition::gazebo::v2::EntityComponentManager&)’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:510:11: error: expected ‘)’ before ‘;’ token
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:512:10: error: parse error in template argument list
_ecm.EachNew<components::BatterySoC>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:513:42: error: reference to ‘components’ is ambiguous
[&](const Entity& _entity, const components::BatterySoC*) -> bool {
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:517:11: error: expected ‘{’ before ‘;’ token
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::CreatePhysicsEntities(const ignition::gazebo::v2::EntityComponentManager&)’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:517:11: error: expected ‘)’ before ‘;’ token
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::RemovePhysicsEntities(const ignition::gazebo::v2::EntityComponentManager&)’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:529:10: error: parse error in template argument list
_ecm.EachRemoved<components::Model>([&](const Entity& _entity, const components::Model *
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:529:74: error: reference to ‘components’ is ambiguous
ed<components::Model>([&](const Entity& _entity, const components::Model *
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:556:7: error: expected ‘{’ before ‘;’ token
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::RemovePhysicsEntities(const ignition::gazebo::v2::EntityComponentManager&)’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:556:7: error: expected ‘)’ before ‘;’ token
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdatePhysics(ignition::gazebo::v2::EntityComponentManager&)’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:562:10: error: parse error in template argument list
_ecm.Each<components::BatterySoC>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:563:42: error: reference to ‘components’ is ambiguous
[&](const Entity& _entity, const components::BatterySoC* _bat) {
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:569:11: error: expected ‘{’ before ‘;’ token
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdatePhysics(ignition::gazebo::v2::EntityComponentManager&)’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:569:11: error: expected ‘)’ before ‘;’ token
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:572:10: error: parse error in template argument list
_ecm.Each<components::Joint, components::Name>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:573:42: error: reference to ‘components’ is ambiguous
[&](const Entity& _entity, const components::Joint*, const components::Name* _name) {
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:683:11: error: expected ‘{’ before ‘;’ token
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdatePhysics(ignition::gazebo::v2::EntityComponentManager&)’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:683:11: error: expected ‘)’ before ‘;’ token
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:686:10: error: parse error in template argument list
_ecm.Each<components::ExternalWorldWrenchCmd>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:687:42: error: reference to ‘components’ is ambiguous
[&](const Entity& _entity, const components::ExternalWorldWrenchCmd* _wrenchComp) {
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:698:11: error: expected ‘{’ before ‘;’ token
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdatePhysics(ignition::gazebo::v2::EntityComponentManager&)’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:698:11: error: expected ‘)’ before ‘;’ token
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:700:10: error: parse error in template argument list
_ecm.Each<components::Model, components::WorldPoseCmd>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:702:19: error: reference to ‘components’ is ambiguous
const components::Model*,
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:739:11: error: expected ‘{’ before ‘;’ token
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdatePhysics(ignition::gazebo::v2::EntityComponentManager&)’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:739:11: error: expected ‘)’ before ‘;’ token
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:746:10: error: parse error in template argument list
_ecm.Each<components::WorldPoseCmd>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:747:36: error: reference to ‘components’ is ambiguous
[&](const Entity& _entity, components::WorldPoseCmd*) -> bool {
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:750:10: error: no matching function for call to ‘ignition::gazebo::v2::EntityComponentManager::Each<<expression error> >(gympp::plugins::Physics::Impl::UpdatePhysics(ignition::gazebo::v2::EntityComponentManager&)::<lambda(const Entity&, int*)>)’
});
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:330:20: note: candidate: template<class ... ComponentTypeTs> void ignition::gazebo::v2::EntityComponentManager::Each(typename ignition::gazebo::v2::EntityComponentManager::identity<std::function<bool(const long unsigned int&, const ComponentTypeTs* ...)> >::type) const
void Each(typename identity<std::function<
^~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:330:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:750:10: error: template argument 1 is invalid
});
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:347:20: note: candidate: template<class ... ComponentTypeTs> void ignition::gazebo::v2::EntityComponentManager::Each(typename ignition::gazebo::v2::EntityComponentManager::identity<std::function<bool(const long unsigned int&, ComponentTypeTs* ...)> >::type)
void Each(typename identity<std::function<
^~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:347:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:750:10: error: template argument 1 is invalid
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:753:14: error: parse error in template argument list
_ecm.RemoveComponent<components::WorldPoseCmd>(entity);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:753:62: error: no matching function for call to ‘ignition::gazebo::v2::EntityComponentManager::RemoveComponent<<expression error> >(const Entity&)’
_ecm.RemoveComponent<components::WorldPoseCmd>(entity);
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:171:20: note: candidate: template<class ComponentTypeT> bool ignition::gazebo::v2::EntityComponentManager::RemoveComponent(ignition::gazebo::v2::Entity)
bool RemoveComponent(Entity _entity);
^~~~~~~~~~~~~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:171:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:753:62: error: template argument 1 is invalid
_ecm.RemoveComponent<components::WorldPoseCmd>(entity);
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:773:10: error: parse error in template argument list
_ecm.Each<components::Link, components::Pose, components::ParentEntity>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:775:13: error: reference to ‘components’ is ambiguous
components::Link* /*_link*/,
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:776:13: error: reference to ‘components’ is ambiguous
components::Pose* _pose,
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:777:19: error: reference to ‘components’ is ambiguous
const components::ParentEntity* _parent) -> bool {
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:933:11: error: expected ‘{’ before ‘;’ token
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:933:11: error: expected ‘)’ before ‘;’ token
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:945:10: error: parse error in template argument list
_ecm.Each<components::Pose, components::WorldPose, components::ParentEntity>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:947:19: error: reference to ‘components’ is ambiguous
const components::Pose* _pose,
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:960:11: error: expected ‘{’ before ‘;’ token
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:960:11: error: expected ‘)’ before ‘;’ token
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:963:10: error: parse error in template argument list
_ecm.Each<components::Pose, components::WorldLinearVelocity, components::ParentEntity>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:965:19: error: reference to ‘components’ is ambiguous
const components::Pose* _pose,
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:980:11: error: expected ‘{’ before ‘;’ token
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:980:11: error: expected ‘)’ before ‘;’ token
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:983:10: error: parse error in template argument list
_ecm.Each<components::Pose, components::AngularVelocity, components::ParentEntity>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:985:19: error: reference to ‘components’ is ambiguous
const components::Pose* _pose,
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1004:11: error: expected ‘{’ before ‘;’ token
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1004:11: error: expected ‘)’ before ‘;’ token
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1007:10: error: parse error in template argument list
_ecm.Each<components::Pose, components::LinearAcceleration, components::ParentEntity>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1009:19: error: reference to ‘components’ is ambiguous
const components::Pose* _pose,
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1027:11: error: expected ‘{’ before ‘;’ token
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1027:11: error: expected ‘)’ before ‘;’ token
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1030:10: error: parse error in template argument list
_ecm.Each<components::JointPositionReset>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1031:36: error: reference to ‘components’ is ambiguous
[&](const Entity& _entity, components::JointPositionReset*) -> bool {
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1032:18: error: parse error in template argument list
_ecm.RemoveComponent<components::JointPositionReset>(_entity);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1032:73: error: no matching function for call to ‘ignition::gazebo::v2::EntityComponentManager::RemoveComponent<<expression error> >(const Entity&)’
_ecm.RemoveComponent<components::JointPositionReset>(_entity);
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:171:20: note: candidate: template<class ComponentTypeT> bool ignition::gazebo::v2::EntityComponentManager::RemoveComponent(ignition::gazebo::v2::Entity)
bool RemoveComponent(Entity _entity);
^~~~~~~~~~~~~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:171:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1032:73: error: template argument 1 is invalid
_ecm.RemoveComponent<components::JointPositionReset>(_entity);
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1034:10: error: no matching function for call to ‘ignition::gazebo::v2::EntityComponentManager::Each<<expression error> >(gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const::<lambda(const Entity&, int*)>)’
});
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:330:20: note: candidate: template<class ... ComponentTypeTs> void ignition::gazebo::v2::EntityComponentManager::Each(typename ignition::gazebo::v2::EntityComponentManager::identity<std::function<bool(const long unsigned int&, const ComponentTypeTs* ...)> >::type) const
void Each(typename identity<std::function<
^~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:330:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1034:10: error: template argument 1 is invalid
});
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:347:20: note: candidate: template<class ... ComponentTypeTs> void ignition::gazebo::v2::EntityComponentManager::Each(typename ignition::gazebo::v2::EntityComponentManager::identity<std::function<bool(const long unsigned int&, ComponentTypeTs* ...)> >::type)
void Each(typename identity<std::function<
^~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:347:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1034:10: error: template argument 1 is invalid
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1036:10: error: parse error in template argument list
_ecm.Each<components::JointVelocityReset>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1037:36: error: reference to ‘components’ is ambiguous
[&](const Entity& _entity, components::JointVelocityReset*) -> bool {
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1038:18: error: parse error in template argument list
_ecm.RemoveComponent<components::JointVelocityReset>(_entity);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1038:73: error: no matching function for call to ‘ignition::gazebo::v2::EntityComponentManager::RemoveComponent<<expression error> >(const Entity&)’
_ecm.RemoveComponent<components::JointVelocityReset>(_entity);
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:171:20: note: candidate: template<class ComponentTypeT> bool ignition::gazebo::v2::EntityComponentManager::RemoveComponent(ignition::gazebo::v2::Entity)
bool RemoveComponent(Entity _entity);
^~~~~~~~~~~~~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:171:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1038:73: error: template argument 1 is invalid
_ecm.RemoveComponent<components::JointVelocityReset>(_entity);
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1040:10: error: no matching function for call to ‘ignition::gazebo::v2::EntityComponentManager::Each<<expression error> >(gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const::<lambda(const Entity&, int*)>)’
});
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:330:20: note: candidate: template<class ... ComponentTypeTs> void ignition::gazebo::v2::EntityComponentManager::Each(typename ignition::gazebo::v2::EntityComponentManager::identity<std::function<bool(const long unsigned int&, const ComponentTypeTs* ...)> >::type) const
void Each(typename identity<std::function<
^~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:330:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1040:10: error: template argument 1 is invalid
});
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:347:20: note: candidate: template<class ... ComponentTypeTs> void ignition::gazebo::v2::EntityComponentManager::Each(typename ignition::gazebo::v2::EntityComponentManager::identity<std::function<bool(const long unsigned int&, ComponentTypeTs* ...)> >::type)
void Each(typename identity<std::function<
^~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:347:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1040:10: error: template argument 1 is invalid
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1043:10: error: parse error in template argument list
_ecm.Each<components::JointForceCmd>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1044:28: error: reference to ‘components’ is ambiguous
[&](const Entity&, components::JointForceCmd* _force) -> bool {
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1045:31: error: request for member ‘Data’ in ‘* _force’, which is of non-class type ‘int’
std::fill(_force->Data().begin(), _force->Data().end(), 0.0);
^~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1045:55: error: request for member ‘Data’ in ‘* _force’, which is of non-class type ‘int’
std::fill(_force->Data().begin(), _force->Data().end(), 0.0);
^~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1047:10: error: no matching function for call to ‘ignition::gazebo::v2::EntityComponentManager::Each<<expression error> >(gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const::<lambda(const Entity&, int*)>)’
});
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:330:20: note: candidate: template<class ... ComponentTypeTs> void ignition::gazebo::v2::EntityComponentManager::Each(typename ignition::gazebo::v2::EntityComponentManager::identity<std::function<bool(const long unsigned int&, const ComponentTypeTs* ...)> >::type) const
void Each(typename identity<std::function<
^~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:330:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1047:10: error: template argument 1 is invalid
});
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:347:20: note: candidate: template<class ... ComponentTypeTs> void ignition::gazebo::v2::EntityComponentManager::Each(typename ignition::gazebo::v2::EntityComponentManager::identity<std::function<bool(const long unsigned int&, ComponentTypeTs* ...)> >::type)
void Each(typename identity<std::function<
^~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:347:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1047:10: error: template argument 1 is invalid
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1049:10: error: parse error in template argument list
_ecm.Each<components::ExternalWorldWrenchCmd>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1050:28: error: reference to ‘components’ is ambiguous
[&](const Entity&, components::ExternalWorldWrenchCmd* _wrench) -> bool {
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1051:22: error: request for member ‘Data’ in ‘* _wrench’, which is of non-class type ‘int’
_wrench->Data().Clear();
^~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1053:10: error: no matching function for call to ‘ignition::gazebo::v2::EntityComponentManager::Each<<expression error> >(gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const::<lambda(const Entity&, int*)>)’
});
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:330:20: note: candidate: template<class ... ComponentTypeTs> void ignition::gazebo::v2::EntityComponentManager::Each(typename ignition::gazebo::v2::EntityComponentManager::identity<std::function<bool(const long unsigned int&, const ComponentTypeTs* ...)> >::type) const
void Each(typename identity<std::function<
^~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:330:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1053:10: error: template argument 1 is invalid
});
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:347:20: note: candidate: template<class ... ComponentTypeTs> void ignition::gazebo::v2::EntityComponentManager::Each(typename ignition::gazebo::v2::EntityComponentManager::identity<std::function<bool(const long unsigned int&, ComponentTypeTs* ...)> >::type)
void Each(typename identity<std::function<
^~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:347:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1053:10: error: template argument 1 is invalid
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1055:10: error: parse error in template argument list
_ecm.Each<components::JointVelocityCmd>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1056:28: error: reference to ‘components’ is ambiguous
[&](const Entity&, components::JointVelocityCmd* _vel) -> bool {
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1057:29: error: request for member ‘Data’ in ‘* _vel’, which is of non-class type ‘int’
std::fill(_vel->Data().begin(), _vel->Data().end(), 0.0);
^~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1057:51: error: request for member ‘Data’ in ‘* _vel’, which is of non-class type ‘int’
std::fill(_vel->Data().begin(), _vel->Data().end(), 0.0);
^~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1059:10: error: no matching function for call to ‘ignition::gazebo::v2::EntityComponentManager::Each<<expression error> >(gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const::<lambda(const Entity&, int*)>)’
});
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:330:20: note: candidate: template<class ... ComponentTypeTs> void ignition::gazebo::v2::EntityComponentManager::Each(typename ignition::gazebo::v2::EntityComponentManager::identity<std::function<bool(const long unsigned int&, const ComponentTypeTs* ...)> >::type) const
void Each(typename identity<std::function<
^~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:330:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1059:10: error: template argument 1 is invalid
});
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:347:20: note: candidate: template<class ... ComponentTypeTs> void ignition::gazebo::v2::EntityComponentManager::Each(typename ignition::gazebo::v2::EntityComponentManager::identity<std::function<bool(const long unsigned int&, ComponentTypeTs* ...)> >::type)
void Each(typename identity<std::function<
^~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:347:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1059:10: error: template argument 1 is invalid
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1062:10: error: parse error in template argument list
_ecm.Each<components::Joint, components::JointPosition>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1064:13: error: reference to ‘components’ is ambiguous
components::Joint*,
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1065:13: error: reference to ‘components’ is ambiguous
components::JointPosition* _jointPos) -> bool {
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1068:28: error: request for member ‘Data’ in ‘* _jointPos’, which is of non-class type ‘int’
_jointPos->Data().resize(jointIt->second->GetDegreesOfFreedom());
^~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1070:32: error: request for member ‘Data’ in ‘* _jointPos’, which is of non-class type ‘int’
_jointPos->Data()[i] = jointIt->second->GetPosition(i);
^~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1074:10: error: no matching function for call to ‘ignition::gazebo::v2::EntityComponentManager::Each<<expression error> >(gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const::<lambda(const Entity&, int*, int*)>)’
});
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:330:20: note: candidate: template<class ... ComponentTypeTs> void ignition::gazebo::v2::EntityComponentManager::Each(typename ignition::gazebo::v2::EntityComponentManager::identity<std::function<bool(const long unsigned int&, const ComponentTypeTs* ...)> >::type) const
void Each(typename identity<std::function<
^~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:330:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1074:10: error: template argument 1 is invalid
});
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:347:20: note: candidate: template<class ... ComponentTypeTs> void ignition::gazebo::v2::EntityComponentManager::Each(typename ignition::gazebo::v2::EntityComponentManager::identity<std::function<bool(const long unsigned int&, ComponentTypeTs* ...)> >::type)
void Each(typename identity<std::function<
^~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:347:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1074:10: error: template argument 1 is invalid
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1077:10: error: parse error in template argument list
_ecm.Each<components::Joint, components::JointVelocity>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1079:13: error: reference to ‘components’ is ambiguous
components::Joint*,
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1080:13: error: reference to ‘components’ is ambiguous
components::JointVelocity* _jointVel) -> bool {
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1083:28: error: request for member ‘Data’ in ‘* _jointVel’, which is of non-class type ‘int’
_jointVel->Data().resize(jointIt->second->GetDegreesOfFreedom());
^~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1085:32: error: request for member ‘Data’ in ‘* _jointVel’, which is of non-class type ‘int’
_jointVel->Data()[i] = jointIt->second->GetVelocity(i);
^~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1089:10: error: no matching function for call to ‘ignition::gazebo::v2::EntityComponentManager::Each<<expression error> >(gympp::plugins::Physics::Impl::UpdateSim(ignition::gazebo::v2::EntityComponentManager&) const::<lambda(const Entity&, int*, int*)>)’
});
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:330:20: note: candidate: template<class ... ComponentTypeTs> void ignition::gazebo::v2::EntityComponentManager::Each(typename ignition::gazebo::v2::EntityComponentManager::identity<std::function<bool(const long unsigned int&, const ComponentTypeTs* ...)> >::type) const
void Each(typename identity<std::function<
^~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:330:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1089:10: error: template argument 1 is invalid
});
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:347:20: note: candidate: template<class ... ComponentTypeTs> void ignition::gazebo::v2::EntityComponentManager::Each(typename ignition::gazebo::v2::EntityComponentManager::identity<std::function<bool(const long unsigned int&, ComponentTypeTs* ...)> >::type)
void Each(typename identity<std::function<
^~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:347:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1089:10: error: template argument 1 is invalid
});
^
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdateCollisions(ignition::gazebo::v2::EntityComponentManager&) const’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1097:32: error: reference to ‘components’ is ambiguous
if (!_ecm.HasComponentType(components::ContactSensorData::typeId))
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1102:50: error: reference to ‘components’ is ambiguous
Entity worldEntity = _ecm.EntityByComponents(components::World());
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1143:10: error: parse error in template argument list
_ecm.Each<components::Collision, components::ContactSensorData>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1145:13: error: reference to ‘components’ is ambiguous
components::Collision*,
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1146:13: error: reference to ‘components’ is ambiguous
components::ContactSensorData* _contacts) -> bool {
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In lambda function:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1149:30: error: reference to ‘components’ is ambiguous
*_contacts = components::ContactSensorData();
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1168:26: error: reference to ‘components’ is ambiguous
*_contacts = components::ContactSensorData(contactsComp);
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:110:52: note: candidates are: namespace components = ignition::gazebo::v2::ignition::gazebo::v2::components;
namespace components = ignition::gazebo::components;
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:35:0,
from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/Entity.hh:44:15: note: namespace ignition::gazebo::v2::components { }
namespace components {}
^~~~~~~~~~
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp: In member function ‘void gympp::plugins::Physics::Impl::UpdateCollisions(ignition::gazebo::v2::EntityComponentManager&) const’:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1171:10: error: no matching function for call to ‘ignition::gazebo::v2::EntityComponentManager::Each<<expression error> >(gympp::plugins::Physics::Impl::UpdateCollisions(ignition::gazebo::v2::EntityComponentManager&) const::<lambda(const Entity&, int*, int*)>)’
});
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:330:20: note: candidate: template<class ... ComponentTypeTs> void ignition::gazebo::v2::EntityComponentManager::Each(typename ignition::gazebo::v2::EntityComponentManager::identity<std::function<bool(const long unsigned int&, const ComponentTypeTs* ...)> >::type) const
void Each(typename identity<std::function<
^~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:330:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1171:10: error: template argument 1 is invalid
});
^
In file included from /usr/include/ignition/gazebo2/ignition/gazebo/System.hh:23:0,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.h:29,
from /home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:26:
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:347:20: note: candidate: template<class ... ComponentTypeTs> void ignition::gazebo::v2::EntityComponentManager::Each(typename ignition::gazebo::v2::EntityComponentManager::identity<std::function<bool(const long unsigned int&, ComponentTypeTs* ...)> >::type)
void Each(typename identity<std::function<
^~~~
/usr/include/ignition/gazebo2/ignition/gazebo/EntityComponentManager.hh:347:20: note: template argument deduction/substitution failed:
/home/kammo/repos/gym-ignition/plugins/Physics/Physics.cpp:1171:10: error: template argument 1 is invalid
});
^
plugins/Physics/CMakeFiles/PhysicsSystem.dir/build.make:62: recipe for target 'plugins/Physics/CMakeFiles/PhysicsSystem.dir/Physics.cpp.o' failed
make[2]: *** [plugins/Physics/CMakeFiles/PhysicsSystem.dir/Physics.cpp.o] Error 1
CMakeFiles/Makefile2:503: recipe for target 'plugins/Physics/CMakeFiles/PhysicsSystem.dir/all' failed
make[1]: *** [plugins/Physics/CMakeFiles/PhysicsSystem.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2