-
Notifications
You must be signed in to change notification settings - Fork 513
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
FieldTypeMismatchException with "float32" fields #530
Comments
Probably related to #493 |
@mvollrath thanks for your PROMPT reaction. 😊🙏 hope you will consider @travipross comment and merge the PR soon. 😊😊😊 I need it for my Masterthesis. 😃😃😃 Thanks in advance !!! 😊🙏 |
@AviKenz I don't intend to do that. I don't have a ROS2 environment to develop or test with, so we depend on others to work on ROS2. If you need it done you should make a PR. |
the PR is created. let me know your wishes :) |
PROBLEM FIXED !!! :) |
Hello everybody :)
I want to control my ROS vehicle with AckermannDrive.msg but the rosbridge throws a FieldTypeMismatchException when i publish a message.
After investigation i find out that the "float32" fields in AckermannDrive are the problem. they are implicitly converted to "float" by python and the Rosbridge fails to find the matching ROS type.
"float64" fields doesnt have this problem since they are converted to "double" by python. I tested it with Vector3.msg.
Thanks in advance :)
Expected Behavior
AckermannDrive.msg should be published.
Actual Behavior
FieldTypeMismatchException is thrown.
Steps to Reproduce the Problem
Specifications
echo $ROS_DISTRO
): dashinggrep DISTRIB_CODENAME /etc/lsb-release
): bionicroscat rosbridge_server package.xml | grep '<version>'
): 1.0.2python -c 'import twisted; print twisted.version'
): 17.9.0The text was updated successfully, but these errors were encountered: