Comments (7)
Hi,
the packages have only been tested with ROS Indigo and Jade, I was going to adjust them for Kinetic but I doubt I'll get around to it before Christmas, as I'm crazy busy at the moment.
The above compiler error means you need to add -std=c++11 to your compiler flags, you can do this with
add_definitions(-std=c++11)
in the CMakeLists.txt.
There may be other errors following in Kinetic though, as I said, I haven't gotten around to test it yet...
Jennifer
from gazebo-pkgs.
Thank you for your answer, I fixed it.
Now i have a problem with the joint_control_pkgs that returns me this error. I think that there's a problem related with some libraries of Gazebo 7.
[ 86%] Building CXX object joint-control-pkgs/gazebo_joint_control/CMakeFiles/gazebo_joint_control.dir/src/JointController.cpp.o
[ 86%] Building CXX object joint-control-pkgs/gazebo_joint_control/CMakeFiles/gazebo_joint_state_publisher.dir/src/GazeboJointStatePublisher.cpp.o
In file included from /usr/include/gazebo-7/gazebo/transport/TopicManager.hh:30:0,
from /usr/include/gazebo-7/gazebo/transport/Node.hh:30,
from /home/username/catkin_ws/src/joint-control-pkgs/gazebo_joint_control/include/gazebo_joint_control/JointController.h:31,
from /home/username/catkin_ws/src/joint-control-pkgs/gazebo_joint_control/src/JointController.cpp:23:
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:24:37: fatal error: ignition/math/Inertial.hh: No such file or directory
compilation terminated.
joint-control-pkgs/gazebo_joint_control/CMakeFiles/gazebo_joint_control.dir/build.make:62: recipe for target 'joint-control-pkgs/gazebo_joint_control/CMakeFiles/gazebo_joint_control.dir/src/JointController.cpp.o' failed
make[2]: *** [joint-control-pkgs/gazebo_joint_control/CMakeFiles/gazebo_joint_control.dir/src/JointController.cpp.o] Error 1
CMakeFiles/Makefile2:8101: recipe for target 'joint-control-pkgs/gazebo_joint_control/CMakeFiles/gazebo_joint_control.dir/all' failed
make[1]: *** [joint-control-pkgs/gazebo_joint_control/CMakeFiles/gazebo_joint_control.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from /usr/include/gazebo-7/gazebo/physics/Entity.hh:30:0,
from /usr/include/gazebo-7/gazebo/physics/Model.hh:34,
from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
from /home/username/catkin_ws/src/joint-control-pkgs/gazebo_joint_control/include/gazebo_joint_control/GazeboJointStatePublisher.h:27,
from /home/username/catkin_ws/src/joint-control-pkgs/gazebo_joint_control/src/GazeboJointStatePublisher.cpp:22:
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:24:37: fatal error: ignition/math/Inertial.hh: No such file or directory
compilation terminated.
joint-control-pkgs/gazebo_joint_control/CMakeFiles/gazebo_joint_state_publisher.dir/build.make:62: recipe for target 'joint-control-pkgs/gazebo_joint_control/CMakeFiles/gazebo_joint_state_publisher.dir/src/GazeboJointStatePublisher.cpp.o' failed
make[2]: *** [joint-control-pkgs/gazebo_joint_control/CMakeFiles/gazebo_joint_state_publisher.dir/src/GazeboJointStatePublisher.cpp.o] Error 1
CMakeFiles/Makefile2:8564: recipe for target 'joint-control-pkgs/gazebo_joint_control/CMakeFiles/gazebo_joint_state_publisher.dir/all' failed
make[1]: *** [joint-control-pkgs/gazebo_joint_control/CMakeFiles/gazebo_joint_state_publisher.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j2 -l2" failed
from gazebo-pkgs.
When you do a
locate Inertial.hh
what does it say. I guess you didn't compile Gazebo 7 from source?
If you haven't, try to install the ignition math development packages, though you should already have them... see what locate says.
Jenny
from gazebo-pkgs.
Hi,
I had the same error as nikki91 and fixed it with add_definitions(-std=c++11
). However now I am getting the following error:
[ 91%] Built target fake_object_recognizer_node
In file included from /usr/include/boost/bind.hpp:22:0,
from /opt/ros/kinetic/include/ros/publisher.h:35,
from /opt/ros/kinetic/include/ros/node_handle.h:32,
from /opt/ros/kinetic/include/ros/ros.h:45,
from /home/username/catkin_ws/src/joint-control-pkgs/joint_trajectory_execution/include/joint_trajectory_execution/TrajectoryActionServer.h:27,
from /home/username/catkin_ws/src/joint-control-pkgs/joint_trajectory_execution/src/TrajectoryActionServer.cpp:19:
/usr/include/boost/bind/bind.hpp: In instantiation of ‘void boost::_bi::list2<A1, A2>::operator()(boost::_bi::type<void>, F&, A&, int) [with F = boost::_mfi::mf1<void, joint_trajectory_execution::TrajectoryActionServer, actionlib::ServerGoalHandle<control_msgs::FollowJointTrajectoryAction_<std::allocator<void> > >&>; A = boost::_bi::list1<const actionlib::ServerGoalHandle<control_msgs::FollowJointTrajectoryAction_<std::allocator<void> > >&>; A1 = boost::_bi::value<joint_trajectory_execution::TrajectoryActionServer*>; A2 = boost::arg<1>]’:
/usr/include/boost/bind/bind.hpp:905:50: required from ‘boost::_bi::bind_t<R, F, L>::result_type boost::_bi::bind_t<R, F, L>::operator()(A1&&) [with A1 = actionlib::ServerGoalHandle<control_msgs::FollowJointTrajectoryAction_<std::allocator<void> > >; R = void; F = boost::_mfi::mf1<void, joint_trajectory_execution::TrajectoryActionServer, actionlib::ServerGoalHandle<control_msgs::FollowJointTrajectoryAction_<std::allocator<void> > >&>; L = boost::_bi::list2<boost::_bi::value<joint_trajectory_execution::TrajectoryActionServer*>, boost::arg<1> >; boost::_bi::bind_t<R, F, L>::result_type = void]’
/usr/include/boost/function/function_template.hpp:159:11: required from ‘static void boost::detail::function::void_function_obj_invoker1<FunctionObj, R, T0>::invoke(boost::detail::function::function_buffer&, T0) [with FunctionObj = boost::_bi::bind_t<void, boost::_mfi::mf1<void, joint_trajectory_execution::TrajectoryActionServer, actionlib::ServerGoalHandle<control_msgs::FollowJointTrajectoryAction_<std::allocator<void> > >&>, boost::_bi::list2<boost::_bi::value<joint_trajectory_execution::TrajectoryActionServer*>, boost::arg<1> > >; R = void; T0 = actionlib::ServerGoalHandle<control_msgs::FollowJointTrajectoryAction_<std::allocator<void> > >]’
/usr/include/boost/function/function_template.hpp:940:38: required from ‘void boost::function1<R, T1>::assign_to(Functor) [with Functor = boost::_bi::bind_t<void, boost::_mfi::mf1<void, joint_trajectory_execution::TrajectoryActionServer, actionlib::ServerGoalHandle<control_msgs::FollowJointTrajectoryAction_<std::allocator<void> > >&>, boost::_bi::list2<boost::_bi::value<joint_trajectory_execution::TrajectoryActionServer*>, boost::arg<1> > >; R = void; T0 = actionlib::ServerGoalHandle<control_msgs::FollowJointTrajectoryAction_<std::allocator<void> > >]’
/usr/include/boost/function/function_template.hpp:728:7: required from ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = boost::_bi::bind_t<void, boost::_mfi::mf1<void, joint_trajectory_execution::TrajectoryActionServer, actionlib::ServerGoalHandle<control_msgs::FollowJointTrajectoryAction_<std::allocator<void> > >&>, boost::_bi::list2<boost::_bi::value<joint_trajectory_execution::TrajectoryActionServer*>, boost::arg<1> > >; R = void; T0 = actionlib::ServerGoalHandle<control_msgs::FollowJointTrajectoryAction_<std::allocator<void> > >; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/usr/include/boost/function/function_template.hpp:1077:16: required from ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = boost::_bi::bind_t<void, boost::_mfi::mf1<void, joint_trajectory_execution::TrajectoryActionServer, actionlib::ServerGoalHandle<control_msgs::FollowJointTrajectoryAction_<std::allocator<void> > >&>, boost::_bi::list2<boost::_bi::value<joint_trajectory_execution::TrajectoryActionServer*>, boost::arg<1> > >; R = void; T0 = actionlib::ServerGoalHandle<control_msgs::FollowJointTrajectoryAction_<std::allocator<void> > >; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/username/catkin_ws/src/joint-control-pkgs/joint_trajectory_execution/src/TrajectoryActionServer.cpp:270:46: required from here
/usr/include/boost/bind/bind.hpp:313:35: error: no match for call to ‘(boost::_mfi::mf1<void, joint_trajectory_execution::TrajectoryActionServer, actionlib::ServerGoalHandle<control_msgs::FollowJointTrajectoryAction_<std::allocator<void> > >&>) (joint_trajectory_execution::TrajectoryActionServer*&, const actionlib::ServerGoalHandle<control_msgs::FollowJointTrajectoryAction_<std::allocator<void> > >&)’
unwrapper<F>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_]);
I am using ROS kinetic and Gazebo 7. What can I do?
Thanks!
from gazebo-pkgs.
Hi,
did you pull and compile the version of joint-control-pkgs in the last 2 weeks, or do you have an older version?
Cheers
Jenny
from gazebo-pkgs.
Hi,
Thanks for the reply! I removed the packages and cloned them again and it compiled now.
Thanks!
from gazebo-pkgs.
Great :)
from gazebo-pkgs.
Related Issues (20)
- Use gazebo_grasp_plugin but still cant grasp cube HOT 11
- Not able to attach a custom object to kinova arm using grasp plugin HOT 5
- Can't attach object using robotiq 140 gripper HOT 7
- Plugin is not loading HOT 5
- GazeboGraspGripper: Palm link ee_link not found. The gazebo grasp plugin will not work HOT 4
- Ground Collision HOT 1
- Gazebo Visualization HOT 1
- ROS2 version for gazebo_grasp_plugin HOT 4
- Can't attach object using dh_robotics_ag95_gripper.Object slips away when grasping. HOT 10
- the object does not get between the grippers. HOT 1
- Unable to pick object properly by open manipulator arm in gazebo ROS2 HOT 12
- Grasp Plugin for ROS2 HOT 4
- The problem of objects penetrating each other after the gripper clamps the object HOT 5
- <disable_collisions_on_attach>true</disable_collisions_on_attach>, Where does changing this parameter affect the <self_collide> HOT 4
- Gripper penetrates object in Gazebo,why? HOT 5
- gazebo_version_helpers failed to build HOT 3
- Palm link gripper_link not found. The gazebo grasp plugin will not work. HOT 1
- When only one side of the gripper contacts an object, it cannot grab it. HOT 1
- Update on humble branch HOT 9
- Hi JenniferBuehler, I met a strange problem.I can't pick up objects
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gazebo-pkgs.