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

'float' object has no attribute 'get_fields_and_field_types' #910

Open
Hytac opened this issue Feb 28, 2024 · 3 comments · May be fixed by #840
Open

'float' object has no attribute 'get_fields_and_field_types' #910

Hytac opened this issue Feb 28, 2024 · 3 comments · May be fixed by #840
Labels

Comments

@Hytac
Copy link

Hytac commented Feb 28, 2024

Description
When calling the /get_planning_scene service (moveit_msgs/srv/GetPlanningScene) it fails to serialize the results with the followign error:

[rosbridge_websocket-1] [ERROR 1709106045.616655214] [rosbridge_websocket]: [Client 8b631744-1ef3-4af3-8555-3e8281b42001] [id: call_service:/get_planning_scene:8] call_service AttributeError: 'float' object has no attribute 'get_fields_and_field_types' (() at :0)

Just to mention this PR fix the issue: #840.

  • Library Version: Build from source (7d78af1)
  • ROS Version: Humble
  • Platform / OS: 22.04

Steps To Reproduce
I've seen others to have this error with different messages, but using moveit it is easy to make it fail, Just call the service get_planning_scene

@Hytac Hytac added the bug label Feb 28, 2024
@tilt-silvie
Copy link

I have same issue.

@tilt-silvie
Copy link

@Hytac I made a PR for this issue. I haven't verified the same steps that you've written, but I hope this PR fixes your problem!

@EzraBrooks EzraBrooks linked a pull request Jun 7, 2024 that will close this issue
@EzraBrooks
Copy link

Hi, I've just reopened #840 for this fix - I erroneously thought that the issue had been fixed, because of an unrelated code change in my application that made it stop happening. I'll try to get 840 in ASAP to fix for good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants