#include <socketcan_bridge/socketcan_to_topic.h>
#include <can_msgs/Frame.h>
#include <socketcan_interface/socketcan.h>
#include <socketcan_interface/dummy.h>
#include <socketcan_bridge/topic_to_socketcan.h>
#include <gtest/gtest.h>
#include <ros/ros.h>
#include <list>
#include <memory>
#include <string>
#include <vector>
Go to the source code of this file.
|
| std::string | convertMessageToString (const can_msgs::Frame &msg, bool lc=true) |
| |
| int | main (int argc, char **argv) |
| |
| | TEST (SocketCANToTopicTest, checkCorrectCanIdFilter) |
| |
| | TEST (SocketCANToTopicTest, checkCorrectData) |
| |
| | TEST (SocketCANToTopicTest, checkInvalidCanIdFilter) |
| |
| | TEST (SocketCANToTopicTest, checkInvalidFrameHandling) |
| |
| | TEST (SocketCANToTopicTest, checkMaskFilter) |
| |
◆ convertMessageToString()
| std::string convertMessageToString |
( |
const can_msgs::Frame & |
msg, |
|
|
bool |
lc = true |
|
) |
| |
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ TEST() [1/5]
| TEST |
( |
SocketCANToTopicTest |
, |
|
|
checkCorrectCanIdFilter |
|
|
) |
| |
◆ TEST() [2/5]
| TEST |
( |
SocketCANToTopicTest |
, |
|
|
checkCorrectData |
|
|
) |
| |
◆ TEST() [3/5]
| TEST |
( |
SocketCANToTopicTest |
, |
|
|
checkInvalidCanIdFilter |
|
|
) |
| |
◆ TEST() [4/5]
| TEST |
( |
SocketCANToTopicTest |
, |
|
|
checkInvalidFrameHandling |
|
|
) |
| |
◆ TEST() [5/5]
| TEST |
( |
SocketCANToTopicTest |
, |
|
|
checkMaskFilter |
|
|
) |
| |