Hi i’ve been running the nvblox example without any problems
ros2 launch nvblox_examples_bringup isaac_sim_example.launch.py
Now I am trying to run the example with another robot in Isaac sim.
I have done the following remaping, but nvblox doesn’t show up in rviz2. The uncommented section works with the Carter robot.
# def get_isaac_sim_remappings(lidar: bool) -> List[Tuple[str, str]]:
# remappings = []
# camera_names = ['front_stereo_camera']
# for i, name in enumerate(camera_names):
# remappings.append((f'camera_{i}/depth/image', f'{name}/depth/ground_truth'))
# remappings.append((f'camera_{i}/depth/camera_info', f'{name}/left/camera_info'))
# remappings.append((f'camera_{i}/color/image', f'{name}/left/image_raw'))
# remappings.append((f'camera_{i}/color/camera_info', f'{name}/left/camera_info'))
# if lidar:
# remappings.append(('pointcloud', '/front_3d_lidar/point_cloud'))
# return remappings
def get_isaac_sim_remappings(lidar: bool) -> List[Tuple[str, str]]:
remappings = []
camera_names = ['isaac/camera']
for i, name in enumerate(camera_names):
remappings.append((f'camera_{i}/depth/image', f'{name}_depth'))
remappings.append((f'camera_{i}/depth/camera_info', f'{name}_camera_info'))
remappings.append((f'camera_{i}/color/image', f'{name}_rgb'))
remappings.append((f'camera_{i}/color/camera_info', f'{name}_camera_info'))
if lidar:
remappings.append(('pointcloud', '/isaac/point_cloud'))
return remappings
Is there other parameters that should be changed?
Best Regards,
Kasper