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

Exercises SystemNode's own lifecycle state machine through repeated full cycles, including active -> inactive -> unconfigured -> inactive -> active. More...

#include <functional>
#include <thread>
#include <mutex>
#include <atomic>
#include <vector>
#include "easynav_system/SystemNode.hpp"
#include "lifecycle_msgs/msg/state.hpp"
#include "lifecycle_msgs/msg/transition.hpp"
#include "geometry_msgs/msg/twist.hpp"
#include "geometry_msgs/msg/twist_stamped.hpp"
#include "rclcpp/rclcpp.hpp"
#include "rclcpp_lifecycle/lifecycle_node.hpp"
#include "gtest/gtest.h"
Include dependency graph for system_lifecycle_cycle_tests.cpp:

Classes

class  SystemLifecycleCycleTest

Functions

 TEST_F (SystemLifecycleCycleTest, ActiveToUnconfiguredAndBackRepeatedly)
 TEST_F (SystemLifecycleCycleTest, AllPrimaryTransitionsRepeatedly)
 TEST_F (SystemLifecycleCycleTest, DeactivationStopsTheRobot)
 TEST_F (SystemLifecycleCycleTest, DeactivationStopsTheRobotWithStampedCommands)
 TEST_F (SystemLifecycleCycleTest, StopIsTheLastCommandEvenWithAnRtCycleRunning)

Detailed Description

Exercises SystemNode's own lifecycle state machine through repeated full cycles, including active -> inactive -> unconfigured -> inactive -> active.

Function Documentation

◆ TEST_F() [1/5]

TEST_F ( SystemLifecycleCycleTest ,
ActiveToUnconfiguredAndBackRepeatedly  )

◆ TEST_F() [2/5]

TEST_F ( SystemLifecycleCycleTest ,
AllPrimaryTransitionsRepeatedly  )

◆ TEST_F() [3/5]

TEST_F ( SystemLifecycleCycleTest ,
DeactivationStopsTheRobot  )

◆ TEST_F() [4/5]

TEST_F ( SystemLifecycleCycleTest ,
DeactivationStopsTheRobotWithStampedCommands  )

◆ TEST_F() [5/5]

TEST_F ( SystemLifecycleCycleTest ,
StopIsTheLastCommandEvenWithAnRtCycleRunning  )