Classes | Namespaces | Functions | Variables
integrationtest_brake_test_required.cpp File Reference
#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 <std_msgs/Bool.h>
#include <modbus/modbus.h>
#include <pilz_msgs/IsBrakeTestRequired.h>
#include <pilz_msgs/IsBrakeTestRequiredResult.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/register_container.h>
#include <prbt_hardware_support/WriteModbusRegister.h>
#include <prbt_hardware_support/ros_test_helper.h>
#include <prbt_hardware_support/modbus_api_spec.h>
#include <pilz_testutils/async_test.h>
Include dependency graph for integrationtest_brake_test_required.cpp:

Go to the source code of this file.

Classes

class  prbt_hardware_support::BrakeTestRequiredIntegrationTest
 BrakeTestRequiredIntegrationTest checks if the chain ModbusServerMock -> ModbusReadClient -> ModbusAdapterBrakeTest functions properly. More...
 

Namespaces

 prbt_hardware_support
 

Functions

::testing::AssertionResult prbt_hardware_support::expectBrakeTestRequiredServiceCallResult (ros::ServiceClient &brake_test_required_client, pilz_msgs::IsBrakeTestRequiredResult::_value_type expectation, uint16_t retries=DEFAULT_RETRIES)
 
int main (int argc, char *argv[])
 
 prbt_hardware_support::TEST_F (BrakeTestRequiredIntegrationTest, testBrakeTestAnnouncement)
 

Variables

static constexpr unsigned int prbt_hardware_support::DEFAULT_RETRIES {10}
 
static constexpr uint16_t prbt_hardware_support::MODBUS_API_VERSION_VALUE {2}
 
static const std::string prbt_hardware_support::MODBUS_SERVICE_NAME {"/pilz_modbus_client_node/modbus_write"}
 
static const std::string prbt_hardware_support::SERVICE_BRAKETEST_REQUIRED = "/prbt/brake_test_required"
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 206 of file integrationtest_brake_test_required.cpp.



prbt_hardware_support
Author(s):
autogenerated on Sat Apr 4 2020 03:17:18