Project

General

Profile

Revision 2814387f

ID2814387f48599dab8a99852093cc51629a14fb89
Parent f0a9ebb3
Child a8480867

Added by Alex Zirbel over 12 years ago

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.

View differences:

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