You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+36-7Lines changed: 36 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# adma_ros2_driver
2
2
Further Information can be found at the [GeneSys Technical Support Center](https://genesys-offenburg.de/support-center/).
3
3
4
-
## Integrated ROS Topics
4
+
## Integrated Standard ROS Topics
5
5
The ADMA uses a combination of GNSS-Receiver and different rate and acceleration sensors. Due to this, different ROS topics are getting filled with sensor, GNSS and combined measurement data as shown in the following list:
6
6
7
7
| Topic | Content | Description |
@@ -13,6 +13,7 @@ The ADMA uses a combination of GNSS-Receiver and different rate and acceleration
13
13
| /adma/fix |[sensor_msgs::Navsatfix](http://docs.ros.org/en/melodic/api/sensor_msgs/html/msg/NavSatFix.html)| GNSS Information in the standard ROS format. |
14
14
| /adma/imu |[sensor_msgs::imu](http://docs.ros.org/en/melodic/api/sensor_msgs/html/msg/Imu.html)| Inertial data in the standard ROS format. |
15
15
| /adma/data_raw | Raw UDP data stream | ADMA raw data as binary data stream. |
16
+
| /adma/odometrsy |[nav_msgs::Odometry](http://docs.ros.org/en/noetic/api/nav_msgs/html/msg/Odometry.html)| Position, velocity and orientation |
16
17
17
18
## Environment information
18
19
This setup was implemented and tested with the following conditions:
@@ -30,14 +31,27 @@ cd ~/ros2_ws/src
30
31
git clone -b ros_2 $REPO_URL(HTPPS/SSH)
31
32
```
32
33
33
-
2. Build workspace
34
+
2. install all ROS dependencies (the warning for `ament_cmake_clange_format` can be ignored..)
35
+
```bash
36
+
cd~/ros2_ws
37
+
# source ROS
38
+
. /opt/ros/$INSTALLED_ROS_CONTRIB/setup.bash
39
+
# initialize rosdep
40
+
sudo rosdep init # only required if not already done for other projects on your system
For configuring the ADMA ROS Driver the according parameters in the `adma_ros2_driver/config/driver_config.yaml` file have to be modified.
49
63
If the workspace was built with `colcon build --symlink-install`, it is possible to restart the node after changing configuration parameters directly. Otherwise (built without '--symlink-install') it is necessary to rebuild the workspace to update the files.
50
-
Same "linking" rule applies to the `launch.py` files. The available parameters are described in the table below.
64
+
Same "linking" rule applies to the `launch.py` files. The available parameters are described below.
65
+
66
+
#### ROS Topic configuration
67
+
The ROS Topics can be output in desired measurement point locations in the vehicle. This can be done by using the ADMA POI's (Point of Interest). The POI's are defined in the ADMA Webinterface
68
+
through user defined offsets to the Measurement Reference Point (MRP). In the ADMA ROS Driver, the POI's in which each ROS topic shall be output can be selected with the relating ID in the
69
+
Driver Config File (0 = MRP, 1-8 = POI 1-8). As Default, the ROS Topics are output in POI1.
70
+
71
+
By default, the odometry topic outputs Yaw relative to the north direction. You can configure an offset for Yaw using the "odometry_yaw_offset" parameter.
72
+
73
+
With the mode, it is possible to switch between the online and the replay mode. The replay mode is a built in replay function for subscribing to the /adma/data_raw topic of a replayed bag file.
74
+
This enables only the decoder part of the driver, that takes the rosbag data and publishes them in the standard ADMA ROS driver topics.
75
+
76
+
With the time_mode parameter it is possible to define how the ROS header time stamps shall be defined. Either by the ADMA INS Time (default) or by the ROS system time.

0 commit comments