Skip to content

Instantly share code, notes, and snippets.

@CarterFendley
Last active July 27, 2021 02:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CarterFendley/e9d0df6c5a053e4cc353bc3241f1d117 to your computer and use it in GitHub Desktop.
Save CarterFendley/e9d0df6c5a053e4cc353bc3241f1d117 to your computer and use it in GitHub Desktop.

The error

When runing gdb pHelmIvP and then r targ_vehicle.moos I got the following error

No mission config block found for /home/moos/moos-ivp/bin/pHelmIvP

And a note that the helim is in the MALCONFIG state

The problem

The pHelmIvP app uses arg[0] not $PATH to construct relative paths.

The fix

Give the pHelmIvP an alias to run under when launching it after gdb pHelmIvP like below

r targ_vehicle.moos --alias=pHelmIvP

Credits

Courtesy of the brain of Conlan (HeroCC)... as per usual :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment