Open 3rd-Musketeer opened 1 week ago
Hi @3rd-Musketeer
Thanks a lot for using our work. The _resample
function is called from the compute
and reset
method of the CommandTerm
. Both should be overwritten in the PathFollowerCommandGenerator
.
Your issue is that you are in a newer IsaacLab version where the Missing
check has been introduced. Please switch to version 1.2
Checklist
Bug Description
The program throws an error about missing variable in
ViPlannerCarlaCfg
:Steps to reproduce
I followed every step in the installation guidance and ensures that the IsaacSim/IsaacLab version complies with the requirements. Then I ran this command to start the simulation in CARLA:
(I changed
viplanner/omniverse/extension/omni.viplanner/omni/viplanner/config/carla_cfg.py
to accept environment variables asUSER_PATH_TO_USD
) Then I got the error information above.However, I tried to debug myself and located the missing variable at
IsaacLab/source/extensions/omni.viplanner/omni/viplanner/config/base_cfg.py
line 149, where this class lies:and I notice that for other config files in IsaacLab, they specify the
resampling_time_range
as a tuple, for example(4.0, 4.0)
, and this tuple serves as the lower and upper boundary for a uniform sampling function, which is defined inIsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/managers/command_manager.py
line 169, as:To this end, I decided to specify a resample parameter manually, say
(4.0, 4.0)
, and the demo worked.I wonder if others encounter the same problem with me and shall we propose a PR to fix it? If so, what resample parameter should be used?