|
| 1 | +# This is a configuration definition file in folder "/home/catherine/Dropbox/ASL/ltlMultiRobot/configs". |
| 2 | +# Format details are described at the beginning of each section below. |
| 3 | + |
| 4 | + |
| 5 | +======== General Config ======== |
| 6 | + |
| 7 | +Actuator_Proposition_Mapping: # Mapping between actuator propositions and actuator handler functions |
| 8 | +camera = share.DummyActuatorHandler.setActuator(name="camera") |
| 9 | + |
| 10 | +Initial_Truths: # Initially true propositions |
| 11 | + |
| 12 | +Main_Robot: # The name of the robot used for moving in this config |
| 13 | +Basic_Simulated_Robot |
| 14 | + |
| 15 | +Name: # Configuration name |
| 16 | +twoRegions |
| 17 | + |
| 18 | +Region_Tags: # Mapping from tag names to region groups, for quantification |
| 19 | +{} |
| 20 | + |
| 21 | +Sensor_Proposition_Mapping: # Mapping between sensor propositions and sensor handler functions |
| 22 | +r1_rc = share.DummySensorHandler.inRegion(regionName="r1") |
| 23 | +r2_rc = share.DummySensorHandler.inRegion(regionName="r2") |
| 24 | +camera_ac = share.DummySensorHandler.buttonPress(button_name="camera_ac",init_value=False) |
| 25 | +person = share.DummySensorHandler.buttonPress(button_name="person",init_value=False) |
| 26 | + |
| 27 | + |
| 28 | +======== Robot1 Config ======== |
| 29 | + |
| 30 | +CalibrationMatrix: # 3x3 matrix for converting coordinates, stored as lab->map |
| 31 | +array([[1, 0, 0], |
| 32 | + [0, 1, 0], |
| 33 | + [0, 0, 1]]) |
| 34 | + |
| 35 | +DriveHandler: # Input value for robot drive handler, refer to file inside the handlers/drive folder |
| 36 | +share.Drive.HolonomicDriveHandler(multiplier=50.0,maxspeed=999.0) |
| 37 | + |
| 38 | +InitHandler: # Input value for robot init handler, refer to the init file inside the handlers/robots/Type folder |
| 39 | +basicSim.BasicSimInitHandler(init_region="r1") |
| 40 | + |
| 41 | +LocomotionCommandHandler: # Input value for robot locomotion command handler, refer to file inside the handlers/robots/Type folder |
| 42 | +basicSim.BasicSimLocomotionCommandHandler(speed=0.5) |
| 43 | + |
| 44 | +MotionControlHandler: # Input value for robot motion control handler, refer to file inside the handlers/motionControl folder |
| 45 | +share.MotionControl.VectorControllerHandler() |
| 46 | + |
| 47 | +PoseHandler: # Input value for robot pose handler, refer to file inside the handlers/pose folder |
| 48 | +basicSim.BasicSimPoseHandler() |
| 49 | + |
| 50 | +RobotName: # Robot Name |
| 51 | +Basic_Simulated_Robot |
| 52 | + |
| 53 | +Type: # Robot type |
| 54 | +basicSim |
| 55 | + |
0 commit comments