Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add radar tracks msgs converter #1012

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
apply format
Signed-off-by: scepter914 <scepter914@gmail.com>
  • Loading branch information
scepter914 committed May 31, 2022
commit 496497b3f0b2a494789531ea0fd739adaa452ece
1 change: 1 addition & 0 deletions perception/radar_tracks_msgs_converter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This package convert from [radar_msgs/msg/RadarTracks](https://github.com/ros-pe
- n: The number of radar objects

## Design

### Input / Output

- Input
Expand Down
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 RADAR_TRACKS_MSGS_CONVERTER__RADAR_TRACKS_MSGS_CONVERTER_NODE_HPP__
#define RADAR_TRACKS_MSGS_CONVERTER__RADAR_TRACKS_MSGS_CONVERTER_NODE_HPP__
#ifndef RADAR_TRACKS_MSGS_CONVERTER__RADAR_TRACKS_MSGS_CONVERTER_NODE_HPP_
#define RADAR_TRACKS_MSGS_CONVERTER__RADAR_TRACKS_MSGS_CONVERTER_NODE_HPP_

#include "rclcpp/rclcpp.hpp"
#include "tier4_autoware_utils/tier4_autoware_utils.hpp"
Expand Down Expand Up @@ -92,4 +92,4 @@ class RadarTracksMsgsConverterNode : public rclcpp::Node

} // namespace radar_tracks_msgs_converter

#endif // RADAR_TRACKS_MSGS_CONVERTER__RADAR_TRACKS_MSGS_CONVERTER_NODE_HPP__
#endif // RADAR_TRACKS_MSGS_CONVERTER__RADAR_TRACKS_MSGS_CONVERTER_NODE_HPP_
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<launch>
<arg name="input/radar_objects" default="input/radar_objects" />
<arg name="input/twist" default="input/twist" />
<arg name="output/radar_objects" default="output/radar_objects" />
<arg name="update_rate_hz" default="20.0" />
<arg name="use_twist_compensation" default="false" />
<arg name="input/radar_objects" default="input/radar_objects"/>
<arg name="input/twist" default="input/twist"/>
<arg name="output/radar_objects" default="output/radar_objects"/>
<arg name="update_rate_hz" default="20.0"/>
<arg name="use_twist_compensation" default="false"/>

<node pkg="radar_tracks_msgs_converter" exec="radar_tracks_msgs_converter_node" name="radar_tracks_msgs_converter" output="screen">
<remap from="~/input/radar_objects" to="$(var input/radar_objects)" />
<remap from="~/input/twist" to="$(var input/twist)" />
<remap from="~/output/radar_objects" to="$(var output/radar_objects)" />
<remap from="~/input/radar_objects" to="$(var input/radar_objects)"/>
<remap from="~/input/twist" to="$(var input/twist)"/>
<remap from="~/output/radar_objects" to="$(var output/radar_objects)"/>
<param name="update_rate_hz" value="$(var update_rate_hz)"/>
<param name="use_twist_compensation" value="$(var use_twist_compensation)"/>
</node>
Expand Down
10 changes: 5 additions & 5 deletions perception/radar_tracks_msgs_converter/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@

<buildtool_depend>ament_cmake_auto</buildtool_depend>

<depend>autoware_auto_perception_msgs</depend>
<depend>geometry_msgs</depend>
<depend>radar_msgs</depend>
<depend>rclcpp</depend>
<depend>rclcpp_components</depend>

<depend>tf2</depend>
<depend>tf2_geometry_msgs</depend>
<depend>tf2_ros</depend>

<depend>geometry_msgs</depend>
<depend>radar_msgs</depend>
<depend>autoware_auto_perception_msgs</depend>
<depend>tier4_autoware_utils</depend>



<test_depend>ament_clang_format</test_depend>
<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
Expand Down