#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <thread>
#include <memory>
#include <chrono>
#include <vector>
#include <functional>
#include <condition_variable>
#include <atomic>
#include <string>
#include <ros/ros.h>
#include <std_srvs/SetBool.h>
#include <std_srvs/Trigger.h>
#include <modbus/modbus.h>
#include <prbt_hardware_support/modbus_topic_definitions.h>
#include <prbt_hardware_support/modbus_api_definitions.h>
#include <prbt_hardware_support/ModbusMsgInStamped.h>
#include <prbt_hardware_support/pilz_modbus_server_mock.h>
#include <prbt_hardware_support/pilz_modbus_client.h>
#include <prbt_hardware_support/pilz_manipulator_mock.h>
#include <prbt_hardware_support/modbus_api_spec.h>
#include <prbt_hardware_support/ros_test_helper.h>
#include <pilz_testutils/async_test.h>
Go to the source code of this file.
Classes | |
class | prbt_hardware_support::Stop1IntegrationTest |
Stop1IntegrationTest checks if the chain ModbusServerMock -> ModbusReadClient -> RunPermittedModbusAdapter -> ManipulatorMock functions properly. More... | |
Namespaces | |
prbt_hardware_support | |
Functions | |
int | main (int argc, char *argv[]) |
prbt_hardware_support::TEST_F (Stop1IntegrationTest, testServiceCallbacks) | |
Test that correct service calls occurs based on RUN_PERMITTED state. More... | |
Variables | |
static const std::string | prbt_hardware_support::HALT_SERVICE_NAME {"halt"} |
static const std::string | prbt_hardware_support::HOLD_SERVICE_NAME {"hold"} |
static constexpr uint16_t | prbt_hardware_support::MODBUS_API_VERSION_VALUE {2} |
static const std::string | prbt_hardware_support::RECOVER_SERVICE_NAME {"recover"} |
static const std::string | prbt_hardware_support::UNHOLD_SERVICE_NAME {"unhold"} |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 265 of file integrationtest_stop1.cpp.