Protected Member Functions | Private Attributes | List of all members
ZividCATest Class Reference
Inheritance diagram for ZividCATest:
Inheritance graph
[legend]

Protected Member Functions

void compareSettingsAcquisitionConfigWithSettings (const Zivid::Settings::Acquisition &a, const zivid_camera::SettingsAcquisitionConfig &cfg) const
 
void compareSettingsConfigWithSettings (const Zivid::Settings &s, const zivid_camera::SettingsConfig &cfg) const
 
std::size_t numEnabled3DAcquisitions () const
 
void performSuggestSettingsAndCompareWithCppAPI (ros::Duration max_capture_time, zivid_camera::CaptureAssistantSuggestSettings::Request::_ambient_light_frequency_type ambient_light_frequency)
 
zivid_camera::SettingsAcquisitionConfig settingsAcquisitionConfig (std::size_t i) const
 
zivid_camera::SettingsConfig settingsConfig ()
 
Zivid::CaptureAssistant::SuggestSettingsParameters::AmbientLightFrequency toAPIAmbientLightFrequency (zivid_camera::CaptureAssistantSuggestSettings::Request::_ambient_light_frequency_type ambient_light_frequency)
 
 ZividCATest ()
 
- Protected Member Functions inherited from TestWithFileCamera
 TestWithFileCamera ()
 
- Protected Member Functions inherited from ZividNodeTest
template<class A , class B >
void assertArrayFloatEq (const A &actual, const B &expected) const
 
void assertCameraInfoForFileCamera (const sensor_msgs::CameraInfo &ci) const
 
void assertSensorMsgsImageContents (const sensor_msgs::Image &image, const Zivid::Array2D< Zivid::ColorRGBA > &expected_rgba)
 
void assertSensorMsgsImageMeta (const sensor_msgs::Image &image, std::size_t width, std::size_t height, std::size_t bytes_per_pixel, const std::string &encoding)
 
void assertSensorMsgsPointCloud2Meta (const sensor_msgs::PointCloud2 &point_cloud, std::size_t width, std::size_t height, std::size_t point_step)
 
void enableFirst2DAcquisition ()
 
void enableFirst3DAcquisition ()
 
void enableFirst3DAcquisitionAndCapture ()
 
template<class Type >
SubscriptionWrapper< Type > subscribe (const std::string &name)
 
void waitForReady ()
 
- Protected Member Functions inherited from ZividNodeTestBase
 ZividNodeTestBase ()
 

Private Attributes

dynamic_reconfigure::Client< zivid_camera::SettingsConfig > camera_settings_client_
 
std::vector< std::unique_ptr< dynamic_reconfigure::Client< zivid_camera::SettingsAcquisitionConfig > > > settings_acquisition_clients_
 

Additional Inherited Members

- Protected Attributes inherited from TestWithFileCamera
Zivid::Camera camera_
 
Zivid::Application zivid_
 
- Protected Attributes inherited from ZividNodeTest
const ros::Duration dr_get_max_wait_duration { 5 }
 
ros::NodeHandle nh_
 
const ros::Duration node_ready_wait_duration { 15 }
 
const ros::Duration short_wait_duration { 0.25 }
 
- Static Protected Attributes inherited from ZividNodeTest
static constexpr auto capture_2d_service_name = "/zivid_camera/capture_2d"
 
static constexpr auto capture_assistant_suggest_settings_service_name
 
static constexpr auto capture_service_name = "/zivid_camera/capture"
 
static constexpr auto color_camera_info_topic_name = "/zivid_camera/color/camera_info"
 
static constexpr auto color_image_color_topic_name = "/zivid_camera/color/image_color"
 
static constexpr auto depth_camera_info_topic_name = "/zivid_camera/depth/camera_info"
 
static constexpr auto depth_image_topic_name = "/zivid_camera/depth/image"
 
static constexpr auto file_camera_path = "/usr/share/Zivid/data/FileCameraZividOne.zfc"
 
static constexpr size_t num_dr_capture_servers = 10
 
static constexpr auto points_xyz_topic_name = "/zivid_camera/points/xyz"
 
static constexpr auto points_xyzrgba_topic_name = "/zivid_camera/points/xyzrgba"
 
static constexpr auto snr_camera_info_topic_name = "/zivid_camera/depth/camera_info"
 
static constexpr auto snr_image_topic_name = "/zivid_camera/snr/image"
 

Detailed Description

Definition at line 671 of file test_zivid_camera.cpp.

Constructor & Destructor Documentation

ZividCATest::ZividCATest ( )
inlineprotected

Definition at line 674 of file test_zivid_camera.cpp.

Member Function Documentation

void ZividCATest::compareSettingsAcquisitionConfigWithSettings ( const Zivid::Settings::Acquisition &  a,
const zivid_camera::SettingsAcquisitionConfig &  cfg 
) const
inlineprotected

Definition at line 712 of file test_zivid_camera.cpp.

void ZividCATest::compareSettingsConfigWithSettings ( const Zivid::Settings &  s,
const zivid_camera::SettingsConfig &  cfg 
) const
inlineprotected

Definition at line 722 of file test_zivid_camera.cpp.

std::size_t ZividCATest::numEnabled3DAcquisitions ( ) const
inlineprotected

Definition at line 699 of file test_zivid_camera.cpp.

void ZividCATest::performSuggestSettingsAndCompareWithCppAPI ( ros::Duration  max_capture_time,
zivid_camera::CaptureAssistantSuggestSettings::Request::_ambient_light_frequency_type  ambient_light_frequency 
)
inlineprotected

Definition at line 756 of file test_zivid_camera.cpp.

zivid_camera::SettingsAcquisitionConfig ZividCATest::settingsAcquisitionConfig ( std::size_t  i) const
inlineprotected

Definition at line 692 of file test_zivid_camera.cpp.

zivid_camera::SettingsConfig ZividCATest::settingsConfig ( )
inlineprotected

Definition at line 685 of file test_zivid_camera.cpp.

Zivid::CaptureAssistant::SuggestSettingsParameters::AmbientLightFrequency ZividCATest::toAPIAmbientLightFrequency ( zivid_camera::CaptureAssistantSuggestSettings::Request::_ambient_light_frequency_type  ambient_light_frequency)
inlineprotected

Definition at line 739 of file test_zivid_camera.cpp.

Member Data Documentation

dynamic_reconfigure::Client<zivid_camera::SettingsConfig> ZividCATest::camera_settings_client_
private

Definition at line 788 of file test_zivid_camera.cpp.

std::vector<std::unique_ptr<dynamic_reconfigure::Client<zivid_camera::SettingsAcquisitionConfig> > > ZividCATest::settings_acquisition_clients_
private

Definition at line 790 of file test_zivid_camera.cpp.


The documentation for this class was generated from the following file:


zivid_camera
Author(s): Zivid
autogenerated on Sat Apr 17 2021 02:51:05