Project

General

Profile

Revision 6ebee82c

ID6ebee82cf91abf048eaf42a61093144dd1743693
Parent bda6eaa0
Child 492d2fde, 673f8af1

Added by Alex Zirbel over 3 years ago

Moved all messages to the messages/ folder.

This meant changing a lot of includes and things.

View differences:

scout/motors/src/motors.h
40 40
#define _MOTORS_H_
41 41

  
42 42
#include <fstream>
43
#include <motors/set_motors.h>
44
#include <motors/query_motors.h>
43
#include <messages/set_motors.h>
44
#include <messages/query_motors.h>
45 45

  
46 46
#define QUEUE_SIZE 10
47 47

  
......
49 49
int main(int argc, char **argv);
50 50

  
51 51
/** @brief Responds to topic to set motor speeds and configs. **/
52
void motors_set(const motors::set_motors::ConstPtr& msg);
52
void motors_set(const messages::set_motors::ConstPtr& msg);
53 53

  
54 54
/** @brief Responds to service to query motor speeds. **/
55
bool motors_query(motors::query_motors::Request &req,
56
                  motors::query_motors::Response &res);
55
bool motors_query(messages::query_motors::Request &req,
56
                  messages::query_motors::Response &res);
57 57

  
58 58
class Motor
59 59
{

Also available in: Unified diff