Revision 2814387f
Updated motors code.
Changed the definitions for the set_motors message, which forced a few
implementation changes as well.
Changed "libscout_node" to "node" and "n" to "node" in other packages.
scout/libscout/src/libheadlights.cpp | ||
---|---|---|
38 | 38 |
#include "libheadlights.h" |
39 | 39 |
|
40 | 40 |
/* ROS node created in libscout.cpp */ |
41 |
extern ros::NodeHandle libscout_node;
|
|
41 |
extern ros::NodeHandle node; |
|
42 | 42 |
|
43 | 43 |
/** ROS publisher and client declaration */ |
44 | 44 |
ros::Publisher set_headlights_publisher; |
... | ... | |
51 | 51 |
void libheadlights_init() |
52 | 52 |
{ |
53 | 53 |
set_headlights_publisher = |
54 |
libscout_node.advertise<headlights::set_headlights>("libheadlights", 10);
|
|
54 |
node.advertise<headlights::set_headlights>("libheadlights", 10); |
|
55 | 55 |
} |
56 | 56 |
|
57 | 57 |
/*! |
Also available in: Unified diff