Skip to content

Commit

Permalink
Clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
JafarAbdi committed Jul 22, 2020
1 parent b9ed6c0 commit 92526bb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions include/rviz_visual_tools/imarker_simple.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@

namespace rviz_visual_tools
{
using visualization_msgs::InteractiveMarkerFeedback;
using visualization_msgs::InteractiveMarkerControl;
using visualization_msgs::InteractiveMarkerFeedback;

typedef std::function<void(const visualization_msgs::InteractiveMarkerFeedbackConstPtr&)> IMarkerCallback;

Expand All @@ -67,7 +67,7 @@ geometry_msgs::Pose getIdentityPose()
pose.orientation.w = 1.0;
return pose;
}
}
} // namespace

class IMarkerSimple
{
Expand Down
5 changes: 3 additions & 2 deletions include/rviz_visual_tools/rviz_visual_tools.h
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,8 @@ class RvizVisualTools
* \return true on success
*/
bool publishWireframeCuboid(const Eigen::Isometry3d& pose, double depth, double width, double height,
colors color = BLUE, scales scale = SMALL, const std::string& ns = "Wireframe Cuboid", std::size_t id = 0);
colors color = BLUE, scales scale = XXSMALL, const std::string& ns = "Wireframe Cuboid",
std::size_t id = 0);

/**
* \brief Publish transformed wireframe cuboid. Useful eg to show an oriented bounding box.
Expand All @@ -739,7 +740,7 @@ class RvizVisualTools
* \return true on success
*/
bool publishWireframeCuboid(const Eigen::Isometry3d& pose, const Eigen::Vector3d& min_point,
const Eigen::Vector3d& max_point, colors color = BLUE, scales scale = SMALL,
const Eigen::Vector3d& max_point, colors color = BLUE, scales scale = XXSMALL,
const std::string& ns = "Wireframe Cuboid", std::size_t id = 0);

/**
Expand Down
4 changes: 2 additions & 2 deletions src/rviz_visual_tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2152,8 +2152,8 @@ bool RvizVisualTools::publishWireframeCuboid(const Eigen::Isometry3d& pose, doub
}

bool RvizVisualTools::publishWireframeCuboid(const Eigen::Isometry3d& pose, const Eigen::Vector3d& min_point,
const Eigen::Vector3d& max_point, colors color, scales scale, const std::string& ns,
std::size_t id)
const Eigen::Vector3d& max_point, colors color, scales scale,
const std::string& ns, std::size_t id)
{
// Extract 8 cuboid vertices
Eigen::Vector3d p1(min_point[0], min_point[1], min_point[2]);
Expand Down

0 comments on commit 92526bb

Please sign in to comment.