Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions isaac_sim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,12 @@ source env_isaacsim/bin/activate
python3 run.py --robot_type g1 # using default policy
python3 run.py --robot_type g1 --policy_dir YOUR_POLICY_DIR # using your own policy
```

### Optional Scene Elements

Some environment features are disabled by default and must be opted into with a flag:

```bash
python3 run.py --vehicles # enable scripted waypoint vehicles (forklifts/carts)
python3 run.py --platforms # enable elevated platforms/ramps (e.g. the warehouse mezzanine)
```
9 changes: 9 additions & 0 deletions isaac_sim/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,13 @@ def main():
choices=sim_config.available_environment_types(),
help="Scene to load (one per configs/environments/*.yaml)",
)
parser.add_argument(
"--platforms",
action="store_true",
default=False,
help="Enable elevated platforms/ramps (e.g. the warehouse mezzanine) "
"from the environment config. Disabled by default.",
)
args, _ = parser.parse_known_args()

robot_cfg = sim_config.load_robot_config(args.robot_type)
Expand All @@ -744,6 +751,8 @@ def main():
args.scan_source,
"enabled" if robot_cfg.enable_2d_lidar else "disabled",
)
if not args.platforms:
env_config.platforms = None

logger.info("Running %s robot simulation", args.robot_type.upper())

Expand Down
Loading