Namespaces | Functions
legacy/utilities.cc File Reference
#include <algorithm>
#include "MultiSense/MultiSenseUtilities.hh"
#include "details/legacy/utilities.hh"
Include dependency graph for legacy/utilities.cc:

Go to the source code of this file.

Namespaces

 multisense
 
 multisense::legacy
 

Functions

ImuSample multisense::legacy::add_wire_sample (ImuSample sample, const crl::multisense::details::wire::ImuSample &wire, const ImuSampleScalars &scalars)
 Add a wire sample to a ImuSample. More...
 
std::vector< DataSource > multisense::legacy::convert_sources (const crl::multisense::details::wire::SourceType &source)
 Convert wire sources to a vector of DataSources. More...
 
crl::multisense::details::wire::SourceType multisense::legacy::convert_sources (const std::vector< DataSource > &sources)
 Convert a vector of DataSources to a wire source. More...
 
std::vector< DataSource > multisense::legacy::expand_source (const DataSource &source)
 Expand sources since some sources may represent multiple sources on the wire. More...
 
double multisense::legacy::get_acceleration_scale (const std::string &units)
 Get a scale for the acceleration value based on a units string. More...
 
MultiSenseConfig::MaxDisparities multisense::legacy::get_disparities (size_t disparity)
 Convert a disparity integer to a fixed disparity setting. More...
 
double multisense::legacy::get_gyroscope_scale (const std::string &units)
 Get a scale for the gyroscope value based on a units string. More...
 
ImuSampleScalars multisense::legacy::get_imu_scalars (const crl::multisense::details::wire::ImuInfo &info)
 Get IMU scalars from the cameras's reported IMU info. More...
 
double multisense::legacy::get_magnetometer_scale (const std::string &units)
 Get a scale for the magnetometer value based on a units string. More...
 
uint32_t multisense::legacy::get_range_index (const std::vector< ImuRange > &ranges, const ImuRange &range)
 Get the index of the range in a vector of ranges. More...
 
uint32_t multisense::legacy::get_rate_index (const std::vector< ImuRate > &rates, const ImuRate &rate)
 Get the index of the rate in a vector of rates. More...
 
Status multisense::legacy::get_status (const crl::multisense::details::wire::Ack::AckStatus &status)
 
MultiSenseInfo::Version multisense::legacy::get_version (const crl::multisense::details::wire::VersionType &version)
 Convert a wire version to a API Version. More...
 
bool multisense::legacy::is_image_source (const DataSource &source)
 Determine if a datasource is a image source. More...
 

Detailed Description

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-13, malva.nosp@m.rado.nosp@m.@carn.nosp@m.egie.nosp@m.robot.nosp@m.ics..nosp@m.com, IRAD, Created file.

Definition in file legacy/utilities.cc.



multisense_lib
Author(s):
autogenerated on Thu Apr 17 2025 02:49:09