-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec4825d
commit ee754b2
Showing
3 changed files
with
27 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Mirage Real Experiments | ||
To evaluate a trajectory with inpainting on a real robot, first start the ROS / Gazebo Inpainting environment. | ||
In terminal 1: | ||
``` | ||
source mirage/mirage/ros_ws/install/setup.bash | ||
ros2 launch gazebo_env {real_launch_file}.launch.py | ||
``` | ||
`real_launch_file` can be any of the launch files that is not the robosuite. Different launch files correspond to different parts of the robot being inpainted or not being inpainted. | ||
|
||
In terminal 2: | ||
``` | ||
source mirage/mirage/ros_ws/install/setup.bash | ||
ros2 run gazebo_env {real_launch_file}.py | ||
``` | ||
For the corresponding writer node, it should have the same suffix as the corresponding launch file. | ||
|
||
Then, fill in the appropriate the appropriate path to the real life model in `model_config_mapping` in `evaluate_robomimic.py`. | ||
In terminal 3, run: | ||
``` | ||
python3 evaluate_robomimic.py | ||
``` | ||
|
||
Note: The robot_env_xembody.py encapsulate a real robot in a typical gym environment. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters