-
Notifications
You must be signed in to change notification settings - Fork 913
New issue
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
rosconsole: Add ROS_VERIFY counterpart to ROS_ASSERT #71
Labels
Milestone
Comments
ros_assert.diff content:
|
Any update on this, or ideas of integrating glog (https://github.com/google/glog) analogies? |
There is no progress and and it is not likely that the maintainers will have the time to work on it. Therefore the ticket is marked with the milestone "untargete" (https://github.com/ros/ros_comm/milestones). |
This issue was moved to ros/rosconsole#3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've added macros ROS_VERIFY, ROS_VERIFY_MSG, and ROS_VERIFY_CMD which are similar to ROS_ASSERT_*, except that they also execute the condition when asserts are disabled. This was inspired by BOOST_VERIFY. It's really useful to do things like:
ROS_VERIFY(someFunctionWhichShouldReturnTrue());
Patch attached.
change history (ros_assert.diff in the first ):
Changed 2 years ago by mrinal
attachment ros_assert.diff added
Patch to add ROS_VERIFY_* macros. Also includes tests for them.
migration of trac ticket:
https://code.ros.org/trac/ros/ticket/3323
The text was updated successfully, but these errors were encountered: