-
Notifications
You must be signed in to change notification settings - Fork 324
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
Better error reporting from server #380
Comments
1e1c2b1 also for this issue |
A big one is integer values in crazyflies.yaml
I ran out of time to investigate today, but maybe the exception is happening in the rosparam node? |
My guess is that this is from
This should probably also allow integers and use a simple assignment in the integer case. |
Oh, does I agree that accepting integers is a better solution. |
No, ROS_ASSERT probably doesn't raise such an explicit exception:-( Like a normal assert, it's also disabled in release builds. The problem is likely the next line, which calls a cast operator (http://docs.ros.org/en/noetic/api/xmlrpcpp/html/classXmlRpc_1_1XmlRpcValue.html#a95fa5d878b5c5946994b49f02829efc0):
I assume we would need a switch/if statement here and handle both the int and double case. Luckily, there are no more other (relevant) types... |
The Crazyswarm server sometimes fails with an uninformative error message, see e.g. #379. More informative error messages could help reduce the Q&A load.
The text was updated successfully, but these errors were encountered: