Link Search Menu Expand Document

arena-py API v1.0.1

arena.utils.utils

class Utils:
@classmethod
def tuple_to_string(cls, tup, sep=' '):

Turns a tuple into a string

@classmethod
def agran(cls, float_num):

Reduces floating point numbers to ARENA granularity

@classmethod
def dict_key_replace(cls, d, key, new_key):

Repalces a key,val with a new key,val

@classmethod
def quat_to_matrix3(cls, rotq):
@classmethod
def matrix3_to_quat(cls, rotm):
@classmethod
def pose_to_matrix4(cls, pos, rotq, scale=(1, 1, 1)):
@classmethod
def matrix4_to_pose(cls, mat):
@classmethod
def get_world_pose(cls, obj, scene):