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

chore: add autoware_ prefix to the URL of gnss_poser #601

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
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

We'll use the package `autoware_gnss_poser` as an example.

**Note that this example does not reflect the actual `autoware_gnss_poser`, and has extra files and directories to demonstrate all posssible package structure.**

Check warning on line 7 in docs/contributing/coding-guidelines/ros-nodes/directory-structure.md

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (posssible)
SakodaShintaro marked this conversation as resolved.
Show resolved Hide resolved

## C++ package

### Entire structure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,12 @@

### sensor_kit.xacro

We will add our sensors and remove unnecessary xacros from this file.

Check warning on line 199 in docs/how-to-guides/integrating-autoware/creating-vehicle-and-sensor-model/creating-sensor-model/index.md

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (xacros)
For example,
we want
to add our lidar sensor with `velodyne_top` frame from the sensor driver,
we will add the following xacro to our sensor_kit.xacro file.
Please add your sensors to this file and remove unnecessary sensor's xacros.

Check warning on line 204 in docs/how-to-guides/integrating-autoware/creating-vehicle-and-sensor-model/creating-sensor-model/index.md

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (xacros)

```xml
<!-- lidar -->
Expand Down Expand Up @@ -564,7 +564,7 @@

Then, you can launch tensorrt_yolo node via adding yolo.launch.xml on your design like that:
(i.e.,
it is included in [tier4_perception_launch](https://github.com/autowarefoundation/autoware.universe/blob/ad69c2851b7b84e12c9f0c3b177fb6a9032bf284/launch/tier4_perception_launch/launch/object_recognition/detection/camera_lidar_fusion_based_detection.launch.xml#L49-L59) package in autwoare.universe)

Check warning on line 567 in docs/how-to-guides/integrating-autoware/creating-vehicle-and-sensor-model/creating-sensor-model/index.md

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (autwoare)
`image_number` argument defines your camera number

```xml
Expand Down Expand Up @@ -609,7 +609,7 @@
from launch.actions import OpaqueFunction
import yaml

def launch_setup(context, *args, **kwargs):

Check warning on line 612 in docs/how-to-guides/integrating-autoware/creating-vehicle-and-sensor-model/creating-sensor-model/index.md

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (kwargs)

output_topic= LaunchConfiguration("output_topic").perform(context)

Expand Down Expand Up @@ -709,7 +709,7 @@
launch_arguments = []

def add_launch_arg(name: str, default_value=None, description=None):
# a default_value of None is equivalent to not passing that kwarg at all

Check warning on line 712 in docs/how-to-guides/integrating-autoware/creating-vehicle-and-sensor-model/creating-sensor-model/index.md

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (kwarg)
launch_arguments.append(
DeclareLaunchArgument(name, default_value=default_value, description=description)
)
Expand Down Expand Up @@ -901,11 +901,11 @@
The default GNSS sensor options at [`sample_sensor_kit_launch`](https://github.com/autowarefoundation/sample_sensor_kit_launch/blob/main/sample_sensor_kit_launch/launch/gnss.launch.xml) for [u-blox](https://www.u-blox.com/en/)
and [septentrio](https://www.septentrio.com/en) is included in `gnss.launch.xml`,
so If we use other sensors as GNSS/INS receiver, we need to add it here.
Moreover, [gnss_poser](https://github.com/autowarefoundation/autoware.universe/tree/main/sensing/gnss_poser) package launches here,
Moreover, [gnss_poser](https://github.com/autowarefoundation/autoware.universe/tree/main/sensing/autoware_gnss_poser) package launches here,
we will use this package for the pose source of our vehicle at localization initialization but remember,
your sensor_driver must provide [autoware gnss orientation message](https://github.com/autowarefoundation/autoware_msgs/blob/main/autoware_sensing_msgs/msg/GnssInsOrientationStamped.msg) for this node.
If you are ready with your GNSS/INS driver,
you must set `navsatfix_topic_name` and `orientation_topic_name` variables at this launch file for [gnss_poser](https://github.com/autowarefoundation/autoware.universe/tree/main/sensing/gnss_poser) arguments.
you must set `navsatfix_topic_name` and `orientation_topic_name` variables at this launch file for [gnss_poser](https://github.com/autowarefoundation/autoware.universe/tree/main/sensing/autoware_gnss_poser) arguments.
For Example, necessary modifications for <YOUR-GNSS-SENSOR> should be like this:

```diff
Expand Down Expand Up @@ -937,7 +937,7 @@
Also, you can remove dependencies and unused sensor launch files at `gnss.launch.xml`.
For example,
we will use [Clap B7 sensor](https://en.unicorecomm.com/assets/upload/file/CLAP-B7_Product_Brief_En.pdf) as a GNSS/INS and IMU sensor,
and we will use [nrtip_client_ros](https://github.com/Robeff-Technology/ntrip_client) for RTK.

Check warning on line 940 in docs/how-to-guides/integrating-autoware/creating-vehicle-and-sensor-model/creating-sensor-model/index.md

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (nrtip)
Also, we will add these packages to [autoware.repos](https://github.com/leo-drive/autoware.tutorial_vehicle/blob/main/autoware.repos) file.

```diff
Expand Down Expand Up @@ -973,12 +973,12 @@
<node pkg="clap_b7_driver" exec="clap_b7_driver_node" name="clap_b7_driver" output="screen">
<param from="$(find-pkg-share clap_b7_driver)/config/clap_b7_driver.param.yaml"/>
</node>
<!-- ntrip Client -->

Check warning on line 976 in docs/how-to-guides/integrating-autoware/creating-vehicle-and-sensor-model/creating-sensor-model/index.md

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (ntrip)
<include file="$(find-pkg-share ntrip_client_ros)/launch/ntrip_client_ros.launch.py"/>

Check warning on line 977 in docs/how-to-guides/integrating-autoware/creating-vehicle-and-sensor-model/creating-sensor-model/index.md

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (ntrip)

Check warning on line 977 in docs/how-to-guides/integrating-autoware/creating-vehicle-and-sensor-model/creating-sensor-model/index.md

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (ntrip)
</group>

<!-- NavSatFix to MGRS Pose -->
<include file="$(find-pkg-share gnss_poser)/launch/gnss_poser.launch.xml">
<include file="$(find-pkg-share autoware_gnss_poser)/launch/gnss_poser.launch.xml">
<arg name="input_topic_fix" value="$(var navsatfix_topic_name)"/>
<arg name="input_topic_orientation" value="$(var orientation_topic_name)"/>

Expand Down
Loading