Skip to content

Commit

Permalink
fix(tier4_planning_rviz_plugin): move headers to tier4_planning_rviz_…
Browse files Browse the repository at this point in the history
…plugin directory (#5927)

* fix(tier4_planning_rviz_plugin): move headers to tier4_planning_rviz_plugin directory

Signed-off-by: Esteve Fernandez <[email protected]>

* style(pre-commit): autofix

---------

Signed-off-by: Esteve Fernandez <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
esteve and pre-commit-ci[bot] authored Dec 26, 2023
1 parent b62b47b commit 51c2254
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 25 deletions.
8 changes: 4 additions & 4 deletions common/tier4_planning_rviz_plugin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ include_directories(

ament_auto_add_library(tier4_planning_rviz_plugin SHARED
# path point
include/path/display_base.hpp
include/path/display.hpp
include/tier4_planning_rviz_plugin/path/display_base.hpp
include/tier4_planning_rviz_plugin/path/display.hpp
src/path/display.cpp
# footprint
include/pose_with_uuid_stamped/display.hpp
include/tier4_planning_rviz_plugin/pose_with_uuid_stamped/display.hpp
src/pose_with_uuid_stamped/display.cpp
include/mission_checkpoint/mission_checkpoint.hpp
include/tier4_planning_rviz_plugin/mission_checkpoint/mission_checkpoint.hpp
src/mission_checkpoint/mission_checkpoint.cpp
src/tools/jsk_overlay_utils.cpp
src/tools/max_velocity.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/

#ifndef MISSION_CHECKPOINT__MISSION_CHECKPOINT_HPP_
#define MISSION_CHECKPOINT__MISSION_CHECKPOINT_HPP_
#ifndef TIER4_PLANNING_RVIZ_PLUGIN__MISSION_CHECKPOINT__MISSION_CHECKPOINT_HPP_
#define TIER4_PLANNING_RVIZ_PLUGIN__MISSION_CHECKPOINT__MISSION_CHECKPOINT_HPP_

#ifndef Q_MOC_RUN // See: https://bugreports.qt-project.org/browse/QTBUG-22829
#include <QObject>
Expand Down Expand Up @@ -88,4 +88,4 @@ private Q_SLOTS:

} // namespace rviz_plugins

#endif // MISSION_CHECKPOINT__MISSION_CHECKPOINT_HPP_
#endif // TIER4_PLANNING_RVIZ_PLUGIN__MISSION_CHECKPOINT__MISSION_CHECKPOINT_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef PATH__DISPLAY_HPP_
#define PATH__DISPLAY_HPP_
#ifndef TIER4_PLANNING_RVIZ_PLUGIN__PATH__DISPLAY_HPP_
#define TIER4_PLANNING_RVIZ_PLUGIN__PATH__DISPLAY_HPP_

#include <path/display_base.hpp>
#include "tier4_planning_rviz_plugin/path/display_base.hpp"

#include <autoware_auto_planning_msgs/msg/path.hpp>
#include <autoware_auto_planning_msgs/msg/path_with_lane_id.hpp>
Expand Down Expand Up @@ -228,4 +228,4 @@ class AutowareTrajectoryDisplay
};
} // namespace rviz_plugins

#endif // PATH__DISPLAY_HPP_
#endif // TIER4_PLANNING_RVIZ_PLUGIN__PATH__DISPLAY_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef PATH__DISPLAY_BASE_HPP_
#define PATH__DISPLAY_BASE_HPP_
#ifndef TIER4_PLANNING_RVIZ_PLUGIN__PATH__DISPLAY_BASE_HPP_
#define TIER4_PLANNING_RVIZ_PLUGIN__PATH__DISPLAY_BASE_HPP_

#include <rclcpp/rclcpp.hpp>
#include <rviz_common/display_context.hpp>
Expand All @@ -40,9 +40,10 @@
#include <vector>

#define EIGEN_MPL2_ONLY
#include "tier4_planning_rviz_plugin/utils.hpp"

#include <Eigen/Core>
#include <Eigen/Geometry>
#include <utils.hpp>

namespace
{
Expand Down Expand Up @@ -654,4 +655,4 @@ class AutowarePathBaseDisplay : public rviz_common::MessageFilterDisplay<T>
};
} // namespace rviz_plugins

#endif // PATH__DISPLAY_BASE_HPP_
#endif // TIER4_PLANNING_RVIZ_PLUGIN__PATH__DISPLAY_BASE_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef POSE_WITH_UUID_STAMPED__DISPLAY_HPP_
#define POSE_WITH_UUID_STAMPED__DISPLAY_HPP_
#ifndef TIER4_PLANNING_RVIZ_PLUGIN__POSE_WITH_UUID_STAMPED__DISPLAY_HPP_
#define TIER4_PLANNING_RVIZ_PLUGIN__POSE_WITH_UUID_STAMPED__DISPLAY_HPP_

#include <rviz_common/message_filter_display.hpp>

Expand Down Expand Up @@ -81,4 +81,4 @@ private Q_SLOTS:

} // namespace rviz_plugins

#endif // POSE_WITH_UUID_STAMPED__DISPLAY_HPP_
#endif // TIER4_PLANNING_RVIZ_PLUGIN__POSE_WITH_UUID_STAMPED__DISPLAY_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef UTILS_HPP_
#define UTILS_HPP_
#ifndef TIER4_PLANNING_RVIZ_PLUGIN__UTILS_HPP_
#define TIER4_PLANNING_RVIZ_PLUGIN__UTILS_HPP_

#include <tier4_autoware_utils/geometry/geometry.hpp>
#include <tier4_autoware_utils/math/normalization.hpp>
Expand Down Expand Up @@ -61,4 +61,4 @@ bool isDrivingForward(const T points_with_twist, size_t target_idx)
}
} // namespace rviz_plugins

#endif // UTILS_HPP_
#endif // TIER4_PLANNING_RVIZ_PLUGIN__UTILS_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/

#include <mission_checkpoint/mission_checkpoint.hpp>
#include "tier4_planning_rviz_plugin/mission_checkpoint/mission_checkpoint.hpp"

#ifdef ROS_DISTRO_GALACTIC
#include <tf2_geometry_msgs/tf2_geometry_msgs.h>
Expand Down
3 changes: 2 additions & 1 deletion common/tier4_planning_rviz_plugin/src/path/display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <path/display.hpp>
#include "tier4_planning_rviz_plugin/path/display.hpp"

#include <pluginlib/class_list_macros.hpp>

namespace rviz_plugins
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "rviz_common/properties/tf_frame_property.hpp"
#include "tier4_planning_rviz_plugin/pose_with_uuid_stamped/display.hpp"

#include <pose_with_uuid_stamped/display.hpp>
#include <rviz_common/properties/float_property.hpp>
#include <rviz_common/properties/tf_frame_property.hpp>
#include <rviz_common/validate_floats.hpp>
#include <rviz_rendering/objects/axes.hpp>
#include <rviz_rendering/objects/movable_text.hpp>
Expand Down

0 comments on commit 51c2254

Please sign in to comment.