Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catkin_make error #1

Open
WwYyFan opened this issue Dec 24, 2018 · 0 comments
Open

catkin_make error #1

WwYyFan opened this issue Dec 24, 2018 · 0 comments

Comments

@WwYyFan
Copy link

WwYyFan commented Dec 24, 2018

I have encountered this problem,how to fix it?

/home/efun/work/glqs_origin/chess_ws/src/constrained_path_generator/src/constrained_path_generator_node.cpp: In member function ‘std::pair<trajectory_msgs::JointTrajectory_<std::allo
cator<void> >, moveit_msgs::MoveItErrorCodes_<std::allocator<void> > > ConstrainedPathGenerator::AttemptIKCartesianPath(const RobotState&, const std::vector<geometry_msgs::PoseStampe
d_<std::allocator<void> >, std::allocator<geometry_msgs::PoseStamped_<std::allocator<void> > > >&, const string&, const string&, double, double, bool)’:
/home/efun/work/glqs_origin/chess_ws/src/constrained_path_generator/src/constrained_path_generator_node.cpp:455:103: error: ‘double robot_trajectory::RobotTrajectory::getWaypointDura
tionFromStart(std::size_t) const’ is deprecated [-Werror=deprecated-declarations]
                 traj_point.time_from_start = ros::Duration(robot_traj.getWaypointDurationFromStart(idx));

/home/efun/work/glqs_origin/chess_ws/src/constrained_path_generator/src/constrained_path_generator_node.cpp: In member function ‘std::pair<trajectory_msgs::JointTrajectory_<std::allo
cator<void> >, moveit_msgs::MoveItErrorCodes_<std::allocator<void> > > ConstrainedPathGenerator::AttemptPlannedCartesianPath(const RobotState&, const std::vector<geometry_msgs::PoseS
tamped_<std::allocator<void> >, std::allocator<geometry_msgs::PoseStamped_<std::allocator<void> > > >&, const string&, const string&, const Vector3&, const Vector3&, const Vector3&,
const Vector3&, const Quaternion&, double, bool, bool)’:
/home/efun/work/glqs_origin/chess_ws/src/constrained_path_generator/src/constrained_path_generator_node.cpp:586:118: error: ‘double robot_trajectory::RobotTrajectory::getWaypointDura
tionFromStart(std::size_t) const’ is deprecated [-Werror=deprecated-declarations]
                 traj_point.time_from_start = ros::Duration(planning_res.trajectory_->getWaypointDurationFromStart(idx));
                                                                                                                      ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant