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/libbuttons.cpp
41 41

  
42 42

  
43 43
/* ROS node created in libscout.cpp */
44
extern ros::NodeHandle libscout_node;
44
extern ros::NodeHandle node;
45 45

  
46 46
/** ROS publisher and client declaration */
47 47
ros::Publisher button_event_publisher;
......
55 55
 */
56 56
void libbuttons_init()
57 57
{
58
  button_event_publisher = libscout_node.advertise<buttons::button_event>("libbuttons", 10);
59
  query_buttons_client = libscout_node.serviceClient<buttons::query_buttons>("libbuttons");
58
  button_event_publisher = node.advertise<buttons::button_event>("libbuttons", 10);
59
  query_buttons_client = node.serviceClient<buttons::query_buttons>("libbuttons");
60 60
}
61 61

  
62 62
/*!

Also available in: Unified diff