Closed sachininder10 closed 5 years ago
If compiling with melodic, please use the tf2 branch
Hey David,
I tried compiling with the tf2 branch but now the locomotor package gives the same error.
Errors << locomotor:make /home/inderjeet/Projects/ros_ws/logs/locomotor/build.make.000.log
/home/inderjeet/Projects/ros_ws/src/robot_navigation/locomotor/src/locomotor.cpp: In constructor ‘locomotor::Locomotor::Locomotor(const ros::NodeHandle&)’:
/home/inderjeet/Projects/ros_ws/src/robotnavigation/locomotor/src/locomotor.cpp:58:30: error: ‘TransformListener’ is not a member of ‘tf’
tf = std::make_shared~~~~
/home/inderjeet/Projects/ros_ws/src/robotnavigation/locomotor/src/locomotor.cpp:58:30: note: suggested alternative: ‘TransformLists’
tf = std::make_shared~~~~
TransformLists
/home/inderjeet/Projects/ros_ws/src/robot_navigation/locomotor/src/locomotor.cpp:58:30: error: ‘TransformListener’ is not a member of ‘tf’
/home/inderjeet/Projects/ros_ws/src/robotnavigation/locomotor/src/locomotor.cpp:58:30: note: suggested alternative: ‘TransformLists’
tf = std::make_shared
Somehow I missed that in the initial translation. The good news is that I already fixed it here: https://github.com/locusrobotics/robot_navigation/commit/3115795eea94a78cae3165cc2533593770666243
Please pull the latest version of the code.
Hi DLu, I'm still having the same issue ...
Hi @sheikspeare - Please post your rosdistro and what branch of the code is checked out on your machine.