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

Cannot read data from RealSense camera using yarpdev #3152

Open
xela-95 opened this issue Dec 3, 2024 · 0 comments
Open

Cannot read data from RealSense camera using yarpdev #3152

xela-95 opened this issue Dec 3, 2024 · 0 comments

Comments

@xela-95
Copy link
Member

xela-95 commented Dec 3, 2024

Describe the bug
I was following a tutorial from @nicktrem on how to stream data from the RealSense T265 camera and the command he used to launch was:

yarpdev --device multipleanalogsensorsserver --name /t256 --period 10 --subdevice realsense2Tracking

and then reading the raw data with yarp read ... /t256/measures:o

When I launched it I got the following error:

[ERROR] |yarp.dev.Drivers| The syntax:
[ERROR] |yarp.dev.Drivers| yarpdev --device multipleanalogsensorsserver --subdevice realsense2Tracking
[ERROR] |yarp.dev.Drivers| has been deprecated.
[ERROR] |yarp.dev.Drivers| Use the following command line instead:
[ERROR] |yarp.dev.Drivers| yarpdev --device deviceBundler --wrapper_device multipleanalogsensorsserver --attached_device realsense2Tracking

I think that is related to #3078.

Then, following the suggestions I executed:

yarpdev --device deviceBundler --wrapper_device multipleanalogsensorsserver --attached_device realsense2Tracking --name /t256 --period 10

Getting the following error:

[DEBUG] |yarp.dev.PolyDriver|deviceBundler| Parameters are (attached_device realsense2Tracking) (device deviceBundler) (name "/t256") (period 10) (single_threaded 1) (wrapper_device multipleanalogsensorsserver) (wrapping_enabled "1")
[INFO] |yarp.device.DeviceBundler| Parameter 'wrapper_device' using value: multipleanalogsensorsserver
[INFO] |yarp.device.DeviceBundler| Parameter 'attached_device' using value: realsense2Tracking
[INFO] |yarp.device.DeviceBundler| Parameter 'doNotAttach' using DEFAULT value: false
[INFO] |yarp.device.DeviceBundler| Opening device: multipleanalogsensorsserver
[DEBUG] |yarp.dev.PolyDriver|multipleanalogsensorsserver| Parameters are (device multipleanalogsensorsserver) (name "/t256") (period 10) (single_threaded 1)
[INFO] |yarp.device.MultipleAnalogSensorsServer| Parameter 'name' using value: /t256
[INFO] |yarp.device.MultipleAnalogSensorsServer| Parameter 'period' using value: 10
[INFO] |yarp.dev.PolyDriver|multipleanalogsensorsserver| Created wrapper <multipleanalogsensorsserver>. See C++ class MultipleAnalogSensorsServer for documentation.
[INFO] |yarp.device.DeviceBundler| Opening device: realsense2Tracking
[DEBUG] |yarp.dev.PolyDriver|realsense2Tracking| Parameters are (device realsense2Tracking) (name "/t256") (period 10) (single_threaded 1)
[WARNING] |yarp.device.realsense2Tracking| This software module is experimental.
[WARNING] |yarp.device.realsense2Tracking| It is provided with uncomplete documentation and it may be modified/renamed/removed without any notice.
[INFO] |yarp.dev.PolyDriver|realsense2Tracking| Created device <realsense2Tracking>. See C++ class realsense2Tracking for documentation.
[INFO] |yarp.device.DeviceBundler| Attaching devices multipleanalogsensorsserver and realsense2Tracking.
[ERROR] |yarp.device.DeviceBundler| Unable to open iWrapper interface. Maybe multipleanalogsensorsserver is not a wrapper device?
[ERROR] |yarp.dev.PolyDriver|deviceBundler| Driver <deviceBundler> was found but could not open
[DEBUG] |yarp.device.multipleanalogsensorsserver| Detach complete
[ERROR] |yarp.dev.Drivers|deviceBundler| yarpdev: ***ERROR*** device not available.
[INFO] |yarp.dev.Drivers|deviceBundler| + Suggestions:
[INFO] |yarp.dev.Drivers|deviceBundler| deviceBundler
[INFO] |yarp.dev.Drivers|deviceBundler| + Do "yarpdev --list" to see list of supported devices.

Configuration (please complete the following information):

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