Project

General

Profile

Revision dd5d7f53

IDdd5d7f53f35da669816c1c93b173eed3bfa0e962
Parent 3f5aa522
Child 071e2c1c

Added by tahm over 10 years ago

Converted back to msgs, before pushing to roboclub VCS

View differences:

turtlesim_ref/tutorials/teleop_turtle_key.cpp
4 4
 *
5 5
 */
6 6
#include <ros/ros.h>
7
#include <turtlesim/Velocity.h>
7
#include <turtlesim_ref/Velocity.h>
8 8
#include <signal.h>
9 9
#include <termios.h>
10 10
#include <stdio.h>
......
39 39
  nh_.param("scale_angular", a_scale_, a_scale_);
40 40
  nh_.param("scale_linear", l_scale_, l_scale_);
41 41

  
42
  vel_pub_ = nh_.advertise<turtlesim::Velocity>("turtle1/command_velocity", 1);
42
  vel_pub_ = nh_.advertise<turtlesim_ref::Velocity>("turtle1/command_velocity", 1);
43 43
}
44 44

  
45 45
int kfd = 0;
......
123 123
    }
124 124
   
125 125

  
126
    turtlesim::Velocity vel;
126
    turtlesim_ref::Velocity vel;
127 127
    vel.angular = a_scale_*angular_;
128 128
    vel.linear = l_scale_*linear_;
129 129
    if(dirty ==true)

Also available in: Unified diff