Skip to content

Commit

Permalink
code style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MFernandezCarmona committed May 29, 2024
1 parent b3779aa commit a462ed9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ class MarkerVisualizer : public rclcpp::Node
void rb_callback(const mocap4r2_msgs::msg::RigidBodies::SharedPtr msg) const;

visualization_msgs::msg::Marker marker2visual(
int index, const geometry_msgs::msg::Point & translation,
int index, const geometry_msgs::msg::Point & translation,
const std_msgs::msg::Header & header) const;

visualization_msgs::msg::Marker rb2visual(
int index, const geometry_msgs::msg::Pose & poserb,
int index, const geometry_msgs::msg::Pose & poserb,
const std_msgs::msg::Header & header) const;

geometry_msgs::msg::Pose mocap2rviz(const geometry_msgs::msg::Pose mocap4r2_pose) const;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ MarkerVisualizer::rb_callback(const mocap4r2_msgs::msg::RigidBodies::SharedPtr m
visual_markers_rb.markers.push_back(rb2visual(counter_rb++, rb.pose, msg->header));

for (const mocap4r2_msgs::msg::Marker & marker : rb.markers) {
visual_markers_rb.markers.push_back(marker2visual(counter_markers_rb++,
visual_markers_rb.markers.push_back(marker2visual(counter_markers_rb++,
marker.translation, msg->header));
}
}
Expand All @@ -153,7 +153,7 @@ MarkerVisualizer::rb_callback(const mocap4r2_msgs::msg::RigidBodies::SharedPtr m


visualization_msgs::msg::Marker
MarkerVisualizer::rb2visual(int index, const geometry_msgs::msg::Pose & poserb,
MarkerVisualizer::rb2visual(int index, const geometry_msgs::msg::Pose & poserb,
const std_msgs::msg::Header & header) const
{
visualization_msgs::msg::Marker viz_marker;
Expand Down

0 comments on commit a462ed9

Please sign in to comment.