Closed zwbx closed 2 weeks ago
oh, the camera view changes only apply to our "variant aggregation" evaluation setting. In our visual matching evaluation setting, because we use a fixed real-world image to overlay the background of simulation image observation, the sim image observation's background will remain the same. However, the object poses will change, because the foreground objects are rendered in the simulator (along w/ their physics).
In this case you need to manually create the environment in command-line instead of using simpler-env.make (see scripts/
for more details), and remove the overlay image config from command-line configs.
thanks! have successfully implemented this by the following code.
env = gym.make('PutSpoonOnTableClothInScene-v0', obs_mode='rgbd',
robot='widowx', sim_freq=500, control_freq=5,
control_mode='arm_pd_ee_target_delta_pose_align2_gripper_pd_joint_pos',
max_episode_steps=60, scene_name='bridge_table_1_v1', camera_cfgs={"add_segmentation": True}
)
I notice the background seems to be blank, is that correct?
The background is a wall in a replicacad scene. This is correct.
Thanks you for the great work. I am trying to change the camera view to see if Octo are robust to view changing. I ran task "widowx_spoon_on_towel" and modify the CameraConfig file, Then I encounter some bugs.
This is my script.
to change the camera view, I modify the 'p' and 'q' in file SimplerEnv/ManiSkill2_real2sim/mani_skill2_real2sim/agents/configs/widowx/defaults.py I have checked that in this env, '3rd_view_camera' will be used.
But the output video show that the camera view does not change, the object's position change. So how to change camera view in a right way?