Functions | Variables
hz.cpp File Reference
#include <ros/ros.h>
#include <can_msgs/Frame.h>
#include <dataspeed_pds_can/dispatch.h>
Include dependency graph for hz.cpp:

Go to the source code of this file.

Functions

can_msgs::Frame buildMsg (int unit_id, uint32_t can_id)
 
int main (int argc, char **argv)
 
void timerCallback (const ros::TimerEvent &, int id)
 

Variables

ros::Publisher g_pub
 

Function Documentation

◆ buildMsg()

can_msgs::Frame buildMsg ( int  unit_id,
uint32_t  can_id 
)

Definition at line 46 of file hz.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 64 of file hz.cpp.

◆ timerCallback()

void timerCallback ( const ros::TimerEvent ,
int  id 
)

Definition at line 54 of file hz.cpp.

Variable Documentation

◆ g_pub

Definition at line 44 of file hz.cpp.



dataspeed_pds_can
Author(s): Kevin Hallenbeck , Eric Myllyoja , Michael Lohrer
autogenerated on Wed Mar 2 2022 00:11:44