Skip to content
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

🐛 [BUG] - Float values with no decimal place lead to type error #83

Open
Oberacda opened this issue Jun 19, 2024 · 2 comments
Open
Labels
bug Something isn't working GUI Issues with the ros_bt_py Web GUI High Priority
Milestone

Comments

@Oberacda
Copy link
Contributor

Description

When using a float value in a node that has no decimal place, the ros2 serialization throws an error as the value is converted to an int and does no longer match the required float type.

Reproduction URL

https://github.com/fzi-forschungszentrum-informatik/ros2_ros_bt_py

Reproduction steps

1. Use a constant node.
2. Set the type to float.
3. Enter the value 0.0 for the number.
4. Start ticking the tree.

Screenshots

No response

Logs

No response

ROS2 Version

Rolling, Humble, Iron, Foxy

OS

Ubuntu 22.04

@Oberacda Oberacda added bug Something isn't working Core Library Issues concerning the core BT library. High Priority labels Jun 19, 2024
@nspielbau
Copy link
Contributor

The error happens while entering the number/ saving in the JSON editor, further investigation needed

@Oberacda Oberacda added this to the Web-GUI 3.0 milestone Jul 25, 2024
@nspielbau nspielbau removed their assignment Jul 25, 2024
@Oberacda
Copy link
Contributor Author

This must be fixed in the Web-UI as it is an error regarding the JSON editor.

@Oberacda Oberacda added GUI Issues with the ros_bt_py Web GUI and removed Core Library Issues concerning the core BT library. labels Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working GUI Issues with the ros_bt_py Web GUI High Priority
Projects
None yet
Development

No branches or pull requests

2 participants