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

to_urdf fun retrun a str, not a BufferedRandom #2957

Merged
merged 1 commit into from
Jan 2, 2024

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

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 IntelRealSense:ros2-development Jan 2, 2024
6 checks passed
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