Skip to content

Commit

Permalink
Merge pull request #633 from NextCenturyCorporation/development
Browse files Browse the repository at this point in the history
Dev to Master
  • Loading branch information
brianpippin authored Nov 30, 2022
2 parents 8ae7db2 + a9a9e5f commit 043d0cc
Show file tree
Hide file tree
Showing 65 changed files with 47,068 additions and 20,240 deletions.
2 changes: 1 addition & 1 deletion CPU_Container.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=America/New_York

# --build-arg mcsversion=x.y.z to override default in docker build command
ARG mcsversion=0.6.1
ARG mcsversion=0.6.2
ARG mcs_library_version=master

WORKDIR /mcs
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ENV NVIDIA_DRIVER_CAPABILITIES ${NVIDIA_DRIVER_CAPABILITIES},display
# ENV LANG C.UTF-8

# --build-arg mcsversion=x.y.z to override default in docker build command
ARG mcsversion=0.6.1
ARG mcsversion=0.6.2
ARG mcs_library_version=master

WORKDIR /mcs
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Publish to PyPI: [![Publish PyPI](https://github.com/NextCenturyCorporation/MCS/

# MCS Python Package

Python interface for interacting with MCS AI2Thor environment and running scenes. The latest release of the MCS Python library is `0.6.1`. You can find the latest documentation [here](https://nextcenturycorporation.github.io/MCS).
Python interface for interacting with MCS AI2Thor environment and running scenes. The latest release of the MCS Python library is `0.6.2`. You can find the latest documentation [here](https://nextcenturycorporation.github.io/MCS).

- [Quickstart Installation](#quickstart-installation)
- [Usage](#usage)
Expand Down
4 changes: 2 additions & 2 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Installation and Setup
=======================

.. _Download and unzip the Mac ZIP: https://github.com/NextCenturyCorporation/MCS/releases/download/0.6.1/MCS-AI2-THOR-Unity-App-v0.6.1-mac.zip
.. _Download and unzip the Linux ZIP: https://github.com/NextCenturyCorporation/MCS/releases/download/0.6.1/MCS-AI2-THOR-Unity-App-v0.6.1-linux.zip
.. _Download and unzip the Mac ZIP: https://github.com/NextCenturyCorporation/MCS/releases/download/0.6.2/MCS-AI2-THOR-Unity-App-v0.6.2-mac.zip
.. _Download and unzip the Linux ZIP: https://github.com/NextCenturyCorporation/MCS/releases/download/0.6.2/MCS-AI2-THOR-Unity-App-v0.6.2-linux.zip

Virtual Environments
------------------------
Expand Down
4 changes: 3 additions & 1 deletion docs/source/schema.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ Each **scene config** has the following properties:
- `name` (string, required): A unique name for the scene used for our logs. Default: the filename
- `objects` (:ref:`object config <Object Config>` array, optional): The objects for the scene. Default: `[]`
- `performerStart` (:ref:`transform config <Transform Config>`, optional): The starting position and rotation of the performer (the "player"). Only the `position.x`, `position.z`, `rotation.x` (head tilt), and `rotation.y` properties are used. Default: `{ "position": { "x": 0, "z": 0 }, "rotation": { "y": 0 } }`
- `restrictOpenDoors` (bool, optional): If there are multiple doors in a scene, only allow for one door to ever be opened.
- `restrictOpenDoors` (bool, optional): If there are multiple doors in a scene, only allow one door to ever be opened. Default: `false`
- `restrictOpenObjects` (bool, optional): If there are multiple openable objects in a scene, including containers and doors, only allow one of them to ever be opened. Default: `false`
- `roomDimensions` (Vector3, optional): Specify the size of the room, not including the thickness of walls, floor, and ceiling. If omitted or set to 0, 0, 0, the default will be used. Note: There is a maximum visibility which for objects and structures beyond will not be rendered. Use caution when creating rooms where the maximum distance exceeds this maximum visibility. The maximum visibility is 15 meters. Default: 10, 3, 10.
- `roomMaterials` (:ref:`room material config <Room Material Config>`, optional): The materials for each individual wall. For any individual wall not provided, or all outer walls if object is not provided, they will use 'wallMaterial' property.
- `partitionFloor` (:ref:`floor partition config <Floor Partition Config>`, optional): Settings to partition the floor in specific ways. Overrides the `floorTextures`, `holes`, and `lava` configurations. Default: none
Expand Down Expand Up @@ -305,6 +306,7 @@ Each **move config** has the following properties:
- `vector` (:ref:`vector config <Vector Config>`, required): The coordinates to describe the movement. Default: `{ "x": 0, "y": 0, "z": 0 }`
- `repeat` (bool, optional): Whether to indefinitely repeat this action. Will wait `stepWait` number of steps after `stepEnd`, then will execute this action for `stepEnd - stepBegin + 1` number of steps, then repeat. Default: `false`
- `stepWait` (integer, optional): If `repeat` is `true`, the number of steps to wait after the `stepEnd` before repeating this action. Default: `0`
- `globalSpace` (bool, optional): If `true` the object will move using a global orientaion space and ignore the object's rotation. If false the object will move in local space oriented on the object's rotation. Default: `false`

Platform Lips Config
**************
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"objects_count": 0,
"position_x": null,
"position_z": null,
"return_status": "SUCCESSFUL",
"return_status": "OBSTRUCTED",
"reward": -0.008,
"rotation_y": null,
"step_number": 14,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"objects_count": 0,
"position_x": null,
"position_z": null,
"return_status": "SUCCESSFUL",
"return_status": "OBSTRUCTED",
"reward": -0.008,
"rotation_y": null,
"step_number": 14,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -549,9 +549,9 @@
{
"id": "block_blank_a",
"mass": 0.66,
"position_x": -1.95,
"position_x": -1.92,
"position_y": 0.05,
"position_z": -0.19,
"position_z": -0.17,
"visible": true
},
{
Expand All @@ -565,17 +565,17 @@
{
"id": "block_blank_c",
"mass": 0.66,
"position_x": -1.95,
"position_x": -1.92,
"position_y": 0.15,
"position_z": -0.19,
"position_z": -0.17,
"visible": true
},
{
"id": "block_blank_d",
"mass": 0.66,
"position_x": -1.95,
"position_x": -1.92,
"position_y": 0.25,
"position_z": -0.18,
"position_z": -0.16,
"visible": true
},
{
Expand Down Expand Up @@ -609,9 +609,9 @@
{
"id": "block_blank_a",
"mass": 0.66,
"position_x": -1.9,
"position_x": -1.85,
"position_y": 0.05,
"position_z": -0.28,
"position_z": -0.24,
"visible": true
},
{
Expand All @@ -625,17 +625,17 @@
{
"id": "block_blank_c",
"mass": 0.66,
"position_x": -1.9,
"position_x": -1.85,
"position_y": 0.15,
"position_z": -0.28,
"position_z": -0.24,
"visible": true
},
{
"id": "block_blank_d",
"mass": 0.66,
"position_x": -1.9,
"position_x": -1.85,
"position_y": 0.25,
"position_z": -0.26,
"position_z": -0.23,
"visible": true
},
{
Expand Down Expand Up @@ -669,9 +669,9 @@
{
"id": "block_blank_a",
"mass": 0.66,
"position_x": -1.9,
"position_x": -1.77,
"position_y": 0.05,
"position_z": -0.28,
"position_z": -0.3,
"visible": true
},
{
Expand All @@ -685,17 +685,17 @@
{
"id": "block_blank_c",
"mass": 0.66,
"position_x": -1.9,
"position_x": -1.77,
"position_y": 0.15,
"position_z": -0.28,
"position_z": -0.3,
"visible": true
},
{
"id": "block_blank_d",
"mass": 0.66,
"position_x": -1.9,
"position_x": -1.77,
"position_y": 0.25,
"position_z": -0.26,
"position_z": -0.29,
"visible": true
},
{
Expand Down Expand Up @@ -729,9 +729,9 @@
{
"id": "block_blank_a",
"mass": 0.66,
"position_x": -1.9,
"position_x": -1.69,
"position_y": 0.05,
"position_z": -0.28,
"position_z": -0.37,
"visible": true
},
{
Expand All @@ -745,18 +745,18 @@
{
"id": "block_blank_c",
"mass": 0.66,
"position_x": -1.9,
"position_x": -1.69,
"position_y": 0.15,
"position_z": -0.28,
"position_z": -0.37,
"visible": true
},
{
"id": "block_blank_d",
"mass": 0.66,
"position_x": -1.9,
"position_x": -1.69,
"position_y": 0.25,
"position_z": -0.26,
"visible": true
"position_z": -0.36,
"visible": false
},
{
"id": "block_blank_e",
Expand Down Expand Up @@ -789,9 +789,9 @@
{
"id": "block_blank_a",
"mass": 0.66,
"position_x": -1.9,
"position_x": -1.69,
"position_y": 0.05,
"position_z": -0.28,
"position_z": -0.37,
"visible": true
},
{
Expand All @@ -805,17 +805,17 @@
{
"id": "block_blank_c",
"mass": 0.66,
"position_x": -1.9,
"position_x": -1.69,
"position_y": 0.15,
"position_z": -0.28,
"position_z": -0.37,
"visible": true
},
{
"id": "block_blank_d",
"mass": 0.66,
"position_x": -1.9,
"position_x": -1.69,
"position_y": 0.25,
"position_z": -0.26,
"position_z": -0.36,
"visible": true
},
{
Expand Down Expand Up @@ -849,41 +849,41 @@
{
"id": "block_blank_a",
"mass": 0.66,
"position_x": -1.97,
"position_x": -1.69,
"position_y": 0.05,
"position_z": -0.35,
"position_z": -0.37,
"visible": true
},
{
"id": "block_blank_b",
"mass": 0.66,
"position_x": -1.76,
"position_x": -1.69,
"position_y": 0.05,
"position_z": -0.22,
"position_z": -0.15,
"visible": true
},
{
"id": "block_blank_c",
"mass": 0.66,
"position_x": -1.97,
"position_x": -1.69,
"position_y": 0.15,
"position_z": -0.35,
"position_z": -0.37,
"visible": true
},
{
"id": "block_blank_d",
"mass": 0.66,
"position_x": -1.97,
"position_x": -1.69,
"position_y": 0.25,
"position_z": -0.32,
"position_z": -0.36,
"visible": true
},
{
"id": "block_blank_e",
"mass": 0.66,
"position_x": -1.76,
"position_x": -1.69,
"position_y": 0.2,
"position_z": -0.23,
"position_z": -0.16,
"visible": true
},
{
Expand All @@ -897,7 +897,7 @@
],
"objects_count": 6,
"position_x": -2.37,
"return_status": "SUCCESSFUL",
"return_status": "OBSTRUCTED",
"rotation_y": 130.0,
"step_number": 14,
"structural_objects_count": 5
Expand All @@ -909,41 +909,41 @@
{
"id": "block_blank_a",
"mass": 0.66,
"position_x": -1.97,
"position_x": -1.69,
"position_y": 0.05,
"position_z": -0.35,
"position_z": -0.37,
"visible": true
},
{
"id": "block_blank_b",
"mass": 0.66,
"position_x": -1.76,
"position_x": -1.69,
"position_y": 0.05,
"position_z": -0.22,
"position_z": -0.15,
"visible": true
},
{
"id": "block_blank_c",
"mass": 0.66,
"position_x": -1.97,
"position_x": -1.69,
"position_y": 0.15,
"position_z": -0.35,
"position_z": -0.37,
"visible": true
},
{
"id": "block_blank_d",
"mass": 0.66,
"position_x": -1.97,
"position_x": -1.69,
"position_y": 0.25,
"position_z": -0.32,
"position_z": -0.35,
"visible": true
},
{
"id": "block_blank_e",
"mass": 0.66,
"position_x": -1.76,
"position_x": -1.69,
"position_y": 0.2,
"position_z": -0.23,
"position_z": -0.16,
"visible": true
},
{
Expand Down
Loading

0 comments on commit 043d0cc

Please sign in to comment.