Update docs

This commit is contained in:
Yu Asabe 2022-10-31 18:50:50 +09:00
parent f9500743fd
commit 9c257a0e1e
4 changed files with 38 additions and 3 deletions

View File

@ -7,6 +7,37 @@ A V2X communication software stack called [Vanetza](https://github.com/riebl/van
![AutowareV2X Architecture](../architecture.png) ![AutowareV2X Architecture](../architecture.png)
Autoware is responsible for the perception task, while Autoware\_V2X manages the transmission and reception of messages over the V2X channel. Services that are necessary for the integration of Vanetza into Autoware were newly developed. Autoware is responsible for the perception task, while AutowareV2X manages the transmission and reception of messages over the V2X channel. Services that are necessary for the integration of Vanetza into Autoware were newly developed.
The V2XApp is responsible for managing the various facilities such as DENM, CAM, CPM, while the V2XNode handles the conversion of information between the V2X messages and ROS2 messages. The V2XApp is responsible for managing the various facilities such as DENM, CAM, CPM, while the V2XNode handles the conversion of information between the V2X messages and ROS2 messages.
## V2XNode
The V2XNode launches a ROS2 Node for AutowareV2X. Its main purpose is to act as the bridge interface between Autoware and AutowareV2X. Information that is to be utilized in V2X Applications are retreived from Autoware in the form of ROS2 topics. Similarily, information that is received by AutowareV2X through V2X communications is published as ROS2 topics in order to feed it back into Autoware.
### Input
| Name | Type | Description |
| -------------------- | ------------------------------- | ---------------- |
| `/perception/object_recognition/objects` | `autoware_auto_perception_msgs::msg::PredictedObjects` | Perceived Objects by Autoware |
| `/tf` | `tf2_msgs::msg::TFMessage` | Pose of Ego Vehicle |
### Output
| Name | Type | Description |
| -------------------- | ------------------------------- | ---------------- |
| `/v2x/cpm/objects` | `autoware_auto_perception_msgs::msg::PredictedObjects` | Objects received by CPMs |
### Functions
| Name | Description |
| -------------------- | ---------------- |
| `objectsCallback(const autoware_auto_perception_msgs::msg::PredictedObjects::ConstSharedPtr msg)` | Call `V2XApp::objectsCallback` |
| `tfCallback` | Call `V2XApp::tfCallback` |
| `publishObjects(std::vector<CpmApplication::Object> *objectsStack, int cpm_num)` | |
| `publishCpmSenderObject` | Not used now |
## V2XApp
## CPM Facility

View File

@ -0,0 +1,3 @@
.md-grid {
max-width: 1920px;
}

View File

@ -102,7 +102,7 @@ When both the sender and receiver is launched, you should see that the receiver
## Show CPM-shared objects in RViz ## Show CPM-shared objects in RViz
1. Press "Add" from the Displays Panel 1. Press "Add" from the Displays Panel <br>
![](./add-v2x-rviz-1.png) ![](./add-v2x-rviz-1.png)
2. Choose "By topic", then select PredictedObjects from /v2x/cpm/objects 2. Choose "By topic", then select PredictedObjects from /v2x/cpm/objects
![](./add-v2x-rviz-2.png) ![](./add-v2x-rviz-2.png)

View File

@ -31,6 +31,7 @@ extra:
extra_css: extra_css:
- https://use.fontawesome.com/releases/v5.15.4/css/all.css - https://use.fontawesome.com/releases/v5.15.4/css/all.css
- stylesheets/extra.css
extra_javascript: extra_javascript:
- https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML - https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML