TransformHeader Struct Reference

#include <RobotAPI/libraries/armem_robot_state/types.h>

Public Attributes

std::string agent
 
std::string frame
 
bool isStatic = false
 A static transform (like ROS /tf_static, e.g.
 
std::string parentFrame
 
armem::Time timestamp
 

Member Data Documentation

◆ agent

std::string agent

◆ frame

std::string frame

◆ isStatic

bool isStatic = false

A static transform (like ROS /tf_static, e.g.

a fixed sensor mount) is valid until the link's next pose replaces it, and before the link's first pose. Lookups use it as it is: it is never interpolated (neither between two static poses nor with a dynamic pose before it, which stays valid until the static pose's time) or held, and it is exempt from TransformLimits and does not count for the latest common time, the time spread or the result's header timestamp. The link world -> map (armarx::GlobalFrame -> armarx::MapFrame) is treated as static without the flag; other links from the global frame are not. Note: as with ROS /tf_static, lookups before the first pose use it, so e.g. an image taken before a sensor mount was calibrated at runtime gets the later calibration instead of an error. Unlike ROS, where a new static transform replaces the old one for all times, a new static pose here applies from its timestamp on; lookups before it keep the previous pose.

◆ parentFrame

std::string parentFrame

◆ timestamp

armem::Time timestamp

The documentation for this struct was generated from the following file: