Autoware.Auto
socket_can_common.hpp File Reference
#include <sys/select.h>
#include <sys/time.h>
#include <chrono>
#include <string>
Include dependency graph for socket_can_common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 autoware
 This file defines the lanelet2_map_provider_node class.
 
 autoware::drivers
 Libraries, ROS nodes, and other functionality relating to sensor drivers or actuation.
 
 autoware::drivers::socketcan
 

Functions

int32_t autoware::drivers::socketcan::bind_can_socket (const std::string &interface)
 
struct timeval autoware::drivers::socketcan::to_timeval (const std::chrono::nanoseconds timeout) noexcept
 Convert std::chrono duration to timeval (with microsecond resolution) More...
 
fd_set autoware::drivers::socketcan::single_set (int32_t file_descriptor) noexcept
 Create a fd_set for use with select() that only contains the specified file descriptor. More...