Skip to content

Unable to launch practice worlds using run_trial.bash #73

@ngxingyu

Description

@ngxingyu
  1. Currently run_trial.bash runs SERVER_CMD="/run_vrx_trial.sh /team_generated/${TEAM_NAME}.urdf /task_generated/worlds/${TASK_NAME}${TRIAL_NUM} ${LOG_DIR}"
    and run_vrx_trial.sh runs
    ros2 launch vrx_gz competition.launch.py headless:=false urdf:=$WAMV_URDF world:=$TRIAL_WORLD extra_gz_args:="--record_period ${RECORD_PERIOD} --record_path /home/developer/.gazebo --log_overwrite" verbose:=true competition_mode:=true > ~/verbose_output.txt 2>&1 & internally,
    However, I suspect competition.launch.py does not seem to support absolute file paths as world, and it only works when I change world to the name of the world e.g. practice_2023_${TASK}${TRIAL}_task where it will use the worlds in the vrx repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions