Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@davetcoleman
Created August 22, 2013 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davetcoleman/6309167 to your computer and use it in GitHub Desktop.
Save davetcoleman/6309167 to your computer and use it in GitHub Desktop.
Trajectory Controller Compile Errors 64bit
Building CXX object ros_controllers/joint_trajectory_controller/CMakeFiles/joint_trajectory_controller.dir/src/joint_trajectory_controller.cpp.o
[ 98%] Built target rrbot
[100%] Built target main_control
In file included from /home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_controller.h:73:0,
from /home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/src/joint_trajectory_controller.cpp:34:
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/init_joint_trajectory.h: In function ‘Trajectory joint_trajectory_controller::initJointTrajectory(const JointTrajectory&, const ros::Time&, const joint_trajectory_controller::InitJointTrajectoryOptions<Trajectory>&) [with Trajectory = std::vector<joint_trajectory_controller::JointTrajectorySegment<trajectory_interface::QuinticSplineSegment<double> >, std::allocator<joint_trajectory_controller::JointTrajectorySegment<trajectory_interface::QuinticSplineSegment<double> > > >, trajectory_msgs::JointTrajectory = trajectory_msgs::JointTrajectory_<std::allocator<void> >]’:
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_controller_impl.h:465:5: instantiated from ‘bool joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::updateTrajectoryCommand(const JointTrajectoryConstPtr&, joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::RealtimeGoalHandlePtr) [with SegmentImpl = trajectory_interface::QuinticSplineSegment<double>, HardwareInterface = hardware_interface::PositionJointInterface, joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::JointTrajectoryConstPtr = boost::shared_ptr<const trajectory_msgs::JointTrajectory_<std::allocator<void> > >, joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::RealtimeGoalHandlePtr = boost::shared_ptr<realtime_tools::RealtimeServerGoalHandle<control_msgs::FollowJointTrajectoryAction_<std::allocator<void> > > >]’
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_controller_impl.h:158:78: instantiated from ‘void joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::trajectoryCommandCB(const JointTrajectoryConstPtr&) [with SegmentImpl = trajectory_interface::QuinticSplineSegment<double>, HardwareInterface = hardware_interface::PositionJointInterface, joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::JointTrajectoryConstPtr = boost::shared_ptr<const trajectory_msgs::JointTrajectory_<std::allocator<void> > >]’
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_controller_impl.h:312:3: instantiated from ‘bool joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::init(hardware_interface::PositionJointInterface*, ros::NodeHandle&, ros::NodeHandle&) [with SegmentImpl = trajectory_interface::QuinticSplineSegment<double>, HardwareInterface = hardware_interface::PositionJointInterface]’
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/src/joint_trajectory_controller.cpp:59:1: instantiated from here
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/init_joint_trajectory.h:302:68: error: no matching function for call to ‘joint_trajectory_controller::JointTrajectorySegment<trajectory_interface::QuinticSplineSegment<double> >::State::State(const trajectory_msgs::JointTrajectoryPoint_<std::allocator<void> >&, std::vector<long unsigned int>&)’
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/init_joint_trajectory.h:302:68: note: candidates are:
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:104:5: note: joint_trajectory_controller::JointTrajectorySegment<Segment>::State::State(const JointTrajectoryPoint&, const std::vector<unsigned int>&, const std::vector<typename Segment::State::Scalar>&) [with Segment = trajectory_interface::QuinticSplineSegment<double>, trajectory_msgs::JointTrajectoryPoint = trajectory_msgs::JointTrajectoryPoint_<std::allocator<void> >, typename Segment::State::Scalar = double]
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:104:5: note: no known conversion for argument 2 from ‘std::vector<long unsigned int>’ to ‘const std::vector<unsigned int>&’
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:83:5: note: joint_trajectory_controller::JointTrajectorySegment<Segment>::State::State(unsigned int) [with Segment = trajectory_interface::QuinticSplineSegment<double>]
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:83:5: note: candidate expects 1 argument, 2 provided
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:82:5: note: joint_trajectory_controller::JointTrajectorySegment<Segment>::State::State() [with Segment = trajectory_interface::QuinticSplineSegment<double>]
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:82:5: note: candidate expects 0 arguments, 2 provided
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:79:10: note: joint_trajectory_controller::JointTrajectorySegment<trajectory_interface::QuinticSplineSegment<double> >::State::State(const joint_trajectory_controller::JointTrajectorySegment<trajectory_interface::QuinticSplineSegment<double> >::State&)
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:79:10: note: candidate expects 1 argument, 2 provided
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_controller_impl.h:465:5: instantiated from ‘bool joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::updateTrajectoryCommand(const JointTrajectoryConstPtr&, joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::RealtimeGoalHandlePtr) [with SegmentImpl = trajectory_interface::QuinticSplineSegment<double>, HardwareInterface = hardware_interface::PositionJointInterface, joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::JointTrajectoryConstPtr = boost::shared_ptr<const trajectory_msgs::JointTrajectory_<std::allocator<void> > >, joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::RealtimeGoalHandlePtr = boost::shared_ptr<realtime_tools::RealtimeServerGoalHandle<control_msgs::FollowJointTrajectoryAction_<std::allocator<void> > > >]’
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_controller_impl.h:158:78: instantiated from ‘void joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::trajectoryCommandCB(const JointTrajectoryConstPtr&) [with SegmentImpl = trajectory_interface::QuinticSplineSegment<double>, HardwareInterface = hardware_interface::PositionJointInterface, joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::JointTrajectoryConstPtr = boost::shared_ptr<const trajectory_msgs::JointTrajectory_<std::allocator<void> > >]’
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_controller_impl.h:312:3: instantiated from ‘bool joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::init(hardware_interface::PositionJointInterface*, ros::NodeHandle&, ros::NodeHandle&) [with SegmentImpl = trajectory_interface::QuinticSplineSegment<double>, HardwareInterface = hardware_interface::PositionJointInterface]’
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/src/joint_trajectory_controller.cpp:59:1: instantiated from here
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/init_joint_trajectory.h:319:5: error: no matching function for call to ‘joint_trajectory_controller::JointTrajectorySegment<trajectory_interface::QuinticSplineSegment<double> >::State::State(const trajectory_msgs::JointTrajectoryPoint_<std::allocator<void> >&, std::vector<long unsigned int>&, std::vector<double>&)’
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/init_joint_trajectory.h:319:5: note: candidates are:
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:104:5: note: joint_trajectory_controller::JointTrajectorySegment<Segment>::State::State(const JointTrajectoryPoint&, const std::vector<unsigned int>&, const std::vector<typename Segment::State::Scalar>&) [with Segment = trajectory_interface::QuinticSplineSegment<double>, trajectory_msgs::JointTrajectoryPoint = trajectory_msgs::JointTrajectoryPoint_<std::allocator<void> >, typename Segment::State::Scalar = double]
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:104:5: note: no known conversion for argument 2 from ‘std::vector<long unsigned int>’ to ‘const std::vector<unsigned int>&’
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:83:5: note: joint_trajectory_controller::JointTrajectorySegment<Segment>::State::State(unsigned int) [with Segment = trajectory_interface::QuinticSplineSegment<double>]
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:83:5: note: candidate expects 1 argument, 3 provided
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:82:5: note: joint_trajectory_controller::JointTrajectorySegment<Segment>::State::State() [with Segment = trajectory_interface::QuinticSplineSegment<double>]
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:82:5: note: candidate expects 0 arguments, 3 provided
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:79:10: note: joint_trajectory_controller::JointTrajectorySegment<trajectory_interface::QuinticSplineSegment<double> >::State::State(const joint_trajectory_controller::JointTrajectorySegment<trajectory_interface::QuinticSplineSegment<double> >::State&)
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:79:10: note: candidate expects 1 argument, 3 provided
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_controller_impl.h:465:5: instantiated from ‘bool joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::updateTrajectoryCommand(const JointTrajectoryConstPtr&, joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::RealtimeGoalHandlePtr) [with SegmentImpl = trajectory_interface::QuinticSplineSegment<double>, HardwareInterface = hardware_interface::PositionJointInterface, joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::JointTrajectoryConstPtr = boost::shared_ptr<const trajectory_msgs::JointTrajectory_<std::allocator<void> > >, joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::RealtimeGoalHandlePtr = boost::shared_ptr<realtime_tools::RealtimeServerGoalHandle<control_msgs::FollowJointTrajectoryAction_<std::allocator<void> > > >]’
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_controller_impl.h:158:78: instantiated from ‘void joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::trajectoryCommandCB(const JointTrajectoryConstPtr&) [with SegmentImpl = trajectory_interface::QuinticSplineSegment<double>, HardwareInterface = hardware_interface::PositionJointInterface, joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::JointTrajectoryConstPtr = boost::shared_ptr<const trajectory_msgs::JointTrajectory_<std::allocator<void> > >]’
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_controller_impl.h:312:3: instantiated from ‘bool joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>::init(hardware_interface::PositionJointInterface*, ros::NodeHandle&, ros::NodeHandle&) [with SegmentImpl = trajectory_interface::QuinticSplineSegment<double>, HardwareInterface = hardware_interface::PositionJointInterface]’
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/src/joint_trajectory_controller.cpp:59:1: instantiated from here
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/init_joint_trajectory.h:352:89: error: no matching function for call to ‘joint_trajectory_controller::JointTrajectorySegment<trajectory_interface::QuinticSplineSegment<double> >::JointTrajectorySegment(ros::Time&, const trajectory_msgs::JointTrajectoryPoint_<std::allocator<void> >&, const trajectory_msgs::JointTrajectoryPoint_<std::allocator<void> >&, std::vector<long unsigned int>&, std::vector<double>&)’
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/init_joint_trajectory.h:352:89: note: candidates are:
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:191:3: note: joint_trajectory_controller::JointTrajectorySegment<Segment>::JointTrajectorySegment(const ros::Time&, const JointTrajectoryPoint&, const JointTrajectoryPoint&, const std::vector<unsigned int>&, const std::vector<typename Segment::Scalar>&) [with Segment = trajectory_interface::QuinticSplineSegment<double>, trajectory_msgs::JointTrajectoryPoint = trajectory_msgs::JointTrajectoryPoint_<std::allocator<void> >, typename Segment::Scalar = double]
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:191:3: note: no known conversion for argument 4 from ‘std::vector<long unsigned int>’ to ‘const std::vector<unsigned int>&’
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:169:3: note: joint_trajectory_controller::JointTrajectorySegment<Segment>::JointTrajectorySegment(const Time&, const joint_trajectory_controller::JointTrajectorySegment<Segment>::State&, const Time&, const joint_trajectory_controller::JointTrajectorySegment<Segment>::State&) [with Segment = trajectory_interface::QuinticSplineSegment<double>, joint_trajectory_controller::JointTrajectorySegment<Segment>::Time = double]
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:169:3: note: candidate expects 4 arguments, 5 provided
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:70:7: note: joint_trajectory_controller::JointTrajectorySegment<trajectory_interface::QuinticSplineSegment<double> >::JointTrajectorySegment(const joint_trajectory_controller::JointTrajectorySegment<trajectory_interface::QuinticSplineSegment<double> >&)
/home/dave/ros/ws_gazebo/src/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_segment.h:70:7: note: candidate expects 1 argument, 5 provided
make[2]: *** [ros_controllers/joint_trajectory_controller/CMakeFiles/joint_trajectory_controller.dir/src/joint_trajectory_controller.cpp.o] Error 1
make[1]: *** [ros_controllers/joint_trajectory_controller/CMakeFiles/joint_trajectory_controller.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX shared library /home/dave/ros/ws_gazebo/devel/lib/libgazebo_ros_camera.so
[100%] Built target gazebo_ros_camera
Linking CXX shared library /home/dave/ros/ws_gazebo/devel/lib/libgazebo_ros_prosilica.so
Linking CXX shared library /home/dave/ros/ws_gazebo/devel/lib/libgazebo_ros_multicamera.so
[100%] Built target gazebo_ros_prosilica
[100%] Built target gazebo_ros_multicamera
Linking CXX shared library /home/dave/ros/ws_gazebo/devel/lib/libgazebo_ros_depth_camera.so
[100%] Built target gazebo_ros_depth_camera
Linking CXX shared library /home/dave/ros/ws_gazebo/devel/lib/libgazebo_ros_openni_kinect.so
[100%] Built target gazebo_ros_openni_kinect
make: *** [all] Error 2
Invoking "make" failed
Compilation exited abnormally with code 1 at Thu Aug 22 08:55:15
@adolfo-rt
Copy link

I was just on my way out, so I'll fix it tomorrow. It's more of the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment