Closed cocobird231 closed 2 months ago
Hi @cocobird231 What simulation engine are you using?
I had filed a similar issue earlier and possibly a duplicate - https://github.com/stereolabs/zed-ros2-wrapper/issues/247
If the simulator does not provide IMU data it's not possible to use GEN_2 positional tracking. What simulator are you using?
I'm using Isaac Sim 2023.1.1
with ZED Camera extension v1.1.0
, and stream the ZED with ZED camera streamer
provided by ZED Camera extension
.
I had try default the common.yaml
and set pos_tracking_mode
to GEN_1
and it works, but the topic /zed/zed_node/imu/data
and /zed/zed_node/imu/data_raw
not publishing. I'm not sure the IMU data support sim mode or not.
That's expected. It's not a ROS 2 Wrapper issue, but a limitation of the ZED Camera Extension for ISAAC Sim that does not yet publish simulated IMU data.
I recommend you open a Feature Request issue to the ISAAC Sim repository: https://github.com/stereolabs/zed-isaac-sim/issues
Preliminary Checks
Description
Trying to launch wrapper with simulation mode, but it occurs an error: It's not possible to enable the required Positional Tracking module. With some trials, I found that the error occurs when the
imu_fusion
set totrue
. If I set it tofalse
, the error doesn't occur.Steps to Reproduce
ros2 launch zed_wrapper zed_camera.launch.py camera_model:=zedx sim_mode:=true
imu_fusion
tofalse
underconfig/common.yaml
file.ros2 launch zed_wrapper zed_camera.launch.py camera_model:=zedx sim_mode:=true
Expected Result
Wrapper should work without error when
sim_mode
set totrue
without changingimu_fusion
parameter.Actual Result
FATAL ERROR: It's not possible to enable the required Positional Tracking module.
ZED Camera model
ZED
Environment
Anything else?
Log output when error occurs