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

Added live camera tests #2865

Merged

Conversation

PrasRsRos
Copy link
Contributor

No description provided.

@PrasRsRos PrasRsRos mentioned this pull request Aug 30, 2023
@SamerKhshiboun SamerKhshiboun self-requested a review September 4, 2023 00:07
return True
if "Y16" == format:
return True
if "Y10BPACK" == format:
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we skip this or not ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are skipping for now, as these formats are failing on one device_type or the other

self.set_bool_param('enable_gyro', True)
themes[ACCEL_TOPIC]['expected_data_chunks'] = 0
#uncomment once RSDEV-550 is closed
#themes[IMU_TOPIC]['expected_data_chunks'] = 0
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hi @PrasRsRos,
Please pull latest changes from ros2-development, since Arun PR has been merged.
IMU topic should not be available if gyro/accel are turned off.
Please fix tests accordingly.

@@ -0,0 +1,268 @@
# Copyright 2023 Intel Corporation. All Rights Reserved.
Copy link
Collaborator

Choose a reason for hiding this comment

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

in a second thought, I think this file should not be exists.
The best option is to open a sperate ticket in Jira for this, and to handle these formats/streams issues later.
on my machines, I could not make these configurations fail.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

'device_type': 'D455',
'enable_accel':"True",
'enable_gyro':"True",
'unite_imu_method':1,
Copy link
Contributor

Choose a reason for hiding this comment

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

@PrasRsRos ,

'unite_imu_method' param can also be updated dynamically. If needed, please update the tests.

@SamerKhshiboun
Copy link
Collaborator

@PrasRsRos, can you please resolve the conflicts so I can merge it ?

@SamerKhshiboun SamerKhshiboun merged commit 8de679b into IntelRealSense:ros2-development Oct 5, 2023
6 checks passed
@PrasRsRos PrasRsRos deleted the add-live-camera-tests branch October 6, 2023 02:24
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