Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
cartographer::sensor::test::CollatorInput Struct Reference

#include <test_helpers.h>

Public Member Functions

void MoveToCollator (CollatorInterface *collator)
 

Static Public Member Functions

static CollatorInput CreateImuData (int trajectory_id, const std::string &sensor_id, int time)
 
static CollatorInput CreateOdometryData (int trajectory_id, const std::string &sensor_id, int time)
 
static CollatorInput CreateTimedPointCloudData (int trajectory_id, const std::string &sensor_id, int time)
 

Public Attributes

std::unique_ptr< sensor::Datadata
 
const CollatorOutput expected_output
 
const int trajectory_id
 

Detailed Description

Definition at line 45 of file sensor/internal/test_helpers.h.

Member Function Documentation

◆ CreateImuData()

static CollatorInput cartographer::sensor::test::CollatorInput::CreateImuData ( int  trajectory_id,
const std::string &  sensor_id,
int  time 
)
inlinestatic

Definition at line 46 of file sensor/internal/test_helpers.h.

◆ CreateOdometryData()

static CollatorInput cartographer::sensor::test::CollatorInput::CreateOdometryData ( int  trajectory_id,
const std::string &  sensor_id,
int  time 
)
inlinestatic

Definition at line 64 of file sensor/internal/test_helpers.h.

◆ CreateTimedPointCloudData()

static CollatorInput cartographer::sensor::test::CollatorInput::CreateTimedPointCloudData ( int  trajectory_id,
const std::string &  sensor_id,
int  time 
)
inlinestatic

Definition at line 53 of file sensor/internal/test_helpers.h.

◆ MoveToCollator()

void cartographer::sensor::test::CollatorInput::MoveToCollator ( CollatorInterface collator)
inline

Definition at line 74 of file sensor/internal/test_helpers.h.

Member Data Documentation

◆ data

std::unique_ptr<sensor::Data> cartographer::sensor::test::CollatorInput::data

Definition at line 79 of file sensor/internal/test_helpers.h.

◆ expected_output

const CollatorOutput cartographer::sensor::test::CollatorInput::expected_output

Definition at line 80 of file sensor/internal/test_helpers.h.

◆ trajectory_id

const int cartographer::sensor::test::CollatorInput::trajectory_id

Definition at line 78 of file sensor/internal/test_helpers.h.


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


cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59