Skip to content

Move command not working as explained #58

@ahar

Description

@ahar

I want P3-DX to move 2000mm in forward direction. So, within rosaria.cpp in the following function I added one extra line within cmdvel_cb callback.

ArRobot robot;
void RosAriaNode::cmdvel_cb( const geometry_msgs::TwistConstPtr &msg)
{
robot->move(2000);
}

But the robot does not move in the same speed for 2000mm. Instead it moves much faster than commanded velocity and does not stop after 2000m. Can anybody point out the mistake that I am making?

thanks,

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