Skip to content

Struct nebula::drivers::robosense_packet::PacketBase

template <size_t nBlocks, size_t nChannels, size_t maxReturns, size_t degreeSubdivisions>

ClassList > nebula > drivers > robosense_packet > PacketBase

Base struct for all Robosense packets. This struct is not allowed to have any non-static members, otherwise memory layout is not guaranteed for the derived structs. More...

  • #include <robosense_packet.hpp>

Public Static Attributes

Type Name
constexpr size_t degree_subdivisions = = degreeSubdivisions
constexpr size_t max_returns = = maxReturns
constexpr size_t n_blocks = = nBlocks
constexpr size_t n_channels = = nChannels

Detailed Description

Template parameters:

  • nBlocks The number of blocks in the packet
  • nChannels The number of channels per block
  • maxReturns The maximum number of returns, e.g. 2 for dual return
  • degreeSubdivisions The resolution of the azimuth angle in the packet, e.g. 100 if packet azimuth is given in 1/100th of a degree

Public Static Attributes Documentation

variable degree_subdivisions

constexpr size_t nebula::drivers::robosense_packet::PacketBase< nBlocks, nChannels, maxReturns, degreeSubdivisions >::degree_subdivisions;

variable max_returns

constexpr size_t nebula::drivers::robosense_packet::PacketBase< nBlocks, nChannels, maxReturns, degreeSubdivisions >::max_returns;

variable n_blocks

constexpr size_t nebula::drivers::robosense_packet::PacketBase< nBlocks, nChannels, maxReturns, degreeSubdivisions >::n_blocks;

variable n_channels

constexpr size_t nebula::drivers::robosense_packet::PacketBase< nBlocks, nChannels, maxReturns, degreeSubdivisions >::n_channels;


The documentation for this class was generated from the following file nebula_decoders/include/nebula_decoders/nebula_decoders_robosense/decoders/robosense_packet.hpp