Skip to content

to_urdf fun retrun a str, not a BufferedRandom#2957

Merged
Nir-Az merged 1 commit intorealsenseai:ros2-developmentfrom
hellototoro:fix-bug
Jan 2, 2024
Merged

to_urdf fun retrun a str, not a BufferedRandom#2957
Nir-Az merged 1 commit intorealsenseai:ros2-developmentfrom
hellototoro:fix-bug

Conversation

@hellototoro
Copy link
Contributor

My env:
Ubuntu22.04
ros2 humble

When I run ros2 launch realsense2_description view_model.launch.py model:=test_d435i_camera.urdf.xacro, I received a error message
[ERROR] [launch]: Caught exception in launch (see debug for traceback): Caught exception when trying to load file of format [py]: expected str, bytes or os.PathLike object, not BufferedRandom

I used Github's copilot to fix this error and it gives this modification.
It works now, but I don't know Whether this modification is appropriate

@Nir-Az Nir-Az requested a review from Arun-Prasad-V January 1, 2024 06:53
Copy link
Contributor

@Arun-Prasad-V Arun-Prasad-V left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Nir-Az Nir-Az merged commit 79b7fb3 into realsenseai:ros2-development Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants