ProgrammingRobotsStudyGroup / robo_magellan

Apache License 2.0
4 stars 6 forks source link

exec.launch command line video debug option #8

Open javatechs opened 7 years ago

javatechs commented 7 years ago

Option added to exec.launch to conditionally launch debug video. Parameters: vid: display video debug Example: roslaunch robo_magellan exec.launch vid:=true vs roslaunch robo_magellan exec.launch

@pryme, please test.

https://github.com/ProgrammingRobotsStudyGroup/robo_magellan/commit/e743809e19ed37f94ac0d85ef0337107c6e8e524

pryme commented 7 years ago

@javatechs This works on Victoria, assuming the user launched an SSH -X session. If no -X then the following error is generated, although this did not kill ROS in my test. Error is no -X : [image_view-19] process has died [pid 16817, exit code -6, cmd /opt/ros/kinetic/lib/image_view/image_view image:=/cone_finder/colorImage __name:=image_view __log:=/home/robot/.ros/log/01e56f4c-18ca-11e7-bfcc-0007323c4b8f/image_view-19.log]. log file: /home/robot/.ros/log/01e56f4c-18ca-11e7-bfcc-0007323c4b8f/image_view-19*.log