Easy Navigation
Loading...
Searching...
No Matches
rt_allocation_tests.cpp File Reference

The RT velocity path (proposals, mux, smoother) must not allocate memory once warm. More...

#include <atomic>
#include <cmath>
#include <cstdlib>
#include <limits>
#include <new>
#include "gtest/gtest.h"
#include "rclcpp/rclcpp.hpp"
#include "rclcpp_lifecycle/lifecycle_node.hpp"
#include "geometry_msgs/msg/twist_stamped.hpp"
#include "easynav_controller/VelocityMux.hpp"
#include "easynav_controller/VelocitySmoother.hpp"
#include "easynav_controller/safety/CommandGuard.hpp"
#include "easynav_core/SafetyChannel.hpp"
#include "easynav_core/VelocityCommand.hpp"
Include dependency graph for rt_allocation_tests.cpp:

Functions

void operator delete (void *p) noexcept
void operator delete (void *p, std::size_t) noexcept
void * operator new (std::size_t size)
 TEST (RtAllocationTest, GuardedVelocityOutputDoesNotAllocateOnceWarm)
 TEST (RtAllocationTest, SafetyChannelPathDoesNotAllocateOnceWarm)
 TEST (RtAllocationTest, TheCounterSeesAllocations)
 TEST (RtAllocationTest, VelocityPathDoesNotAllocateOnceWarm)

Detailed Description

The RT velocity path (proposals, mux, smoother) must not allocate memory once warm.

Function Documentation

◆ operator delete() [1/2]

void operator delete ( void * p)
noexcept

◆ operator delete() [2/2]

void operator delete ( void * p,
std::size_t  )
noexcept

◆ operator new()

void * operator new ( std::size_t size)

◆ TEST() [1/4]

TEST ( RtAllocationTest ,
GuardedVelocityOutputDoesNotAllocateOnceWarm  )

◆ TEST() [2/4]

TEST ( RtAllocationTest ,
SafetyChannelPathDoesNotAllocateOnceWarm  )

◆ TEST() [3/4]

TEST ( RtAllocationTest ,
TheCounterSeesAllocations  )

◆ TEST() [4/4]

TEST ( RtAllocationTest ,
VelocityPathDoesNotAllocateOnceWarm  )