Macros | Functions | Variables
keyboard_teleop.cpp File Reference
#include "ros/ros.h"
#include <webots_ros/Int32Stamped.h>
#include <webots_ros/set_float.h>
#include <webots_ros/set_int.h>
#include <webots_ros/robot_get_device_list.h>
#include <std_msgs/String.h>
#include <signal.h>
#include <stdio.h>
Include dependency graph for keyboard_teleop.cpp:

Go to the source code of this file.

Macros

#define TIME_STEP   32
 

Functions

void controllerNameCallback (const std_msgs::String::ConstPtr &name)
 
void keyboardCallback (const webots_ros::Int32Stamped::ConstPtr &value)
 
int main (int argc, char **argv)
 
void quit (int sig)
 

Variables

static int controllerCount
 
static std::vector< std::string > controllerList
 
static std::string controllerName
 
ros::ServiceClient enableKeyboardClient
 
webots_ros::set_int enableKeyboardSrv
 
ros::ServiceClient leftWheelClient
 
webots_ros::set_float leftWheelSrv
 
static double lposition = 0
 
ros::ServiceClient rightWheelClient
 
webots_ros::set_float rightWheelSrv
 
static double rposition = 0
 
ros::ServiceClient timeStepClient
 
webots_ros::set_int timeStepSrv
 

Macro Definition Documentation

#define TIME_STEP   32

Definition at line 29 of file keyboard_teleop.cpp.

Function Documentation

void controllerNameCallback ( const std_msgs::String::ConstPtr &  name)

Definition at line 50 of file keyboard_teleop.cpp.

void keyboardCallback ( const webots_ros::Int32Stamped::ConstPtr &  value)

Definition at line 66 of file keyboard_teleop.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 110 of file keyboard_teleop.cpp.

void quit ( int  sig)

Definition at line 56 of file keyboard_teleop.cpp.

Variable Documentation

int controllerCount
static

Definition at line 31 of file keyboard_teleop.cpp.

std::vector<std::string> controllerList
static

Definition at line 32 of file keyboard_teleop.cpp.

std::string controllerName
static

Definition at line 33 of file keyboard_teleop.cpp.

ros::ServiceClient enableKeyboardClient

Definition at line 46 of file keyboard_teleop.cpp.

webots_ros::set_int enableKeyboardSrv

Definition at line 47 of file keyboard_teleop.cpp.

ros::ServiceClient leftWheelClient

Definition at line 37 of file keyboard_teleop.cpp.

webots_ros::set_float leftWheelSrv

Definition at line 38 of file keyboard_teleop.cpp.

double lposition = 0
static

Definition at line 34 of file keyboard_teleop.cpp.

ros::ServiceClient rightWheelClient

Definition at line 40 of file keyboard_teleop.cpp.

webots_ros::set_float rightWheelSrv

Definition at line 41 of file keyboard_teleop.cpp.

double rposition = 0
static

Definition at line 35 of file keyboard_teleop.cpp.

ros::ServiceClient timeStepClient

Definition at line 43 of file keyboard_teleop.cpp.

webots_ros::set_int timeStepSrv

Definition at line 44 of file keyboard_teleop.cpp.



webots_ros
Author(s):
autogenerated on Mon Jul 8 2019 03:19:27