Initial commit
This commit is contained in:
parent
8479b32a78
commit
022fcb2c1c
32 changed files with 3116 additions and 0 deletions
30
rviz_interface/rviz_interface/src/RvizInterface.hpp
Normal file
30
rviz_interface/rviz_interface/src/RvizInterface.hpp
Normal file
|
@ -0,0 +1,30 @@
|
|||
#ifndef RVIZINTERFACE_HPP
|
||||
#define RVIZINTERFACE_HPP
|
||||
|
||||
#include <ros/ros.h>
|
||||
|
||||
#include <interactive_markers/interactive_marker_server.h>
|
||||
#include <tf/tf.h>
|
||||
|
||||
#include "InteractiveObject.hpp"
|
||||
|
||||
#include <rviz_interface/InterfaceConfig.h>
|
||||
|
||||
class RvizInterface
|
||||
{
|
||||
protected:
|
||||
ros::NodeHandle _n;
|
||||
ros::Publisher _objective_pub;
|
||||
ros::Subscriber _config_sub;
|
||||
interactive_markers::InteractiveMarkerServer _server;
|
||||
|
||||
std::vector<InteractiveObject*> _objects;
|
||||
|
||||
public:
|
||||
RvizInterface();
|
||||
~RvizInterface();
|
||||
|
||||
void configCallback(const rviz_interface::InterfaceConfig & new_config);
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue