Skip to content

Commit

Permalink
set Q_MOC_RUN
Browse files Browse the repository at this point in the history
  • Loading branch information
knorth55 committed Mar 14, 2018
1 parent 198c65f commit c95f46e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion baxter_sim_io/include/baxter_sim_io/qnode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,14 @@
#ifndef baxter_sim_io_QNODE_HPP_
#define baxter_sim_io_QNODE_HPP_

#ifndef Q_MOC_RUN
#include <ros/ros.h>
#include <string>
#include <QThread>
#include <QStringListModel>
#include <baxter_core_msgs/NavigatorState.h>
#include <baxter_core_msgs/DigitalIOState.h>
#endif
#include <string>

namespace baxter_sim_io
{
Expand Down
6 changes: 4 additions & 2 deletions baxter_sim_io/src/qnode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@
* \author Hariharasudan Malaichamee
* \desc ROS node that publishes the states captured from the QT events
*/
#ifndef Q_MOC_RUN
#include <ros/ros.h>
#include <ros/network.h>
#include <string>
#include <baxter_sim_io/qnode.hpp>
#include <std_msgs/String.h>
#endif
#include <string>
#include <sstream>
#include <baxter_sim_io/qnode.hpp>
#include <signal.h>

namespace baxter_sim_io
Expand Down

0 comments on commit c95f46e

Please sign in to comment.