![]() |
LibMultiSense
LibMultiSense Documentation
|
#include <gtest/gtest.h>
#include <details/legacy/info.hh>
#include <details/legacy/utilities.hh>
Go to the source code of this file.
Copyright 2013-2025 Carnegie Robotics, LLC 4501 Hatfield Street, Pittsburgh, PA 15201 http://www.carnegierobotics.com
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CARNEGIE ROBOTICS, LLC BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Significant history (date, user, job code, action): 2025-01-22, malva, IRAD, Created file. rado @carn egie robot ics. com
Definition in file info_test.cc.
void check_equal | ( | const crl::multisense::details::wire::imu::Details & | wire, |
const multisense::MultiSenseInfo::ImuInfo::Source & | info | ||
) |
Definition at line 284 of file info_test.cc.
void check_equal | ( | const crl::multisense::details::wire::SysDeviceInfo & | wire, |
const multisense::MultiSenseInfo::DeviceInfo & | info, | ||
const std::string & | key | ||
) |
Definition at line 193 of file info_test.cc.
void check_equal | ( | const multisense::MultiSenseInfo::NetworkInfo & | info0, |
const multisense::MultiSenseInfo::NetworkInfo & | info1 | ||
) |
Definition at line 305 of file info_test.cc.
crl::multisense::details::wire::SysDeviceModes create_device_modes | ( | int64_t | sources, |
int32_t | imager_width, | ||
int32_t | imager_height | ||
) |
Definition at line 89 of file info_test.cc.
crl::multisense::details::wire::ImuInfo create_imu_info | ( | ) |
Definition at line 121 of file info_test.cc.
multisense::MultiSenseInfo::DeviceInfo create_info | ( | const std::string & | name | ) |
Definition at line 165 of file info_test.cc.
multisense::MultiSenseInfo::NetworkInfo create_network_info | ( | const std::string & | ip_address | ) |
Definition at line 188 of file info_test.cc.
crl::multisense::details::wire::VersionResponse create_version | ( | ) |
Definition at line 75 of file info_test.cc.
crl::multisense::details::wire::SysDeviceInfo create_wire_info | ( | const std::string & | name, |
const std::string & | key | ||
) |
Definition at line 44 of file info_test.cc.
TEST | ( | convert | , |
device_modes | |||
) |
Definition at line 343 of file info_test.cc.
TEST | ( | convert | , |
imu_source | |||
) |
Definition at line 371 of file info_test.cc.
TEST | ( | convert | , |
info_to_wire | |||
) |
Definition at line 319 of file info_test.cc.
TEST | ( | convert | , |
network_info_round_trip | |||
) |
Definition at line 401 of file info_test.cc.
TEST | ( | convert | , |
version | |||
) |
Definition at line 325 of file info_test.cc.
TEST | ( | convert | , |
wire_to_info | |||
) |
Definition at line 313 of file info_test.cc.