IEEERobotics / high-level

CV, localization, mapping, planning, and generally anything that will run on the PandaBoard
BSD 2-Clause "Simplified" License
2 stars 1 forks source link

Need localizer to accept a poison pill #29

Closed dfarrell07 closed 11 years ago

dfarrell07 commented 11 years ago

It would be really clean and nice if localizer would accept a "die" command on the qNav_loc queue. The command can literally be the string "die" (that's the one nav accepts). This would allow me to politely tell localizer to die, so it can do so in a safe state, instead of me having to send it SIGINT or SIGKILL.

jschornick commented 11 years ago

Localizer now calls exit(0) after receiving a 'die' string via qNav.

Commited as: 80af68a4e4542fdc1cece481e96106cc9606805e