|
Easy Navigation
|
safety::CommandGuard around the VelocityMux: timeout, non-finite commands, new controller commands, keepalive, QoS and diagnostics. More...
#include <algorithm>#include <cmath>#include <limits>#include <memory>#include <optional>#include <string>#include <utility>#include <vector>#include "gtest/gtest.h"#include "diagnostic_msgs/msg/diagnostic_status.hpp"#include "geometry_msgs/msg/twist_stamped.hpp"#include "rclcpp/rclcpp.hpp"#include "rclcpp_lifecycle/lifecycle_node.hpp"#include "easynav_controller/VelocityMux.hpp"#include "easynav_controller/safety/CommandGuard.hpp"#include "easynav_core/VelocityCommand.hpp"
Classes | |
| class | CommandGuardTest |
| class | VelocityMux |
| Decides, every RT cycle, which velocity command is sent to the robot. More... | |
Functions | |
| TEST_F (CommandGuardTest, ACommandAfterTheJumpRestartsTheTimeout) | |
| TEST_F (CommandGuardTest, AfterTheClockJumpsBackTheTimeoutCountsFromTheJump) | |
| TEST_F (CommandGuardTest, AHeldNonZeroTargetIsZeroedAfterTheTimeout) | |
| TEST_F (CommandGuardTest, AnErrorReportedBeforeAResetIsClearedAfterIt) | |
| TEST_F (CommandGuardTest, AnySourceKeepsTheCommandAlive) | |
| TEST_F (CommandGuardTest, AZeroTargetNeverTimesOut) | |
| TEST_F (CommandGuardTest, DiagnosticIsWrittenOnlyAfterAProblemAndOnChanges) | |
| TEST_F (CommandGuardTest, InvalidParametersAreRejected) | |
| TEST_F (CommandGuardTest, KeepaliveIsDueEveryPeriodAfterThePublication) | |
| TEST_F (CommandGuardTest, KeepaliveIsDueRightAfterTheClockJumpsBack) | |
| TEST_F (CommandGuardTest, NoKeepaliveIfDisabled) | |
| TEST_F (CommandGuardTest, NonFiniteProposalsAreDiscarded) | |
| TEST_F (CommandGuardTest, OnlyNewControllerCommandsAreProposed) | |
| TEST_F (CommandGuardTest, OnlyNonFiniteProposalsEndInATimeout) | |
| TEST_F (CommandGuardTest, PauseWhileTimedOutCommandsZero) | |
| TEST_F (CommandGuardTest, QosKeepsOnlyTheLatestCommandAndOffersADeadlineWithAKeepalive) | |
| TEST_F (CommandGuardTest, RepeatedJumpsBackStillTimeOut) | |
| TEST_F (CommandGuardTest, ResetForgetsTheTimeout) | |
| TEST_F (CommandGuardTest, TimeoutMustBeLongerThanTheControllerPeriod) | |
| TEST_F (CommandGuardTest, ZeroTimeoutDisablesIt) | |
safety::CommandGuard around the VelocityMux: timeout, non-finite commands, new controller commands, keepalive, QoS and diagnostics.
| TEST_F | ( | CommandGuardTest | , |
| ACommandAfterTheJumpRestartsTheTimeout | ) |
| TEST_F | ( | CommandGuardTest | , |
| AfterTheClockJumpsBackTheTimeoutCountsFromTheJump | ) |
| TEST_F | ( | CommandGuardTest | , |
| AHeldNonZeroTargetIsZeroedAfterTheTimeout | ) |
| TEST_F | ( | CommandGuardTest | , |
| AnErrorReportedBeforeAResetIsClearedAfterIt | ) |
| TEST_F | ( | CommandGuardTest | , |
| AnySourceKeepsTheCommandAlive | ) |
| TEST_F | ( | CommandGuardTest | , |
| AZeroTargetNeverTimesOut | ) |
| TEST_F | ( | CommandGuardTest | , |
| DiagnosticIsWrittenOnlyAfterAProblemAndOnChanges | ) |
| TEST_F | ( | CommandGuardTest | , |
| InvalidParametersAreRejected | ) |
| TEST_F | ( | CommandGuardTest | , |
| KeepaliveIsDueEveryPeriodAfterThePublication | ) |
| TEST_F | ( | CommandGuardTest | , |
| KeepaliveIsDueRightAfterTheClockJumpsBack | ) |
| TEST_F | ( | CommandGuardTest | , |
| NoKeepaliveIfDisabled | ) |
| TEST_F | ( | CommandGuardTest | , |
| NonFiniteProposalsAreDiscarded | ) |
| TEST_F | ( | CommandGuardTest | , |
| OnlyNewControllerCommandsAreProposed | ) |
| TEST_F | ( | CommandGuardTest | , |
| OnlyNonFiniteProposalsEndInATimeout | ) |
| TEST_F | ( | CommandGuardTest | , |
| PauseWhileTimedOutCommandsZero | ) |
| TEST_F | ( | CommandGuardTest | , |
| QosKeepsOnlyTheLatestCommandAndOffersADeadlineWithAKeepalive | ) |
| TEST_F | ( | CommandGuardTest | , |
| RepeatedJumpsBackStillTimeOut | ) |
| TEST_F | ( | CommandGuardTest | , |
| ResetForgetsTheTimeout | ) |
| TEST_F | ( | CommandGuardTest | , |
| TimeoutMustBeLongerThanTheControllerPeriod | ) |
| TEST_F | ( | CommandGuardTest | , |
| ZeroTimeoutDisablesIt | ) |