linyicheng1 / teb_local_planner

teb local planner without ros, teb 局部路径规划算法,非ROS
81 stars 32 forks source link

error: ‘ROS_DEPRECATED’ #6

Open yys130826 opened 2 years ago

yys130826 commented 2 years ago

error: ‘ROS_DEPRECATED’ does not name a type; did you mean ‘DEPRECATED’? ROS_DEPRECATED bool initTEBtoGoal(const PoseSE2& start, const PoseSE2& goal, double diststep=0, double timestep=1, int min_samples = 3, bool guess_backwards_motion = false) ^~~~~~ DEPRECATED /home/xxx/temp/teb_local_planner-master/src/../inc/../inc/timed_elastic_band.h:389:9: error: ‘ROS_DEPRECATED’ does not name a type; did you mean ‘DEPRECATED’? ROS_DEPRECATED bool initTEBtoGoal(BidirIter path_start, BidirIter path_end, Fun fun_position, double max_vel_x, double max_vel_theta, ^~~~~~ DEPRECATED /home/xxx/temp/teb_local_planner-master/src/../inc/../inc/timed_elastic_band.h:397:9: error: ‘ROS_DEPRECATED’ does not name a type; did you mean ‘__DEPRECATED’? ROS_DEPRECATED bool initTEBtoGoal(const std::vector& plan, double dt, bool estimate_orient=false, int min_samples = 3, bool guess_backwards_motion = false) ^~~~~~ __DEPRECATED

不好意思,又遇到问题了,请问这个应该怎么解决呢?

charon-cheung commented 3 weeks ago

删了ROS_DEPRECATED 就行