Skip to content

in rosaria the pos.getTh() the data from encoder or gyro; #55

@DavidHan008

Description

@DavidHan008

ROSAriacpp
ArPose pos;
robot = new ArRobot();
pos = robot->getPose();
tf::poseTFToMsg(tf::Transform(tf::createQuaternionFromYaw(pos.getTh()*M_PI/180), tf::Vector3(pos.getX()/1000,
pos.getY()/1000, 0)), position.pose.pose); //Aria returns pose in mm.

pos.getTh() the data from encoder or gyro;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions