rosconsole_simu.hpp
Go to the documentation of this file.
1 #include "sick_scan/sick_scan_base.h" /* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */
2 #ifndef ROSCONSOLE_SIMU_HPP
3 #define ROSCONSOLE_SIMU_HPP
4 
5 #pragma warning(disable: 4996)
6 #pragma warning(disable: 4267)
7 
8 #include <stdio.h>
9 #include <stdlib.h>
10 #include <string.h>
11 #include <string>
12 // #define ROSCPP_ROS_H
13 // #define ROSCPP_NODE_HANDLE_H
14 // #define ROSCPP_THIS_NODE_H
15 // #define ROSCPP_PUBLISHER_HANDLE_H
16 // #define ROSCPP_SUBSCRIPTION_H
17 #include <ros/ros.h>
18 
19 //int fork();
20 void sleep(int secs);
21 
22 namespace roswrap
23 {
24  namespace console
25  {
26  //bool g_initialized = true;
27 #undef ROS_WARN
28 #undef ROS_INFO
29 #undef ROS_DEBUG
30 #undef ROS_FATAL
31 #undef ROS_ERROR
32 #undef ROS_ERROR_THROTTLE
33 #undef ROS_WARN_ONCE
34 #define ROS_WARN(...) do { fprintf(stderr,"ROS_WARN: "); fprintf (stderr, __VA_ARGS__); fprintf (stderr,"\n"); } while(0)
35 #define ROS_INFO(...) do { fprintf(stderr,"ROS_INFO: "); fprintf (stderr, __VA_ARGS__); fprintf (stderr,"\n"); } while(0)
36 #define ROS_DEBUG(...) do { fprintf(stderr,"ROS_DEBUG: "); fprintf (stderr, __VA_ARGS__); fprintf (stderr,"\n"); } while(0)
37 #define ROS_FATAL(...)
38 #define ROS_ERROR(...) do { fprintf (stderr, __VA_ARGS__); fprintf (stderr,"\n"); } while(0) // #define eprintf(format, �) fprintf (stderr, format, __VA_ARGS__)
39 
40 #define ROS_ERROR_THROTTLE(...)
41 #define ROS_WARN_ONCE(...)
42  // #define ROS_WARN(...) ROS_LOG(::ros::console::levels::Warn, ROSCONSOLE_DEFAULT_NAME, __VA_ARGS__)
43 
44 //#undef ROS_DEBUG_STREAM
45 //#define ROS_DEBUG_STREAM(message) { std::stringstream _msg; _msg << message; ROS_DEBUG(_msg.str().c_str()); }
46  }
47 
48  // class NodeHandle
49  // {
50  // public:
51  // template <typename T> bool getParam(const std::string& param_name, T& param_value) { return false; }
52  // template <typename T> void setParam(const std::string& param_name, const T& param_value) { }
53  // };
54 }
55 
56 int rossimu_error(const char *format, ...);
58 #endif
rossimu_error
int rossimu_error(const char *format,...)
Definition: rossimu.cpp:430
rossimu_settings
int rossimu_settings(ros::NodeHandle &nhPriv)
Definition: rossimu.cpp:443
roswrap
Definition: param_modi.cpp:41
sick_scan_base.h
sleep
void sleep(int secs)
ros::NodeHandle


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:10