Isaac Sim 4.0 support, Kinematics API doc, Windows support
This commit is contained in:
@@ -9,6 +9,12 @@
|
||||
# its affiliates is strictly prohibited.
|
||||
#
|
||||
|
||||
try:
|
||||
# Third Party
|
||||
import isaacsim
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
# Third Party
|
||||
import torch
|
||||
|
||||
@@ -60,6 +66,12 @@ from curobo.util.usd_helper import UsdHelper
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
|
||||
parser.add_argument(
|
||||
"--show-window",
|
||||
action="store_true",
|
||||
help="When True, shows camera image in a CV window",
|
||||
default=False,
|
||||
)
|
||||
|
||||
parser.add_argument("--robot", type=str, default="franka.yml", help="robot configuration to load")
|
||||
parser.add_argument(
|
||||
@@ -316,7 +328,7 @@ if __name__ == "__main__":
|
||||
voxel_viewer.clear()
|
||||
# draw_points(voxels)
|
||||
|
||||
if True:
|
||||
if args.show_window:
|
||||
depth_image = data["raw_depth"]
|
||||
color_image = data["raw_rgb"]
|
||||
depth_colormap = cv2.applyColorMap(
|
||||
|
||||
Reference in New Issue
Block a user