feat: warn at boot about tape keys ignored while the tape is off
This commit is contained in:
@@ -508,6 +508,15 @@ TEST(TrolleyDetectionAction, RefusesAnUnknownProfile)
|
||||
EXPECT_FALSE(h->start(makeAction("DetectTrolley", "khong_co_profile_nay"), robot::Time(10.0)));
|
||||
}
|
||||
|
||||
TEST(TrolleyDetectionAction, LoadsYamlProfileWithTapeOffAndTunedKeys)
|
||||
{
|
||||
Rig rig;
|
||||
ASSERT_TRUE(rig.loaded);
|
||||
ActionHandler* handler = rig.registry.find("DetectTrolley");
|
||||
ASSERT_NE(handler, nullptr);
|
||||
EXPECT_TRUE(handler->start(makeAction("DetectTrolley", "tci_trolley_tape_off"), robot::Time(10.0)));
|
||||
}
|
||||
|
||||
TEST(TrolleyDetectionAction, LoadsPlateauFromYamlAndRejectsInvalidValue)
|
||||
{
|
||||
Rig rig;
|
||||
|
||||
Reference in New Issue
Block a user