Skip to content

Build Failure #4

@ghost

Description

msg.position.push_back(joint->Position(0));

While trying to build package using 'catkin build', it is failing at this line of the code and shows the following error:

/home/vignesh/catkin_ws/src/dvrk_env/dvrk_gazebo/src/control_plugin.cpp: In member function ‘void dvrk_gazebo::ControlPlugin::PublishStates()’:
/home/vignesh/catkin_ws/src/dvrk_env/dvrk_gazebo/src/control_plugin.cpp:150:35: error: ‘class gazebo::physics::Joint’ has no member named ‘Position’
msg.position.push_back(joint->Position(0));

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