Convert position types

The class Pose contains the 6 coordinates of a cartesian position : 3 translations X, Y, Z in millimeters and 3 rotation RX, RY, RZ in radians. It also contains 3 rotations properties that exposes the 3 rotations in degrees, but it's not a storage, only a conversion of RX, RY and RZ.

The methods FromRotationVectorToRPY() and FromRPYToRotationVector() transform the position in a new position with same translations X, Y, Z but different rotations.

A Pose instance can be returned in a XML-RPC answer. It will be interpreted as a robot pose.

Members of Pose :
public class Pose {
// Create a new pose with null coordinates
public Pose(),
// Creates a new pose with translation informations and null rotations
public Pose(double x, double y, double z),
// Creates a new pose with translations and rotations information
public Pose(double x, double y, double z, double rx, double ry, double rz),
// Consider this pose as a Rotation Vector And convert it to a new RPY position
public Pose FromRotationVectorToRPY(),
// Consider this pose as RPY And convert it to a new Rotation Vector
public Pose FromRPYToRotationVector(),
// RX rotation in radians
public double Rx,
// RX rotation in degrees
public double RxDegrees { get; set; },
// RY rotation in radians
public double Ry,
// RY rotation in degrees
public double RyDegrees { get; set; },
// RZ rotation in radians
public double Rz,
// RZ rotation in degrees
public double RzDegrees { get; set; },
public override string ToString(),
// X coordinate in mm
public double X,
// X coordinate in mm
public double Y,
// X coordinate in mm
public double Z
}
Logo

UnderAutomation
66 Avenue des Champs-Elysées
75008 Paris
FRANCE

© 2021 UnderAutomation - UnderAutomation通用机器人.NET通信SDK(软件开发工具包)提供了创建定制的.NET核心、.NET框架和.NET标准应用程序的能力,可以与每个UR机器人通信。提供了可用于Windows、Mac OS和Linux、LabView、Node.js和Python的现成例子。它使用TCP/IP仪表板服务器和XML-RPC来远程控制机器人,并使用客户端接口来接收和解码数据流。