From 45b79e6004df822bdb87c0aa3452a03ae663400f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Mar 2023 01:07:39 +0000 Subject: [PATCH] style(pre-commit): autofix --- .../components/localization.md | 126 +++++++++--------- 1 file changed, 64 insertions(+), 62 deletions(-) diff --git a/docs/design/autoware-interfaces/components/localization.md b/docs/design/autoware-interfaces/components/localization.md index 6c1bf66fa9c..1063a892df8 100644 --- a/docs/design/autoware-interfaces/components/localization.md +++ b/docs/design/autoware-interfaces/components/localization.md @@ -17,12 +17,12 @@ A 3d point cloud map is used for LiDAR-based localization in Autoware. Start pose of ego, published by the user interface. - geometry_msgs/msg/PoseWithCovarianceStamped - - std_msgs/msg/Header header - - geometry_msgs/msg/PoseWithCovariance pose - - geometry_msgs/msg/Pose pose - - geometry_msgs/msg/Point position - - geometry_msg/msg/Quaternion orientation - - double[36] covariance + - std_msgs/msg/Header header + - geometry_msgs/msg/PoseWithCovariance pose + - geometry_msgs/msg/Pose pose + - geometry_msgs/msg/Point position + - geometry_msg/msg/Quaternion orientation + - double[36] covariance ### 3D-LiDAR Scanning @@ -37,56 +37,58 @@ The raw 3D-LiDAR data needs to be processed by the [point cloud pre-processing m Start pose of ego, calculated from INS(Inertial navigation sensor) sensing data. - geometry_msgs/msg/PoseWithCovarianceStamped - - std_msgs/msg/Header header - - geometry_msgs/msg/PoseWithCovariance pose - - geometry_msgs/msg/Pose pose - - geometry_msgs/msg/Point position - - geometry_msg/msg/Quaternion orientation - - double[36] covariance + - std_msgs/msg/Header header + - geometry_msgs/msg/PoseWithCovariance pose + - geometry_msgs/msg/Pose pose + - geometry_msgs/msg/Point position + - geometry_msg/msg/Quaternion orientation + - double[36] covariance - When the initial pose is not set manually, the message can be used for automatic pose initialization. +When the initial pose is not set manually, the message can be used for automatic pose initialization. + +Current Geographic coordinate of the ego, published by the GNSS sensor. -Current Geographic coordinate of the ego, published by the GNSS sensor. - sensor_msgs/msg/NavSatFix - - std_msgs/msg/Header header - - sensor_msgs/msg/NavSatStatus status - - double latitude - - double longitude - - double altitude - - double[9] position_covariance - - unit8 position_covariance_type + - std_msgs/msg/Header header + - sensor_msgs/msg/NavSatStatus status + - double latitude + - double longitude + - double altitude + - double[9] position_covariance + - unit8 position_covariance_type Current orientation of the ego, published by the GNSS-INS. + - autoware_sensing_msgs/msg/GnssInsOrientationStamped - - std_msgs/Header header - - autoware_sensing_msgs/msg/GnssInsOrientation orientation - - geometry_msgs/Quaternion orientation - - float32 rmse_rotation_x - - float32 rmse_rotation_y - - float32 rmse_rotation_z + - std_msgs/Header header + - autoware_sensing_msgs/msg/GnssInsOrientation orientation + - geometry_msgs/Quaternion orientation + - float32 rmse_rotation_x + - float32 rmse_rotation_y + - float32 rmse_rotation_z ### IMU Data Current orientation, angular velocity and linear acceleration of ego, calculated from IMU sensing data. - sensor_msgs/msg/Imu - - std_msgs/msg/Header header - - geometry_msgs/msg/Quaternion orientation - - double[9] orientation_covariance - - geometry_msgs/msg/Vector3 angular_velocity - - double[9] angular_velocity_covariance - - geometry_msgs/msg/Vector3 linear_acceleration - - double[9] linear_acceleration_covariance + - std_msgs/msg/Header header + - geometry_msgs/msg/Quaternion orientation + - double[9] orientation_covariance + - geometry_msgs/msg/Vector3 angular_velocity + - double[9] angular_velocity_covariance + - geometry_msgs/msg/Vector3 linear_acceleration + - double[9] linear_acceleration_covariance ### Vehicle Velocity Status Current velocity of the ego vehicle, published by the vehicle interface. - autoware_auto_vehicle_msgs/msg/VelocityReport - - std_msgs/msg/Header header; - - float longitudinal_velocity; - - float lateral_velocity; - - float heading_rate; + - std_msgs/msg/Header header; + - float longitudinal_velocity; + - float lateral_velocity; + - float heading_rate; Before the velocity input localization interface, module `vehicle_velocity_converter` converts message type `autoware_auto_vehicle_msgs/msg/VelocityReport` to `geometry_msgs/msg/TwistWithCovarianceStamped`. @@ -97,46 +99,46 @@ Before the velocity input localization interface, module `vehicle_velocity_conve Current pose of ego, calculated from localization interface. - geometry_msgs/msg/PoseWithCovarianceStamped - - std_msgs/msg/Header header - - geometry_msg/PoseWithCovariance pose - - geometry_msgs/msg/Pose pose - - geometry_msgs/msg/Point position - - geometry_msgs/msg/Quaternion orientation - - double[36] covariance + - std_msgs/msg/Header header + - geometry_msg/PoseWithCovariance pose + - geometry_msgs/msg/Pose pose + - geometry_msgs/msg/Point position + - geometry_msgs/msg/Quaternion orientation + - double[36] covariance ### Vehicle velocity Current velocity of ego, calculated from localization interface. - geometry_msgs/msg/TwistWithCovarianceStamped - - std_msgs/msg/Header header - - geometry_msg/TwistWithCovariance twist - - geometry_msgs/msg/Twist twist - - geometry_msgs/msg/Vector3 linear - - geometry_msgs/msg/Vector3 angular - - double[36] covariance + - std_msgs/msg/Header header + - geometry_msg/TwistWithCovariance twist + - geometry_msgs/msg/Twist twist + - geometry_msgs/msg/Vector3 linear + - geometry_msgs/msg/Vector3 angular + - double[36] covariance ### Vehicle acceleration Current acceleration of ego, calculated from localization interface. - geometry_msgs/msg/AccelWithCovarianceStamped - - std_msgs/msg/Header header - - geometry_msg/AccelWithCovariance accel - - geometry_msgs/msg/Accel accel - - geometry_msgs/msg/Vector3 linear - - geometry_msgs/msg/Vector3 angular - - double[36] covariance + - std_msgs/msg/Header header + - geometry_msg/AccelWithCovariance accel + - geometry_msgs/msg/Accel accel + - geometry_msgs/msg/Vector3 linear + - geometry_msgs/msg/Vector3 angular + - double[36] covariance ### Vehicle kinematic state -Current pose and twist of ego, calculated from localization interface. +Current pose and twist of ego, calculated from localization interface. - nav_msgs/msg/Odometry - - std_msgs/msg/Header header - - string child_frame_id - - geometry_msgs/msg/PoseWithCovariance pose - - geometry_msgs/msg/TwistWithCovariance twist + - std_msgs/msg/Header header + - string child_frame_id + - geometry_msgs/msg/PoseWithCovariance pose + - geometry_msgs/msg/TwistWithCovariance twist The message will be subscribed by the planning and control module. @@ -144,4 +146,4 @@ The message will be subscribed by the planning and control module. Diagnostics information that indicates if the localization module works properly. -TBD. \ No newline at end of file +TBD.