Skip to content

using reset to change the robot base frame #207

@SantoshiK-skulk

Description

@SantoshiK-skulk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions