#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>
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 | 
| #define TIME_STEP 32 | 
Definition at line 29 of file keyboard_teleop.cpp.
| 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.
| 
 | static | 
Definition at line 31 of file keyboard_teleop.cpp.
| 
 | static | 
Definition at line 32 of file keyboard_teleop.cpp.
| 
 | 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.
| 
 | 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.
| 
 | 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.