You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an error while following this instruction from README for visual tools:
In your class' constructor add: visual_tools_.reset(new rviz_visual_tools::RvizVisualTools("base_frame","/rviz_visual_markers"));
Change the first parameter to the name of your robot's base frame
After looking into the ros_param.yaml file line: robot_base_frame: base_link ;
I changed base_frame to base_link
I get an error in CMakeFiles:
CMakeFiles/listener.dir/src/listener.cpp.o: In function main': listener.cpp:(.text+0x16fe): undefined reference torviz_visual_tools::RvizVisualTools::RvizVisualTools(std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator >, std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator >, ros::NodeHandle)' collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered:
Do you mind sharing more info .? are you building rvt from source or are you using Debians ? which ros version are you using .?
The error you're having is a linking error which means you're including a header file but not linking the shared library against your executable, do you mind sharing your CMakeLists file .?
Hello @JafarAbdi
I am using ros melodic.
I am fairly new to ROS. I am not sure I understand the difference between using src or Debian to build it.
But I am pretty sure I have not used Debian in any of my commands.
I get an error while following this instruction from README for visual tools:
In your class' constructor add: visual_tools_.reset(new rviz_visual_tools::RvizVisualTools("base_frame","/rviz_visual_markers"));
Change the first parameter to the name of your robot's base frame
After looking into the ros_param.yaml file line: robot_base_frame: base_link ;
I changed base_frame to base_link
I get an error in CMakeFiles:
CMakeFiles/listener.dir/src/listener.cpp.o: In function main': listener.cpp:(.text+0x16fe): undefined reference torviz_visual_tools::RvizVisualTools::RvizVisualTools(std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator >, std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator >, ros::NodeHandle)' collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered: