Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
jazzy

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

No version for distro kilted showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

No version for distro lyrical showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

No version for distro rolling showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

No version for distro ardent showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

No version for distro bouncy showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

No version for distro crystal showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

No version for distro eloquent showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

No version for distro dashing showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

No version for distro galactic showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

No version for distro foxy showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

No version for distro iron showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

No version for distro lunar showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

No version for distro jade showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

No version for distro indigo showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

No version for distro hydro showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

No version for distro kinetic showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

No version for distro melodic showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange

No version for distro noetic showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_vehicle_velocity_converter package from autoware_core repo

autoware_adapi_adaptors autoware_adapi_specs autoware_core_api autoware_default_adapi autoware_core autoware_agnocast_wrapper autoware_component_interface_specs autoware_geography_utils autoware_global_parameter_loader autoware_interpolation autoware_kalman_filter autoware_lanelet2_utils autoware_marker_utils autoware_motion_utils autoware_node autoware_object_recognition_utils autoware_osqp_interface autoware_point_types autoware_qos_utils autoware_qp_interface autoware_signal_processing autoware_trajectory autoware_vehicle_info_utils autoware_command_gate autoware_core_control autoware_simple_pure_pursuit autoware_awsim_sensor_kit_description autoware_sample_sensor_kit_description autoware_sample_vehicle_description autoware_core_localization autoware_ekf_localizer autoware_gyro_odometer autoware_localization_util autoware_ndt_scan_matcher autoware_pose_initializer autoware_stop_filter autoware_twist2accel autoware_core_map autoware_lanelet2_map_visualizer autoware_map_height_fitter autoware_map_loader autoware_map_projection_loader autoware_core_perception autoware_euclidean_cluster_object_detector autoware_ground_filter autoware_perception_objects_converter autoware_core_planning autoware_mission_planner autoware_objects_of_interest_marker_interface autoware_path_generator autoware_planning_factor_interface autoware_planning_topic_converter autoware_route_handler autoware_velocity_smoother autoware_behavior_velocity_planner autoware_behavior_velocity_planner_common autoware_behavior_velocity_stop_line_module autoware_motion_velocity_obstacle_stop_module autoware_motion_velocity_planner autoware_motion_velocity_planner_common autoware_core_sensing autoware_crop_box_filter autoware_downsample_filters autoware_gnss_poser autoware_vehicle_velocity_converter autoware_planning_test_manager autoware_pyplot autoware_test_node autoware_test_utils autoware_testing autoware_core_vehicle

ROS Distro
humble

Package Summary

Version 1.9.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_core.git
VCS Type git
VCS Version main
Last Updated 2026-07-03
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The autoware_vehicle_velocity_converter package

Maintainers

  • Masahiro Sakamoto
  • Yamato Ando
  • NGUYEN Viet Anh
  • Taiki Yamada

Authors

No additional authors.

autoware_vehicle_velocity_converter

Purpose

This package converts autoware_vehicle_msgs::msg::VehicleReport message to geometry_msgs::msg::TwistWithCovarianceStamped for gyro odometer node.

Inputs / Outputs

Input

Name Type Description
velocity_status autoware_vehicle_msgs::msg::VehicleReport vehicle velocity

Output

Name Type Description
twist_with_covariance geometry_msgs::msg::TwistWithCovarianceStamped twist with covariance converted from VehicleReport

Parameters

Name Type Description
speed_scale_factor double speed scale factor (ideal value is 1.0)
frame_id string frame id for output message
velocity_stddev_xx double standard deviation for vx
angular_velocity_stddev_zz double standard deviation for yaw rate
CHANGELOG

Changelog for package autoware_vehicle_velocity_converter

1.1.0 (2025-05-01)

1.9.0 (2026-06-24)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

  • feat(vehicle_velocity_converter): remove unused frame_id parameter and warning log (#1201) refactor(vehicle_velocity_converter): remove unused frame_id parameter and warning log Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>>

  • refactor(vehicle_velocity_converter): extract node from core logic (#1192)

    * refactor(vehicle_velocity_converter): extract node into vehicle_velocity_converter_node Split the ROS node out of the core conversion logic, mirroring the autoware_stop_filter layout:

    • vehicle_velocity_converter.{hpp,cpp}: core convert() logic only, no longer depends on rclcpp::Node
    • vehicle_velocity_converter_node.{hpp,cpp}: new VehicleVelocityConverterNode class and component registration
    • split tests into test_vehicle_velocity_converter (pure logic) and test_vehicle_velocity_converter_node (pub/sub integration)
    • update CMakeLists.txt (separate _ros library, isolated gtest) and package.xml (ament_cmake_ros test dependency)

    * refactor(vehicle_velocity_converter): make convert a member of VehicleVelocityConverter Turn the free convert() function into a VehicleVelocityConverter class that holds the frame-invariant settings (speed_scale_factor, stddev_vx, stddev_wz) supplied at construction, mirroring the StopFilter/StopFilterNode layout. The node now owns a single converter_ member instead of three loose doubles, and the callback becomes converter_.convert(*msg). Conversion behavior is unchanged.

    * test(vehicle_velocity_converter): restructure node test with a fixture into AAA shape Move the ROS context, executor thread and test-side pub/sub wiring into a VehicleVelocityConverterNodeTest fixture (SetUp/TearDown + start_converter_node/publish_and_wait helpers) so the test body reads as plain Arrange/Act/Assert. Coverage is unchanged.

    * test(vehicle_velocity_converter): compare float-derived twist fields with EXPECT_FLOAT_EQ The VelocityReport velocity fields are float while the Twist fields are double, so the converted values carry float rounding. Comparing them with EXPECT_FLOAT_EQ removes the static_cast<double>(...) on the expected literals while keeping the assertions correct. Covariance entries stay EXPECT_DOUBLE_EQ as they are pure double.

    * test(vehicle_velocity_converter): drop redundant float suffixes and align node test helper EXPECT_FLOAT_EQ narrows both operands to float, so the F suffix on the expected literals is unnecessary. Also make the node test's make_velocity_report take double and cast internally, matching make_report in the logic test, so call sites use plain double literals.

    • style(vehicle_velocity_converter): clarify AAA pattern

    * test(vehicle_velocity_converter): poll for DDS discovery instead of fixed sleep ---------Co-authored-by: Takahisa.Ishikawa <<takahisa.ishikawa@tier4.jp>> Co-authored-by: Junya Sasaki <<j2sasaki1990@gmail.com>> Co-authored-by: Tran Huu Nhat Huy <<29034232+TranHuuNhatHuy@users.noreply.github.com>>

  • refactor(autoware_vehicle_velocity_converter): extract pure convert() and use XYZRPY_COV_IDX (#1151) Extract the VelocityReport-to-TwistWithCovarianceStamped conversion out of the ROS subscription callback into a pure, namespace-level free function convert(msg, speed_scale_factor, stddev_vx, stddev_wz); the callback now just calls it and publishes. This adds a deterministic, ROS-free seam for unit testing the conversion math. Replace the hand-written row-major covariance indices ([i + j * 6]) with the named autoware_utils_geometry::xyzrpy_covariance_index::XYZRPY_COV_IDX enum, matching the sibling autoware_gyro_odometer usage and removing the most error-prone magic in the file. Rewrite the tests as deterministic synchronous convert() calls that assert the full 36-element covariance (diagonal values and all off-diagonal entries zero), the zeroed unused twist fields, verbatim header copy, and scale-factor/sign edge cases, keeping one thin node-instantiation smoke test for the ROS wiring. This removes the executor thread, 200ms setup sleep, and 10ms poll loop. Behavior-preserving: the published message is byte-for-byte identical to before (the covariance enum indices map to the same array positions). Refs: autowarefoundation/autoware_core#1096

  • Contributors: Takahisa Ishikawa, Yutaka Kondo, github-actions

1.8.0 (2026-05-01)

  • Merge remote-tracking branch 'origin/main' into tmp/bot/bump_version_base

File truncated at 100 lines see the full file

Launch files

  • launch/vehicle_velocity_converter.launch.xml
      • input_vehicle_velocity_topic [default: velocity_status]
      • output_twist_with_covariance [default: twist_with_covariance]
      • config_file [default: $(find-pkg-share autoware_vehicle_velocity_converter)/config/vehicle_velocity_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_vehicle_velocity_converter at Robotics Stack Exchange