clearpath_ros2_socketcan_interface
C++ API
Class Hierarchy
File Hierarchy
Full C++ API
Namespaces
Namespace clearpath_ros2_socketcan_interface
Classes and Structs
Class SocketCANInterface
Defines
Define CLEARPATH_ROS2_SOCKETCAN_INTERFACE_EXPORT
Define CLEARPATH_ROS2_SOCKETCAN_INTERFACE_IMPORT
Define CLEARPATH_ROS2_SOCKETCAN_INTERFACE_LOCAL
Define CLEARPATH_ROS2_SOCKETCAN_INTERFACE_PUBLIC
Define CLEARPATH_ROS2_SOCKETCAN_INTERFACE_PUBLIC_TYPE
Directories
Directory include
Directory clearpath_ros2_socketcan_interface
Files
File socketcan_interface.hpp
File visibility_control.h
Standard Documents
CHANGELOG
Changelog for package clearpath_ros2_socketcan_interface
2.0.0 (2024-11-21)
1.0.0 (2024-11-21)
LICENSE
PACKAGE
README
clearpath_ros2_socketcan_interface
Index
clearpath_ros2_socketcan_interface
C++ API
Class SocketCANInterface
View page source
Class SocketCANInterface
Defined in
File socketcan_interface.hpp
Class Documentation
class
SocketCANInterface
Public Functions
SocketCANInterface
(
const
std
::
string
&
canbus
,
std
::
shared_ptr
<
rclcpp
::
Node
>
&
nh
)
SocketCANInterface
(
const
std
::
string
&
canbus
,
std
::
shared_ptr
<
rclcpp
::
Node
>
&
nh
,
std
::
function
<
void
(
const
can_msgs
::
msg
::
Frame
::
SharedPtr
msg
)
>
cb
)
bool
recv
(
can_msgs
::
msg
::
Frame
::
SharedPtr
msg
)
void
send
(
can_msgs
::
msg
::
Frame
msg
)
void
queue
(
can_msgs
::
msg
::
Frame
msg
)
void
startSendTimer
(
uint16_t
period_ms
)
void
stopSendTimer
(
)