The basic object class in RCareWorld is RCareWorldBaseObject
. All of the objects in RCareWorld inherant from this basic class, which means they will have the properties owned by RCareWorldBaseObject
.
In Unity, select an object
name
: (str) The name of the object.position
: (list) [x, y, z] position in the world frame of the left hand coordinate system of Unityrotation
: (list) [x, y, z] rotation in the world frame of the left hand coordinate system of Unityquaternion
: (list) [x, y, z, w] quaternion in the world frame of the left hand coordinate system of Unitylocal_to_world_matrix
: (list) local to world matrix in the world frame of the left hand coordinate system of Unitylocal_position
local_rotation
local_quaternion
: (list) the corresponding value in the framesIn general, to get control of an object, you need to first initialize an object by doing
my_obj = env.create_object(id = 12345, name = 'object_name', is_in_scene=Bool)