making the library for the cps
Environment
: íėí ė ëģīëĪė ëŠĻë ė ėĨ.Algorithm
:CPSCore (self) contains the following components
all
: (dictionary of all items in the environment ({cps_object.id
: CPSObject() })robots
(dictionary of robots ({robot.id
: CPSRobot() })targets
: (dictionary of targets ({target.id
: Target() })groups
: (dictionary of groups ({group.id
: Group() })id
: the id for the objectgroup_ids
: list of groups that the object is in.pos
: position of the robot, numpy.ndarray (3,) shapeNo additional variables yet
update_from_ros_data
: update the pos
variableNo additional variables yet
update_from_ros_data
: update the pos
variablemembers
: (dictionary of members ({object.id
: CPSObject() })