-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(aip_x2): update all sensor configuration (#140)
* feat: update gnss_link * fix: crop param * fix: LiDAR settings * feat: add ars408 radar launcher Signed-off-by: Tomohito Ando <[email protected]> * chore: add tf for radar Signed-off-by: Tomohito Ando <[email protected]> * chore: place the arg in the group to prevent affecting other launcher Signed-off-by: Tomohito Ando <[email protected]> * chore: change the IMU interface name to CAN1 Signed-off-by: Tomohito Ando <[email protected]> * fix: rename tlr camera * feat: remove camera launch * feat: hierarchized radar launch * fix: add multiple radar * chore: add comment * chore: change CAN port for IMU * feat: add radar * update lidar scan phase params Signed-off-by: Shunsuke Miura <[email protected]> * ci(pre-commit): autofix --------- Signed-off-by: Tomohito Ando <[email protected]> Signed-off-by: Shunsuke Miura <[email protected]> Co-authored-by: Tomohito Ando <[email protected]> Co-authored-by: Shunsuke Miura <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
51fdaa1
commit ff3fe45
Showing
12 changed files
with
257 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0"?> | ||
<robot xmlns:xacro="http://ros.org/wiki/xacro"> | ||
<xacro:macro name="radar_macro" params="name parent x y z roll pitch yaw"> | ||
<xacro:property name="mass" value="0.01" /> | ||
|
||
<joint name="${name}_base_mount_joint" type="fixed"> | ||
<origin rpy="${roll} ${pitch} ${yaw}" xyz="${x} ${y} ${z}"/> | ||
<parent link="${parent}"/> | ||
<child link="${name}"/> | ||
</joint> | ||
|
||
<link name="${name}"> | ||
<visual> | ||
<geometry> | ||
<box size="0.03 0.1 0.1"/> | ||
</geometry> | ||
<origin rpy="0 0 0" xyz="0 0 0"/> | ||
<material name="black"> | ||
<color rgba="0.1 0.1 0.1 1.0"/> | ||
</material> | ||
</visual> | ||
<inertial> | ||
<origin rpy="0 0 0" xyz="0 0 0"/> | ||
<mass value="${mass}"/> | ||
<inertia ixx="${(0.03*0.03+0.03*0.03)*mass/12.0}" ixy="0.0" ixz="0.0" | ||
iyy="${(0.1*0.1+0.1*0.1)*mass/12.0}" iyz="0.0" | ||
izz="${(0.1*0.1+0.1*0.1)*mass/12.0}"/> | ||
</inertial> | ||
</link> | ||
</xacro:macro> | ||
</robot> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<launch> | ||
<arg name="launch_driver" default="true" /> | ||
<arg name="input/frame" default="from_can_bus" /> | ||
<arg name="output/objects" default="objects_raw" /> | ||
<arg name="output_frame" default="ars408_front_link" /> | ||
<arg name="interface" default="can0"/> | ||
<arg name="receiver_interval_sec" default="0.01"/> | ||
|
||
<group if="$(var launch_driver)"> | ||
<!-- socket can --> | ||
<include file="$(find-pkg-share ros2_socketcan)/launch/socket_can_receiver.launch.py"> | ||
<arg name="interface" value="$(var interface)"/> | ||
<arg name="interval_sec" value="$(var receiver_interval_sec)"/> | ||
</include> | ||
|
||
<!-- ars408 driver--> | ||
<include file="$(find-pkg-share pe_ars408_ros)/launch/continental_ars408.launch.xml"> | ||
<arg name="input/frame" value="$(var input/frame)" /> | ||
<arg name="output/objects" value="$(var output/objects)" /> | ||
<arg name="output_frame" value="$(var output_frame)" /> | ||
<arg name="launch_driver" value="$(var launch_driver)" /> | ||
</include> | ||
</group> | ||
|
||
<!-- *** TEMPORARY *** | ||
* Launching for visualization purposes. | ||
* This should be launched from perception. ex) radar_based_detection.launch.xml | ||
--> | ||
<include file="$(find-pkg-share radar_tracks_msgs_converter)/launch/radar_tracks_msgs_converter.launch.xml"> | ||
<arg name="input/radar_objects" value="$(var output/objects)" /> | ||
<arg name="output/radar_detected_objects" value="debug/detected_objects"/> | ||
<arg name="output/radar_tracked_objects" value="debug/tracked_objects"/> | ||
</include> | ||
</launch> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.