We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I just noticed that the console tools (rosnode, rostopic, ...) are inconsistent in their return code in case of errors.
rosnode
rostopic
The case I tested was running them without a running roscore (using kinetic):
rostopic list
rosservice list
rosnode list
rosparam list
Especially the exit code of rosnode is problematic if you expect to get an error code like with the other tools.
The text was updated successfully, but these errors were encountered:
All tools should indeed return a non-zero exit code in case of errors. Some have specific codes to indicate the exact error though.
Please consider providing a pull request to fix the error code of rosnode list.
Sorry, something went wrong.
Alright, I will try to find some time for it in the next days.
No branches or pull requests
I just noticed that the console tools (
rosnode
,rostopic
, ...) are inconsistent in their return code in case of errors.The case I tested was running them without a running roscore (using kinetic):
rostopic list
--> exit code 1rosservice list
--> exit code 2rosnode list
--> exit code 0rosparam list
--> exit code 1Especially the exit code of
rosnode
is problematic if you expect to get an error code like with the other tools.The text was updated successfully, but these errors were encountered: