Skip to content

Commit ee1bd08

Browse files
author
Michael Koval
committed
Renamed or_interactivemarker to or_rviz.
1 parent 3fcb47b commit ee1bd08

34 files changed

+54
-53
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 2.4.6)
2-
project(or_interactivemarker)
2+
project(or_rviz)
33
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
44

55
find_package(catkin REQUIRED COMPONENTS

README.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# or_interactivemarker #
1+
# or_rviz #
22

3-
**or_interactivemarker** is an OpenRAVE plugin that provides two ROS-friendly OpenRAVE
3+
**or_rviz** is an OpenRAVE plugin that provides two ROS-friendly OpenRAVE
44
viewers that publish an OpenRAVE environment as
55
[interactive markers](http://wiki.ros.org/interactive_markers)
66
to be visualized in
@@ -19,12 +19,12 @@ to be visualized in
1919
> ROS Groovy or Hydro, you must checkout and build the `indigo-devel` branch of
2020
> `interactive_markers`.**
2121
22-
**or_interactivemarker** is a ROS package that can be installed into any ROS
22+
**or_rviz** is a ROS package that can be installed into any ROS
2323
Catkin workspace. It requires the helper package
2424
[`openrave_catkin`](https://github.com/personalrobotics/openrave_catkin) to be
2525
automatically added to the `OPENRAVE_PLUGIN` path.
2626

27-
You can try running `rosrun or_interactivemarker test.py` to test your
27+
You can try running `rosrun or_rviz test.py` to test your
2828
installation. This script loads the `wamtest1.env.xml` environment, which is
2929
one of the default environments shipped with OpenRAVE, into the `RViz`
3030
in-process viewer.
@@ -105,7 +105,7 @@ The following functions are unimplemented:
105105

106106
## Brief Overview of Features ##
107107

108-
or_interactivemarker publishes a separate `InteractiveMarker` for each of a
108+
or_rviz publishes a separate `InteractiveMarker` for each of a
109109
robot's links. You can right click on any link of a robot to access the
110110
following functionality:
111111

@@ -143,9 +143,9 @@ You may get the following error message when running a standalone RViz instance
143143
after using the in-process viewer:
144144

145145
> [ERROR] PluginlibFactory: The plugin for class
146-
> 'or_interactivemarker::rviz::EnvironmentDisplay' failed to load. Error:
146+
> 'or_rviz::rviz::EnvironmentDisplay' failed to load. Error:
147147
> Could not find library corresponding to plugin
148-
> or_interactivemarker::rviz::EnvironmentDisplay. Make sure the plugin
148+
> or_rviz::rviz::EnvironmentDisplay. Make sure the plugin
149149
> description XML file has the correct name of the library and that the library
150150
> actually exists.
151151
@@ -157,20 +157,20 @@ prevent this error from printing in the future by deleting the offending
157157
`EnvironmentDisplay` component from RViz and re-saving your configuration.
158158

159159
We are interested in finding a more elegant workaround for this problem. Please
160-
[open an issue](https://github.com/personalrobotics/or_interactivemarker/issues) or
161-
[send us a pull request](https://github.com/personalrobotics/or_interactivemarker/compare)
160+
[open an issue](https://github.com/personalrobotics/or_rviz/issues) or
161+
[send us a pull request](https://github.com/personalrobotics/or_rviz/compare)
162162
if you have any suggestions.
163163

164164

165165
## License ##
166166

167-
or_interactivemarker is licensed under a BSD license. See [LICENSE](LICENSE) for more
167+
or_rviz is licensed under a BSD license. See [LICENSE](LICENSE) for more
168168
information.
169169

170170

171171
## Contributors ##
172172

173-
or_interactivemarker is developed by the
173+
or_rviz is developed by the
174174
[Personal Robotics Lab](https://personalrobotics.ri.cmu.edu) in the [Robotics
175175
Institute](https://www.ri.cmu.edu) at [Carnegie Mellon
176176
University](http://www.cmu.edu). The out-of-process `InteractiveMarker` viewer

include/or_interactivemarker/InteractiveMarkerViewer.h renamed to include/or_rviz/InteractiveMarkerViewer.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3838
#include "markers/KinBodyMarker.h"
3939
#include "util/InteractiveMarkerGraphHandle.h"
4040

41-
namespace or_interactivemarker {
41+
namespace or_rviz {
4242

4343
class InteractiveMarkerViewer : public OpenRAVE::ViewerBase {
4444
public:

include/or_interactivemarker/RVizViewer.h renamed to include/or_rviz/RVizViewer.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4040
#include "rviz/EnvironmentDisplay.h"
4141
#include "InteractiveMarkerViewer.h"
4242

43-
namespace or_interactivemarker {
43+
namespace or_rviz {
4444

4545
namespace detail {
4646

include/or_interactivemarker/markers/JointMarker.h renamed to include/or_rviz/markers/JointMarker.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3434
#include <openrave/openrave.h>
3535
#include <interactive_markers/interactive_marker_server.h>
3636

37-
namespace or_interactivemarker {
37+
namespace or_rviz {
3838
namespace markers {
3939

4040
class JointMarker;

include/or_interactivemarker/markers/KinBodyJointMarker.h renamed to include/or_rviz/markers/KinBodyJointMarker.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3535
#include <interactive_markers/interactive_marker_server.h>
3636
#include "JointMarker.h"
3737

38-
namespace or_interactivemarker {
38+
namespace or_rviz {
3939
namespace markers {
4040

4141
class KinBodyJointMarker;

include/or_interactivemarker/markers/KinBodyLinkMarker.h renamed to include/or_rviz/markers/KinBodyLinkMarker.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3434
#include <interactive_markers/interactive_marker_server.h>
3535
#include "LinkMarker.h"
3636

37-
namespace or_interactivemarker {
37+
namespace or_rviz {
3838
namespace markers {
3939

4040
class KinBodyLinkMarker;

include/or_interactivemarker/markers/KinBodyMarker.h renamed to include/or_rviz/markers/KinBodyMarker.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4040
#include "KinBodyJointMarker.h"
4141
#include "ManipulatorMarker.h"
4242

43-
namespace or_interactivemarker {
43+
namespace or_rviz {
4444
namespace markers {
4545

4646
class KinBodyMarker;

include/or_interactivemarker/markers/LinkMarker.h renamed to include/or_rviz/markers/LinkMarker.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4040
#include <interactive_markers/menu_handler.h>
4141
#include <interactive_markers/interactive_marker_server.h>
4242

43-
namespace or_interactivemarker {
43+
namespace or_rviz {
4444
namespace markers {
4545

4646
class LinkMarker;

include/or_interactivemarker/markers/ManipulatorMarker.h renamed to include/or_rviz/markers/ManipulatorMarker.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3737
#include "LinkMarker.h"
3838
#include "JointMarker.h"
3939

40-
namespace or_interactivemarker {
40+
namespace or_rviz {
4141
namespace markers {
4242

4343
class ManipulatorMarker;

include/or_interactivemarker/rviz/EnvironmentDisplay.h renamed to include/or_rviz/rviz/EnvironmentDisplay.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4040
#include <rviz/properties/tf_frame_property.h>
4141
#include <openrave/openrave.h>
4242

43-
namespace or_interactivemarker {
43+
namespace or_rviz {
4444
namespace rviz {
4545

4646
class EnvironmentDisplay : public ::rviz::Display

include/or_interactivemarker/util/InteractiveMarkerGraphHandle.h renamed to include/or_rviz/util/InteractiveMarkerGraphHandle.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <openrave/openrave.h>
55
#include <interactive_markers/interactive_marker_server.h>
66

7-
namespace or_interactivemarker {
7+
namespace or_rviz {
88
namespace util {
99

1010
class InteractiveMarkerGraphHandle : public OpenRAVE::GraphHandle {

include/or_interactivemarker/util/ScopedConnection.h renamed to include/or_rviz/util/ScopedConnection.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <boost/signals2.hpp>
44
#include <openrave/openrave.h>
55

6-
namespace or_interactivemarker {
6+
namespace or_rviz {
77
namespace util {
88

99
class ScopedConnection : public OpenRAVE::UserData {

include/or_interactivemarker/util/ogre_conversions.h renamed to include/or_rviz/util/ogre_conversions.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3636
#include <geometry_msgs/Pose.h>
3737
#include <openrave/geometry.h>
3838

39-
namespace or_interactivemarker {
39+
namespace or_rviz {
4040
namespace util {
4141

4242
template <class Scalar>

include/or_interactivemarker/util/ros_conversions.h renamed to include/or_rviz/util/ros_conversions.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3838
#include <geometry_msgs/Vector3.h>
3939
#include <openrave/openrave.h>
4040

41-
namespace or_interactivemarker {
41+
namespace or_rviz {
4242
namespace util {
4343

4444
extern std::string const kDefaultWorldFrameId;

package.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
<?xml version="1.0"?>
22
<package format="2">
3-
<name>or_interactivemarker</name>
3+
<name>or_rviz</name>
44
<version>0.1.0</version>
55
<description>
66
OpenRAVE viewer plugin that publishes the environment as InteractiveMarkers
77
that can be visualized in RViz.
88
</description>
9-
<url type="repository">https://github.com/mkoval/or_interactivemarker</url>
9+
<url type="website">https://github.com/mkoval/or_rviz</url>
10+
<url type="repository">https://github.com/mkoval/or_rviz.git</url>
11+
<url type="bugtracker">https://github.com/mkoval/or_rviz/issues</url>
1012
<maintainer email="[email protected]">Michael Koval</maintainer>
1113
<author email="[email protected]">Michael Koval</author>
1214
<author email="[email protected]">Matthew Klingensmith</author>

plugins.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<library path="lib/or_interactivemarker_rviz">
2-
<class type="or_interactivemarker::rviz::EnvironmentDisplay"
1+
<library path="lib/or_rviz_rviz">
2+
<class type="or_rviz::rviz::EnvironmentDisplay"
33
base_class_type="rviz::Display">
44
<description>
55
Display information about an OpenRAVE environment.

src/InteractiveMarkerViewer.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ using visualization_msgs::InteractiveMarkerPtr;
4545
using OpenRAVE::KinBodyPtr;
4646
using OpenRAVE::GraphHandlePtr;
4747

48-
using namespace or_interactivemarker::markers;
49-
using namespace or_interactivemarker::util;
48+
using namespace or_rviz::markers;
49+
using namespace or_rviz::util;
5050

5151
typedef boost::shared_ptr<interactive_markers::InteractiveMarkerServer> InteractiveMarkerServerPtr;
5252

5353
static double const kRefreshRate = 30;
5454
static double const kWidthScaleFactor = 100;
5555

56-
namespace or_interactivemarker {
56+
namespace or_rviz {
5757

5858
namespace {
5959

src/RVizViewer.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static std::string const kOffscreenCameraName = "OffscreenCamera";
5656
static std::string const kInteractiveMarkersDisplayName = "OpenRAVE Markers";
5757
static std::string const kEnvironmentDisplayName = "OpenRAVE Environment";
5858

59-
namespace or_interactivemarker {
59+
namespace or_rviz {
6060

6161
/*
6262
* Helpers
@@ -479,7 +479,7 @@ rviz::EnvironmentDisplay *RVizViewer::InitializeEnvironmentDisplay(
479479
{
480480
auto *const display =
481481
detail::getOrCreateDisplay<rviz::EnvironmentDisplay>(
482-
rviz_manager_, "or_interactivemarker::rviz::EnvironmentDisplay",
482+
rviz_manager_, "or_rviz::rviz::EnvironmentDisplay",
483483
kEnvironmentDisplayName, true);
484484

485485
display->set_environment(env);

src/markers/JointMarker.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ using OpenRAVE::dReal;
4646
using OpenRAVE::KinBody;
4747
using OpenRAVE::KinBodyPtr;
4848

49-
using namespace or_interactivemarker::util;
49+
using namespace or_rviz::util;
5050

5151
typedef boost::shared_ptr<InteractiveMarkerServer> InteractiveMarkerServerPtr;
5252
typedef OpenRAVE::KinBody::JointPtr JointPtr;
5353

54-
namespace or_interactivemarker {
54+
namespace or_rviz {
5555
namespace markers {
5656

5757
JointMarker::JointMarker(InteractiveMarkerServerPtr server, JointPtr joint)

src/markers/KinBodyJointMarker.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ using OpenRAVE::KinBodyPtr;
3838
typedef boost::shared_ptr<InteractiveMarkerServer> InteractiveMarkerServerPtr;
3939
typedef OpenRAVE::KinBody::JointPtr JointPtr;
4040

41-
namespace or_interactivemarker {
41+
namespace or_rviz {
4242
namespace markers {
4343

4444
KinBodyJointMarker::KinBodyJointMarker(InteractiveMarkerServerPtr server, JointPtr joint)

src/markers/KinBodyLinkMarker.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3535
using interactive_markers::MenuHandler;
3636
using visualization_msgs::InteractiveMarkerFeedbackConstPtr;
3737

38-
using namespace or_interactivemarker::util;
38+
using namespace or_rviz::util;
3939

4040
typedef OpenRAVE::KinBody::LinkPtr LinkPtr;
4141
typedef OpenRAVE::KinBody::LinkInfo LinkInfo;
@@ -54,7 +54,7 @@ static bool CheckStateToBool(MenuHandler::CheckState const &state)
5454
return state == MenuHandler::CHECKED;
5555
}
5656

57-
namespace or_interactivemarker {
57+
namespace or_rviz {
5858
namespace markers {
5959

6060
KinBodyLinkMarker::KinBodyLinkMarker(boost::shared_ptr<interactive_markers::InteractiveMarkerServer> server,

src/markers/KinBodyMarker.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ using visualization_msgs::InteractiveMarkerFeedbackConstPtr;
5454
using interactive_markers::InteractiveMarkerServer;
5555
using interactive_markers::MenuHandler;
5656

57-
using namespace or_interactivemarker::util;
57+
using namespace or_rviz::util;
5858

5959
typedef OpenRAVE::KinBody::LinkPtr LinkPtr;
6060
typedef OpenRAVE::KinBody::JointPtr JointPtr;
6161
typedef OpenRAVE::RobotBase::ManipulatorPtr ManipulatorPtr;
6262
typedef boost::shared_ptr<InteractiveMarkerServer> InteractiveMarkerServerPtr;
6363
typedef MenuHandler::EntryHandle EntryHandle;
6464

65-
namespace or_interactivemarker {
65+
namespace or_rviz {
6666
namespace markers {
6767

6868
// TODO: Move this to a helper header.

src/markers/LinkMarker.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ using visualization_msgs::InteractiveMarkerControl;
5858
using visualization_msgs::InteractiveMarkerFeedbackConstPtr;
5959
using interactive_markers::InteractiveMarkerServer;
6060

61-
using namespace or_interactivemarker::util;
61+
using namespace or_rviz::util;
6262

6363
typedef OpenRAVE::KinBody::LinkPtr LinkPtr;
6464
typedef boost::shared_ptr<OpenRAVE::TriMesh> TriMeshPtr;
6565
typedef OpenRAVE::RobotBase::ManipulatorPtr ManipulatorPtr;
6666
typedef OpenRAVE::KinBody::Link::GeometryPtr GeometryPtr;
6767
typedef boost::shared_ptr<InteractiveMarkerServer> InteractiveMarkerServerPtr;
6868

69-
namespace or_interactivemarker {
69+
namespace or_rviz {
7070
namespace markers {
7171

7272
OpenRAVE::Vector const LinkMarker::kCollisionColor(0.0, 0.0, 1.0, 0.5);

src/markers/ManipulatorMarker.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ using OpenRAVE::RobotBasePtr;
4848
using OpenRAVE::KinBody;
4949
using OpenRAVE::IkSolverBasePtr;
5050

51-
using namespace or_interactivemarker::util;
51+
using namespace or_rviz::util;
5252

5353
typedef OpenRAVE::RobotBase::RobotStateSaver RobotStateSaver;
5454

@@ -66,7 +66,7 @@ typedef OpenRAVE::RobotBase::ManipulatorInfoConstPtr ManipulatorInfoConstPtr;
6666
typedef OpenRAVE::RobotBase::AttachedSensorInfo AttachedSensorInfo;
6767
typedef OpenRAVE::RobotBase::AttachedSensorInfoConstPtr AttachedSensorInfoConstPtr;
6868

69-
namespace or_interactivemarker {
69+
namespace or_rviz {
7070
namespace markers {
7171

7272
OpenRAVE::Vector const ManipulatorMarker::kValidColor(0, 1, 0, 0.4);

src/plugin.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ InterfaceBasePtr CreateInterfaceValidated(
5151
InterfaceType type, std::string const &interfacename,
5252
std::istream & sinput, EnvironmentBasePtr env)
5353
{
54-
using namespace or_interactivemarker;
54+
using namespace or_rviz;
5555

5656
if (type == PT_Viewer && (interfacename == "interactivemarker"
5757
|| interfacename == "rviz")) {

src/rviz/EnvironmentDisplay.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ using boost::lexical_cast;
4141

4242
static QString const kDefaultFrame = "map";
4343

44-
namespace or_interactivemarker {
44+
namespace or_rviz {
4545
namespace rviz {
4646

4747
EnvironmentDisplay::EnvironmentDisplay()
@@ -193,5 +193,4 @@ void EnvironmentDisplay::BodyCallback(OpenRAVE::KinBodyPtr body, int flag)
193193

194194
// Tell pluginlib about this class. It is important to do this in
195195
// global scope, outside our package's namespace.
196-
PLUGINLIB_EXPORT_CLASS(or_interactivemarker::rviz::EnvironmentDisplay,
197-
::rviz::Display)
196+
PLUGINLIB_EXPORT_CLASS(or_rviz::rviz::EnvironmentDisplay, ::rviz::Display)

src/util/InteractiveMarkerGraphHandle.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using visualization_msgs::InteractiveMarkerPtr;
55

6-
namespace or_interactivemarker {
6+
namespace or_rviz {
77
namespace util {
88

99
InteractiveMarkerGraphHandle::InteractiveMarkerGraphHandle(

src/util/ScopedConnection.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "util/ScopedConnection.h"
22

3-
namespace or_interactivemarker {
3+
namespace or_rviz {
44
namespace util {
55

66
ScopedConnection::ScopedConnection(boost::signals2::connection const &connection)

0 commit comments

Comments
 (0)