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

Problem wenn use realsense #14

Closed
kaixin-bai opened this issue Nov 21, 2018 · 1 comment
Closed

Problem wenn use realsense #14

kaixin-bai opened this issue Nov 21, 2018 · 1 comment

Comments

@kaixin-bai
Copy link

in realsense_sensor.py file, wenn i try to use realsense camera to get depth image, i got this Problem.

policy.py", line 174, in
sensor.start()
perception/realsense_sensor.py", line 177, in start
self._config_pipe()
perception/realsense_sensor.py", line 95, in _config_pipe
self._cfg.enable_device(self.id)
TypeError: enable_device(): incompatible function arguments. The following argument types are supported:
1. (self: pyrealsense2.pyrealsense2.config, serial: unicode) -> None

Invoked with: <pyrealsense2.pyrealsense2.config object at 0x7feb7591a260>, 817632870962
INFO:rospy.core:signal_shutdown [atexit]

@kaixin-bai
Copy link
Author

kaixin-bai commented Nov 21, 2018

IntelRealSense/librealsense#1735
there's an example here:
config_1.enable_device('013102060174')
so enable_device() should work with 'string'

perception/realsense_sensor.py 95
we can change it to : self._cfg.enable_device(str(self.id))
it works.

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

No branches or pull requests

1 participant