ImFusion C++ SDK 4.4.0
ImFusion::Robotics::URRobotState Class Reference

#include <RoboticsPlugin/Include/ImFusion/Robotics/UR/URRobotState.h>

Extends RobotState adding fields for the Universal Robot analog IO. More...

Inheritance diagram for ImFusion::Robotics::URRobotState:

Detailed Description

Extends RobotState adding fields for the Universal Robot analog IO.

Classes

struct  AnalogIoState

Public Member Functions

 URRobotState (const std::shared_ptr< const RobotModel > &modelRef)
 URRobotState (const RobotState &state)
 URRobotState (std::shared_ptr< const RobotInstance > instance, const JointState &jointState, const std::optional< CartesianFrames > &cartesianFrames, unsigned long long timeStamp, unsigned long long timestampArrival)
Public Member Functions inherited from ImFusion::Robotics::RobotState
 RobotState (const std::shared_ptr< const RobotInstance > &instance)
 Initialize robot state where all joint values are set to zero.
 RobotState (std::shared_ptr< const RobotInstance > instance, const JointState &jointState)
 RobotState (std::shared_ptr< const RobotInstance > instance, const JointState &jointState, const std::optional< CartesianFrames > &cartesianFrames, unsigned long long timeStamp, unsigned long long timestampArrival)
 Initialize robot state with the given joint states and log errors.
virtual std::optional< RobotArmCartesianStatecartesianState () const
 attempts computing the FK and returns a reference if successful
const JointStatejointState () const
const CartesianFramescartesianFrames () const
std::optional< isom3 > base_T_flange () const
std::optional< isom3 > base_T_effector () const
 Retrieve the transformation end-effector-to-base.
std::optional< isom3 > world_T_refFrame (ReferenceFrame frame) const
std::optional< isom3 > world_T_effector () const
std::optional< isom3 > world_T_flange () const
std::optional< isom3 > world_T_namedLink (const std::string &linkName) const
 Retrieve the transformation from a particularly named link to the world.
std::shared_ptr< const RobotInstancerobotInstance () const
const RobotInstancerobotInstanceRef () const

Public Attributes

AnalogIoState m_analogIoState
Public Attributes inherited from ImFusion::Robotics::RobotState
unsigned long long m_timeStamp = 0
 Timestamp in milliseconds.
unsigned long long m_timestampArrival = 0
 Timestamp of data reception in the ImFusion framework (milliseconds).
std::shared_ptr< const NativeRobotStateBasem_nativeRobotState

Additional Inherited Members

Protected Attributes inherited from ImFusion::Robotics::RobotState
std::shared_ptr< const RobotInstancem_robotInstance
 Geometric representation of the robot's structure.
JointState m_jointState
 Joint positions as reported by the robot firmware.
std::optional< CartesianFramesm_cartesianFrames
 Cartesian poses of notable frames as reported by the robot firmware (if supported).
std::optional< RobotArmCartesianStatem_cartesianState
 State computed lazily using forward kinematics.

The documentation for this class was generated from the following file:
  • RoboticsPlugin/Include/ImFusion/Robotics/UR/URRobotState.h
Search Tab / S to search, Esc to close