Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: sync tier4/autoware.universe:awf-latest #1670

Merged
merged 163 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
163 commits
Select commit Hold shift + click to select a range
01e78a1
fix(bvp): remove callback group (#9294)
satoshi-ota Nov 14, 2024
7eec0bb
fix(run_out): output velocity factor (#9319)
satoshi-ota Nov 14, 2024
6e1c3aa
fix(codeowner): fix codeowner file's directory name (#9321)
yhisaki Nov 14, 2024
7528c47
feat(behavior_velocity_planner): replace first_stop_path_point_index …
yhisaki Nov 14, 2024
4e12cb0
feat(run_out_module): add tests to run out (#9222)
danielsanchezaran Nov 14, 2024
827a5d9
feat(hazard_status_converter): hazard status converter subscribe emer…
TetsuKawa Nov 14, 2024
c6c3b1c
feat(mrm_handler): mrm handler publish emergecy holding (#9285)
TetsuKawa Nov 14, 2024
b4603fd
feat(trajectory_follower): publsih control horzion (#8977)
kosuke55 Nov 14, 2024
a59d309
refactor(fake_test_node): prefix package and namespace with autoware …
esteve Nov 14, 2024
cdb6e88
chore: update CODEOWNERS (#9232)
awf-autoware-bot[bot] Nov 14, 2024
778fb45
fix(freespace_planner): fix is near target check (#9327)
mkquda Nov 15, 2024
3adfb07
refactor(static obstacle avoidance): remove redundant calculation (#9…
go-sakayori Nov 15, 2024
3b623fb
feat(behavior_velocity_stop_line): replace autoware_motion_utils to a…
yhisaki Nov 15, 2024
e54020e
test(bpp_common): add tests for the static drivable area (#9324)
maxime-clem Nov 15, 2024
fbf297a
chore(crosswalk)!: delete wide crosswalk corresponding function (#9329)
yuki-takagi-66 Nov 15, 2024
8028e38
chore(autoware_behavior_velocity_intersection_module): include opencv…
yhisaki Nov 15, 2024
d819a66
refactor(bpp): rework steering factor interface (#9325)
satoshi-ota Nov 15, 2024
8dfc04a
fix(bpp): update collided polygon pose only once (#9338)
zulfaqar-azmi-t4 Nov 15, 2024
1ed46dc
fix(static_obstacle_avoidance): override setInitState (#9340)
go-sakayori Nov 15, 2024
08951b2
chore(autoware_traffic_light_visualization): include opencv as system…
yhisaki Nov 17, 2024
6f40830
refactor(factor): move steering factor interface to motion utils (#9337)
satoshi-ota Nov 18, 2024
a0c4ab4
refactor(lane_change): refactor extended object safety check (#9322)
mkquda Nov 18, 2024
5dcb52b
feat(autoware_traffic_light_multi_camera_fusion): resolve clang-tidy …
yhisaki Nov 18, 2024
93828b6
feat(bpp): add velocity interface (#9344)
satoshi-ota Nov 18, 2024
c826605
feat(avoidance): output velocity factor (#9345)
satoshi-ota Nov 18, 2024
c5597ce
feat(freespace_planner): add processing time pub (#9332)
Kazunori-Nakajima Nov 18, 2024
44d9a98
feat(start_planner): output velocity factor (#9347)
satoshi-ota Nov 18, 2024
09c0182
feat(lane_change): output velocity factor (#9349)
satoshi-ota Nov 18, 2024
4cb6f10
feat(goal_planner): output velocity factor (#9348)
satoshi-ota Nov 18, 2024
4a4db99
feat(mrm_comfortable_stop_operator): add updateParam for mrm comforta…
danielsanchezaran Nov 18, 2024
2a37cd2
feat(control_evaluator): add processing time publisher (#9339)
Kazunori-Nakajima Nov 18, 2024
34fc143
refactor(autoware_trajectory): refactor autoware_trajectory (#9356)
yhisaki Nov 18, 2024
9b0ba2d
fix(factors_panel): sort by distance to stop/decel or point where it …
satoshi-ota Nov 18, 2024
24652f8
refactor(map_loader)!: prefix package and namespace with autoware (#8…
a-maumau Nov 18, 2024
d813446
perf(static_obstacle_avoidance): remove redundant calculation related…
go-sakayori Nov 18, 2024
2a2bffa
feat(goal_planner): move goal_candidates from ThreadSafeData to GoalP…
soblin Nov 18, 2024
f112f65
refactor(traffic_light_utils): prefix package and namespace with auto…
esteve Nov 18, 2024
9aab36b
chore(perception_utils): install include directory (#9354)
youtalk Nov 19, 2024
ef36c36
feat(tier4_control_launch): use preset.yaml to control which modules …
xtk8532704 Nov 19, 2024
802f906
perf(static_obstacle_avoidance): use lanelet::utils instead of route …
go-sakayori Nov 19, 2024
2ce0510
fix(compare_map_segmentation): timer period mismatched with parameter…
badai-nguyen Nov 19, 2024
dbb1015
chore(compare_map_segmentation): add maintainer (#9371)
badai-nguyen Nov 19, 2024
bcd7830
feat(autoware_multi_object_tracker): new function to add odometry unc…
technolojin Nov 19, 2024
5fcd196
fix(autoware_behavior_path_sampling_planner_module): fix invalid para…
mitsudome-r Nov 19, 2024
d1eb8be
chore(autoware_mpc_lateral_controller): add maintainer (#9374)
kyoichi-sugahara Nov 19, 2024
245802e
fix(yabloc_pose_initializer): include opencv as system (#9375)
veqcc Nov 19, 2024
8e06484
fix(autoware_pose_estimator_arbiter): add missing include (#9376)
veqcc Nov 19, 2024
a1c3e6d
fix(autoware_trajectory_follower_node): fix clang-diagnostic-format-s…
veqcc Nov 19, 2024
332a9bb
fix(autoware_control_validator): fix clang-diagnostic-unused-private-…
veqcc Nov 19, 2024
5778e01
fix(control_performance_analysis): clang-diagnostic-pessimizing-move …
veqcc Nov 19, 2024
2e0d5de
test(bpp_common): add unit test for safety check (#9386)
go-sakayori Nov 19, 2024
a7cc44d
feat: suppress warning/error of the empty predicted trajectory by MPC…
takayuki5168 Nov 19, 2024
de9d9cb
fix(autoware_mpc_lateral_controller): fix variableScope (#9390)
veqcc Nov 19, 2024
3a1ae3b
feat(mpc_lateral_controller): suppress rclcpp_warning/error (#9382)
takayuki5168 Nov 19, 2024
f22096a
fix(autoware_obstacle_stop_planner): fix cppcheck warnings (#9388)
veqcc Nov 20, 2024
be8235d
refactor(sensing): move CUDA related packages to `sensing/cuda` direc…
youtalk Nov 20, 2024
e901751
Revert "refactor(sensing): move CUDA related packages to `sensing/cud…
youtalk Nov 20, 2024
8ce9f58
fix(autoware_occupancy_grid_map_outlier_filter): fix bugprone-incorre…
kobayu858 Nov 20, 2024
50ba24a
fix(autoware_costmap_generator): fix clang-diagnostic-unused-private-…
kobayu858 Nov 20, 2024
eafa68e
fix(autoware_obstacle_cruise_planner): fix clang-diagnostic-defaulted…
kobayu858 Nov 20, 2024
f58d71d
fix(autoware_freespace_planning_algorithms): fix clang-diagnostic-unu…
kobayu858 Nov 20, 2024
41cec87
fix(autoware_surround_obstacle_checker): fix clang-diagnostic-unused-…
kobayu858 Nov 20, 2024
5fbb9d2
feat(goal_planner): remove unnecessary member from ThreadSafeData (#9…
soblin Nov 20, 2024
67bc182
fix(autoware_behavior_velocity_intersection_module): fix clang-diagno…
kobayu858 Nov 20, 2024
ec22883
test(autoware_test_utils): add TrafficLight to map, fix launcher (#9318)
soblin Nov 20, 2024
228400c
fix(autoware_behavior_velocity_intersection_module): fix clang-diagno…
kobayu858 Nov 20, 2024
a4a5749
feat(behavior_path_planner_common): use azimuth for interpolatePose (…
kosuke55 Nov 20, 2024
2ac579f
fix(behavior_path_planner_common): prevent duplicated point insertion…
kosuke55 Nov 20, 2024
dea1778
feat(autoware_test_utils): add parser for LaneletRoute, TrackedObject…
soblin Nov 20, 2024
5249a13
fix(autoware_behavior_velocity_run_out_module): fix clang-diagnostic-…
kobayu858 Nov 20, 2024
ce3d682
fix(autoware_behavior_velocity_walkway_module): fix clang-diagnostic-…
kobayu858 Nov 20, 2024
e3aba55
fix(autoware_behavior_velocity_planner_common): fix clang-diagnostic-…
kobayu858 Nov 20, 2024
6717fb2
fix(autoware_behavior_velocity_planner): fix clang-diagnostic-format-…
kobayu858 Nov 20, 2024
7a19e8a
feat(simple_planning_simulator): add mechanical actuaion sim model (#…
kosuke55 Nov 20, 2024
51098eb
fix(autoware_behavior_path_start_planner_module): fix clang-diagnosti…
kobayu858 Nov 20, 2024
6c20d58
fix(autoware_behavior_velocity_blind_spot_module): fix clang-diagnost…
kobayu858 Nov 20, 2024
d8087f4
feat(pid_longitudinal_controller): suppress rclcpp_warning/error (#9384)
takayuki5168 Nov 20, 2024
2f57890
fix(autoware_pointcloud_preprocessor): clang-tidy for overrides (#9414)
vividf Nov 21, 2024
d17ffd3
fix(autoware_pointcloud_preprocessor): clang-tidy error in distortion…
vividf Nov 21, 2024
8371383
fix(evaluator): missing dependency in evaluator components (#9074)
f0reachARR Nov 21, 2024
1c96aa6
feat(build_depends.repos): change autoware_adapi_msgs version (#9420)
isamu-takagi Nov 21, 2024
03b6962
fix(autoware_obstacle_cruise_planner): fix clang-diagnostic-delete-ab…
kobayu858 Nov 21, 2024
f7f2fc0
fix(autoware_freespace_planning_algorithms): fix clang-diagnostic-ign…
kobayu858 Nov 21, 2024
dd9c116
fix(autoware_behavior_path_sampling_planner_module): fix clang-diagno…
kobayu858 Nov 21, 2024
f070655
feat(behavior_velocity_planner): update velocity factor initializatio…
kyoichi-sugahara Nov 21, 2024
0b72239
feat(obstacle_cruise_planner): outputs velocity factor when the ego f…
satoshi-ota Nov 21, 2024
8607045
chore: update license of pointcloud preprocessor (#9397)
wep21 Nov 21, 2024
74ca3ab
feat(goal_planner): do not insert shift end pose on pull over lane to…
kosuke55 Nov 21, 2024
60dbc46
refactor(goal_planner): rename shoulder_lane to pull_over_lane (#9422)
kosuke55 Nov 21, 2024
248bba7
refactor(traffic_light_recognition_marker_publisher): prefix package …
esteve Nov 21, 2024
3be9fd6
fix(static_centerline_generator): map_tf_generator package name needs…
Ericpotato Nov 22, 2024
834ba99
chore(autoware_behavior_velocity_stop_line_module): add maintainer (#…
yhisaki Nov 22, 2024
328afb4
fix(goal_planner): use departure_check_lane for path (#9423)
kosuke55 Nov 22, 2024
e5181a5
fix(autoware_ndt_scan_matcher): remove unsed functions (#9387)
veqcc Nov 22, 2024
25e7d5d
refactor(lane_change): separate target lane leading based on obj beha…
zulfaqar-azmi-t4 Nov 22, 2024
740d42a
chore(behavior_path_planner_common): add package maintainer (#9429)
mkquda Nov 22, 2024
83f6391
feat(pyplot): add C++ pyplot (#9430)
soblin Nov 25, 2024
536c805
feat(autonomous_emergency_braking): set a lateral deviation limit for…
danielsanchezaran Nov 25, 2024
341ea15
fix(autoware_perception_rviz_plugin): fix orientation indication rend…
technolojin Nov 25, 2024
882af41
fix(goal_planner): remove stop reason (#9365)
satoshi-ota Nov 25, 2024
badf8ca
fix(avoidance): remove stop reason (#9364)
satoshi-ota Nov 25, 2024
135de57
feat(planning_evaluator): add processing time pub (#9334)
Kazunori-Nakajima Nov 25, 2024
b782772
feat(mission_planner): add processing time publisher (#9342)
Kazunori-Nakajima Nov 25, 2024
9efee78
ci: use CodeBuild for clang-tidy-differential (#9451)
mitsudome-r Nov 25, 2024
9c6895b
fix(bpp)!: remove stop reason (#9449)
satoshi-ota Nov 25, 2024
685f1aa
fix(autoware_smart_mpc_trajectory_follower): fix clang-diagnostic-ign…
veqcc Nov 25, 2024
9769a9e
test(bpp_common): add unit test for traffic light utils (#9441)
go-sakayori Nov 25, 2024
b075d50
fix(autoware_pyplot): fix missing python3-dev dependency (#9461)
esteve Nov 25, 2024
81dab81
test(bpp_common): add unit test for object filtering (#9408)
go-sakayori Nov 25, 2024
e9093e6
feat(autoware_ground_segmentation): grid data structure revision for …
technolojin Nov 26, 2024
f3e76a8
fix(surround_obstacle_checker)!: remove stop reason (#9450)
satoshi-ota Nov 26, 2024
e46e2fc
fix(tier4_camera_view_rviz_plugin): fix clang-diagnostic-unused-const…
veqcc Nov 26, 2024
19364ff
fix(autoware_vehicle_cmd_gate): remove unused variable (#9377)
veqcc Nov 26, 2024
0db25c1
fix(diagnostic_graph_utils): fix clang-diagnostic-delete-abstract-non…
veqcc Nov 26, 2024
b3ded07
feat(processing_time_checker): update processing time list (#9350)
Kazunori-Nakajima Nov 26, 2024
abf0f23
refactor(lane_change): refactor lane change parameters (#9403)
mkquda Nov 26, 2024
5372403
fix(obstacle_cruise_planner)!: remove stop reason (#9464)
satoshi-ota Nov 26, 2024
824a7d5
fix(autoware_ekf_localizer): publish `processing_time_ms` (#9443)
SakodaShintaro Nov 26, 2024
f1d967d
feat(lane_change): parse predicted objects for lane change test (RT1-…
zulfaqar-azmi-t4 Nov 26, 2024
d6e854e
docs(autoware_autonomous_emergency_braking): enhance IMU path generat…
kyoichi-sugahara Nov 26, 2024
c8bbeff
fix(autoware_mission_planner): fix clang-diagnostic-error (#9432)
veqcc Nov 26, 2024
e5ad03a
fix(simple_planning_simulator): fix clang-diagnostic-delete-non-abstr…
veqcc Nov 26, 2024
4fcd6da
fix(autoware_freespace_planning_algorithms): fix clang-diagnostic-unu…
veqcc Nov 26, 2024
9a28f08
fix(autoware_mpc_lateral_controller): fix clang-tidy errors (#9436)
veqcc Nov 26, 2024
96951e7
fix(autoware_osqp_interface): fix clang-tidy errors (#9440)
veqcc Nov 26, 2024
635ad2d
fix(tier4_adapi_rviz_plugin): fix clang-diagnostic-unused-lambda-capt…
veqcc Nov 26, 2024
340a5af
fix(autoware_behavior_path_lane_change_module): fix clang-diagnostic-…
kobayu858 Nov 26, 2024
56ed055
fix(autoware_lidar_centerpoint): fix clang-diagnostic-unused-private-…
kobayu858 Nov 26, 2024
2244f28
fix(autoware_image_projection_based_fusion): fix clang-diagnostic-inc…
kobayu858 Nov 26, 2024
f9159c1
fix(autoware_behavior_path_lane_change_module): fix clang-diagnostic-…
kobayu858 Nov 26, 2024
5b5a93c
fix(autoware_pointcloud_preprocessor): fix clang-diagnostic-inconsist…
veqcc Nov 27, 2024
f23916f
fix(autoware_trajectory): autoware_trajectory bug (#9475)
yhisaki Nov 27, 2024
12a86f6
refactor(evaluators, autoware_universe_utils): rename Stat class to A…
xtk8532704 Nov 27, 2024
64e5a69
test(bpp_common): add unit test for utils (#9469)
go-sakayori Nov 27, 2024
ddff5c2
refactor(autoware_behavior_velocity_planner_common,autoware_behavior_…
yhisaki Nov 27, 2024
24ef1f9
fix(path_optimizer): solve issue with time keeper (#9483)
danielsanchezaran Nov 27, 2024
bf9b1c2
fix: fix missing namespaces in C++ code (#9477)
esteve Nov 27, 2024
85d5bc4
fix(start_planner): use extended current lanes to fix turn signal iss…
danielsanchezaran Nov 27, 2024
a5e9d28
fix(autoware_image_projection_based_fusion): fix clang-diagnostic-unu…
kobayu858 Nov 27, 2024
35048a9
feat(autoware_processing_time_checker): add a trigger to choice wheth…
xtk8532704 Nov 27, 2024
9c7f45f
fix(bag_time_manager_rviz_plugin): fix clang-diagnostic-unused-lambda…
veqcc Nov 27, 2024
4fc74ae
fix(goal_planner): fix multiple lane ids of shift pull over (#9360)
kosuke55 Nov 27, 2024
c3df6b1
chore(autoware_pyplot): move to visualization folder (#9489)
esteve Nov 27, 2024
e6d90b7
fix(autoware_lidar_transfusion): fix clang-diagnostic-unused-private-…
kobayu858 Nov 27, 2024
cc8abac
fix(autoware_raindrop_cluster_filter): fix clang-diagnostic-unused-pr…
kobayu858 Nov 27, 2024
2fbacc7
fix(autoware_tracking_object_merger): fix clang-diagnostic-sign-conve…
kobayu858 Nov 28, 2024
4e93960
fix(autoware_multi_object_tracker): fix clang-diagnostic-unused-priva…
kobayu858 Nov 28, 2024
08621e6
fix(autoware_processing_time_checker): fix typo (#9504)
veqcc Nov 28, 2024
c4608ad
feat(lane_change): improve delay lane change logic (#9480)
mkquda Nov 28, 2024
d3f3f65
chore(localization_evaluator): Add some maintainers (#9503)
Motsu-san Nov 28, 2024
b9dae3f
chore: update CODEOWNERS (#9366)
awf-autoware-bot[bot] Nov 28, 2024
89c1800
fix(autoware_elevation_map_loader): fix clang-diagnostic-format-secur…
kobayu858 Nov 28, 2024
af8db0c
fix(mission_planner): fix initialization after route set (#9457)
isamu-takagi Nov 28, 2024
562a49d
feat(autoware_lidar_centerpoint): added a check to notify if we are d…
knzo25 Nov 28, 2024
ecdb3f5
fix(autoware_tensorrt_common): fix clang-diagnostic-unused-private-fi…
kobayu858 Nov 28, 2024
710dacc
refactor(autoware_autonomous_emergency_braking): add getObjectOnPathD…
kyoichi-sugahara Nov 28, 2024
659b6b3
refactor(autoware_autonomous_emergency_braking): update longitudinal …
kyoichi-sugahara Nov 28, 2024
64faa5c
fix(autoware_traffic_light_classifier): fix clang-diagnostic-delete-a…
kobayu858 Nov 28, 2024
9d8bd0c
fix(autoware_freespace_planner, autoware_freespace_planning_algorithm…
stevenbrills Nov 28, 2024
62e9aa8
fix(autoware_tracking_object_merger): fix clang-diagnostic-sign-conve…
kobayu858 Nov 28, 2024
1e37266
fix(autoware_behavior_path_lane_change_module): fix clang-diagnostic-…
kobayu858 Nov 28, 2024
210ff63
fix(autoware_image_projection_based_fusion): fix clang-diagnostic-inc…
kobayu858 Nov 28, 2024
c0ca64b
chore: rename codeowners file
tkimura4 Nov 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
49 changes: 25 additions & 24 deletions .github/CODEOWNERS → .github/_CODEOWNERS

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:

clang-tidy-differential:
needs: build-and-test-differential
runs-on: ubuntu-22.04
runs-on: codebuild-autoware-us-east-1-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-large
container: ghcr.io/autowarefoundation/autoware:universe-devel-cuda
steps:
- name: Set PR fetch depth
Expand Down
2 changes: 1 addition & 1 deletion build_depends.repos
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ repositories:
core/autoware_adapi_msgs:
type: git
url: https://github.com/autowarefoundation/autoware_adapi_msgs.git
version: 1.3.0
version: beta/1.7.0
core/autoware_internal_msgs:
type: git
url: https://github.com/autowarefoundation/autoware_internal_msgs.git
Expand Down
6 changes: 3 additions & 3 deletions common/.pages
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ nav:
- 'Introduction': common
- 'Testing Libraries':
- 'autoware_testing': common/autoware_testing/design/autoware_testing-design
- 'fake_test_node': common/fake_test_node/design/fake_test_node-design
- 'autoware_fake_test_node': common/autoware_fake_test_node/design/fake_test_node-design
- 'Test Utils': common/autoware_test_utils
- 'Common Libraries':
- 'autoware_auto_common':
Expand All @@ -22,8 +22,8 @@ nav:
- 'Signal Processing':
- 'Introduction': common/autoware_signal_processing
- 'Butterworth Filter': common/autoware_signal_processing/documentation/ButterworthFilter
- 'autoware_traffic_light_utils': common/autoware_traffic_light_utils
- 'autoware_universe_utils': common/autoware_universe_utils
- 'traffic_light_utils': common/traffic_light_utils
- 'RVIZ2 Plugins':
- 'autoware_perception_rviz_plugin': common/autoware_perception_rviz_plugin
- 'autoware_overlay_rviz_plugin': common/autoware_overlay_rviz_plugin/autoware_overlay_rviz_plugin
Expand All @@ -40,7 +40,7 @@ nav:
- 'tier4_system_rviz_plugin': common/tier4_system_rviz_plugin
- 'tier4_traffic_light_rviz_plugin': common/tier4_traffic_light_rviz_plugin
- 'tier4_vehicle_rviz_plugin': common/tier4_vehicle_rviz_plugin
- 'traffic_light_recognition_marker_publisher': common/traffic_light_recognition_marker_publisher/Readme
- 'autoware_traffic_light_recognition_marker_publisher': common/autoware_traffic_light_recognition_marker_publisher/Readme
- 'Node':
- 'Goal Distance Calculator': common/autoware_goal_distance_calculator/Readme
- 'Path Distance Calculator': common/autoware_path_distance_calculator/Readme
Expand Down
2 changes: 1 addition & 1 deletion common/autoware_component_interface_tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ament_auto_add_library(${PROJECT_NAME} SHARED
)

rclcpp_components_register_node(${PROJECT_NAME}
PLUGIN "ServiceLogChecker"
PLUGIN "autoware::component_interface_tools::ServiceLogChecker"
EXECUTABLE service_log_checker_node
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#define FMT_HEADER_ONLY
#include <fmt/format.h>

namespace autoware::component_interface_tools
{
ServiceLogChecker::ServiceLogChecker(const rclcpp::NodeOptions & options)
: Node("service_log_checker", options), diagnostics_(this)
{
Expand Down Expand Up @@ -98,6 +100,6 @@ void ServiceLogChecker::update_diagnostics(diagnostic_updater::DiagnosticStatusW
stat.summary(DiagnosticStatus::ERROR, "ERROR");
}
}

} // namespace autoware::component_interface_tools
#include <rclcpp_components/register_node_macro.hpp>
RCLCPP_COMPONENTS_REGISTER_NODE(ServiceLogChecker)
RCLCPP_COMPONENTS_REGISTER_NODE(autoware::component_interface_tools::ServiceLogChecker)
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#include <string>
#include <unordered_map>

namespace autoware::component_interface_tools
{
class ServiceLogChecker : public rclcpp::Node
{
public:
Expand All @@ -38,5 +40,5 @@ class ServiceLogChecker : public rclcpp::Node
void update_diagnostics(diagnostic_updater::DiagnosticStatusWrapper & stat);
std::unordered_map<std::string, std::string> errors_;
};

} // namespace autoware::component_interface_tools
#endif // SERVICE_LOG_CHECKER_HPP_
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
cmake_minimum_required(VERSION 3.14)
project(fake_test_node)
project(autoware_fake_test_node)

find_package(autoware_cmake REQUIRED)
autoware_package()

ament_auto_add_library(fake_test_node SHARED src/fake_test_node.cpp)
ament_auto_add_library(${PROJECT_NAME} SHARED src/fake_test_node.cpp)

if(BUILD_TESTING)
ament_add_ros_isolated_gtest(test_fake_test_node
test/test_fake_test_node.cpp
)
add_dependencies(test_fake_test_node fake_test_node)
target_link_libraries(test_fake_test_node fake_test_node)
add_dependencies(test_fake_test_node ${PROJECT_NAME})
target_link_libraries(test_fake_test_node ${PROJECT_NAME})
endif()

ament_auto_package()
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ fixture.
This package contains a library that introduces two utility classes that can be used in place of
custom fixtures described above to write integration tests for a node:

- `autoware::tools::testing::FakeTestNode` - to use as a custom test fixture with `TEST_F` tests
- `autoware::tools::testing::FakeTestNodeParametrized` - to use a custom test fixture with the
- `autoware::fake_test_node::FakeTestNode` - to use as a custom test fixture with `TEST_F` tests
- `autoware::fake_test_node::FakeTestNodeParametrized` - to use a custom test fixture with the
parametrized `TEST_P` tests (accepts a template parameter that gets forwarded to
`testing::TestWithParam<T>`)

Expand All @@ -30,10 +30,10 @@ Let's say there is a node `NodeUnderTest` that requires testing. It just
subscribes to `std_msgs::msg::Int32` messages and publishes a
`std_msgs::msg::Bool` to indicate that the input is positive. To test such a
node the following code can be used utilizing the
`autoware::tools::testing::FakeTestNode`:
`autoware::fake_test_node::FakeTestNode`:

```cpp
using FakeNodeFixture = autoware::tools::testing::FakeTestNode;
using FakeNodeFixture = autoware::fake_test_node::FakeTestNode;

/// @test Test that we can use a non-parametrized test.
TEST_F(FakeNodeFixture, Test) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
/// \copyright Copyright 2021 Apex.AI, Inc.
/// All rights reserved.

#ifndef FAKE_TEST_NODE__FAKE_TEST_NODE_HPP_
#define FAKE_TEST_NODE__FAKE_TEST_NODE_HPP_
#ifndef AUTOWARE__FAKE_TEST_NODE__FAKE_TEST_NODE_HPP_
#define AUTOWARE__FAKE_TEST_NODE__FAKE_TEST_NODE_HPP_

#include <fake_test_node/visibility_control.hpp>
#include <autoware/fake_test_node/visibility_control.hpp>
#include <rclcpp/rclcpp.hpp>

#include <gtest/gtest.h>
Expand All @@ -30,11 +30,7 @@
#include <string>
#include <type_traits>

namespace autoware
{
namespace tools
{
namespace testing
namespace autoware::fake_test_node
{

///
Expand Down Expand Up @@ -237,8 +233,6 @@ class FAKE_TEST_NODE_PUBLIC FakeTestNode : public detail::FakeNodeCore, public :
void TearDown() override;
};

} // namespace testing
} // namespace tools
} // namespace autoware
} // namespace autoware::fake_test_node

#endif // FAKE_TEST_NODE__FAKE_TEST_NODE_HPP_
#endif // AUTOWARE__FAKE_TEST_NODE__FAKE_TEST_NODE_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
/// \copyright Copyright 2021 Apex.AI, Inc.
/// All rights reserved.

#ifndef FAKE_TEST_NODE__VISIBILITY_CONTROL_HPP_
#define FAKE_TEST_NODE__VISIBILITY_CONTROL_HPP_
#ifndef AUTOWARE__FAKE_TEST_NODE__VISIBILITY_CONTROL_HPP_
#define AUTOWARE__FAKE_TEST_NODE__VISIBILITY_CONTROL_HPP_

////////////////////////////////////////////////////////////////////////////////
#if defined(__WIN32)
Expand All @@ -39,4 +39,4 @@
#error "Unsupported Build Configuration"
#endif // defined(__WIN32)

#endif // FAKE_TEST_NODE__VISIBILITY_CONTROL_HPP_
#endif // AUTOWARE__FAKE_TEST_NODE__VISIBILITY_CONTROL_HPP_
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>fake_test_node</name>
<name>autoware_fake_test_node</name>
<version>0.38.0</version>
<description>A fake node that we can use in the integration-like cpp tests.</description>
<maintainer email="[email protected]">Apex.AI, Inc.</maintainer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
/// \copyright Copyright 2021 Apex.AI, Inc.
/// All rights reserved.

#include <fake_test_node/fake_test_node.hpp>
#include <autoware/fake_test_node/fake_test_node.hpp>

#include <memory>
#include <string>

namespace
namespace autoware::fake_test_node
{
constexpr auto kSpinThread = false;
constexpr auto kArgc = 0;
Expand All @@ -34,15 +34,6 @@ std::string sanitize_test_name(const std::string & name)
return sanitize_test_name;
}

} // namespace

namespace autoware
{
namespace tools
{
namespace testing
{

void detail::FakeNodeCore::set_up(const std::string & test_name)
{
ASSERT_FALSE(rclcpp::ok());
Expand Down Expand Up @@ -76,6 +67,4 @@ void FakeTestNode::TearDown()
tear_down();
}

} // namespace testing
} // namespace tools
} // namespace autoware
} // namespace autoware::fake_test_node
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/// \copyright Copyright 2021 Apex.AI, Inc.
/// All rights reserved.

#include <fake_test_node/fake_test_node.hpp>
#include <autoware/fake_test_node/fake_test_node.hpp>

#include <std_msgs/msg/bool.hpp>
#include <std_msgs/msg/int32.hpp>
Expand All @@ -30,8 +30,8 @@

using bool8_t = bool;

using FakeNodeFixture = autoware::tools::testing::FakeTestNode;
using FakeNodeFixtureParametrized = autoware::tools::testing::FakeTestNodeParametrized<bool8_t>;
using FakeNodeFixture = autoware::fake_test_node::FakeTestNode;
using FakeNodeFixtureParametrized = autoware::fake_test_node::FakeTestNodeParametrized<bool8_t>;
using std_msgs::msg::Bool;
using std_msgs::msg::Int32;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
// Copyright 2022 TIER IV, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef AUTOWARE__MOTION_UTILS__FACTOR__STEERING_FACTOR_INTERFACE_HPP_
#define AUTOWARE__MOTION_UTILS__FACTOR__STEERING_FACTOR_INTERFACE_HPP_

#include <autoware_adapi_v1_msgs/msg/planning_behavior.hpp>
#include <autoware_adapi_v1_msgs/msg/steering_factor.hpp>
#include <geometry_msgs/msg/pose.hpp>

#include <string>

namespace autoware::motion_utils
{

using autoware_adapi_v1_msgs::msg::PlanningBehavior;
using autoware_adapi_v1_msgs::msg::SteeringFactor;
using SteeringFactorBehavior = SteeringFactor::_behavior_type;
using SteeringFactorStatus = SteeringFactor::_status_type;
using geometry_msgs::msg::Pose;

class SteeringFactorInterface
{
public:
[[nodiscard]] SteeringFactor get() const { return steering_factor_; }
void init(const SteeringFactorBehavior & behavior) { behavior_ = behavior; }
void reset() { steering_factor_.behavior = PlanningBehavior::UNKNOWN; }

void set(
const std::array<Pose, 2> & pose, const std::array<double, 2> distance,
const uint16_t direction, const uint16_t status, const std::string & detail = "");

private:
SteeringFactorBehavior behavior_{SteeringFactor::UNKNOWN};
SteeringFactor steering_factor_{};
};

} // namespace autoware::motion_utils

#endif // AUTOWARE__MOTION_UTILS__FACTOR__STEERING_FACTOR_INTERFACE_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ class VelocityFactorInterface
const std::vector<PointType> & points, const Pose & curr_pose, const Pose & stop_pose,
const VelocityFactorStatus status, const std::string & detail = "");

void set(
const double & distance, const VelocityFactorStatus & status, const std::string & detail = "");

private:
VelocityFactorBehavior behavior_{VelocityFactor::UNKNOWN};
VelocityFactor velocity_factor_{};
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// Copyright 2022 TIER IV, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#include <autoware/motion_utils/factor/steering_factor_interface.hpp>

namespace autoware::motion_utils
{
void SteeringFactorInterface::set(
const std::array<Pose, 2> & pose, const std::array<double, 2> distance, const uint16_t direction,
const uint16_t status, const std::string & detail)
{
steering_factor_.pose = pose;
std::array<float, 2> converted_distance{0.0, 0.0};
for (int i = 0; i < 2; ++i) converted_distance[i] = static_cast<float>(distance[i]);
steering_factor_.distance = converted_distance;
steering_factor_.behavior = behavior_;
steering_factor_.direction = direction;
steering_factor_.status = status;
steering_factor_.detail = detail;
}
} // namespace autoware::motion_utils
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ void VelocityFactorInterface::set(
velocity_factor_.detail = detail;
}

void VelocityFactorInterface::set(
const double & distance, const VelocityFactorStatus & status, const std::string & detail)
{
velocity_factor_.behavior = behavior_;
velocity_factor_.distance = static_cast<float>(distance);
velocity_factor_.status = status;
velocity_factor_.detail = detail;
}

template void VelocityFactorInterface::set<tier4_planning_msgs::msg::PathPointWithLaneId>(
const std::vector<tier4_planning_msgs::msg::PathPointWithLaneId> &, const Pose &, const Pose &,
const VelocityFactorStatus, const std::string &);
Expand Down
2 changes: 1 addition & 1 deletion common/autoware_osqp_interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ament_auto_add_library(${PROJECT_NAME} SHARED
${OSQP_INTERFACE_LIB_SRC}
${OSQP_INTERFACE_LIB_HEADERS}
)
target_compile_options(${PROJECT_NAME} PRIVATE -Wno-error=old-style-cast -Wno-error=useless-cast)
target_compile_options(${PROJECT_NAME} PRIVATE -Wno-error=old-style-cast)

target_include_directories(${PROJECT_NAME}
SYSTEM PUBLIC
Expand Down
2 changes: 1 addition & 1 deletion common/autoware_osqp_interface/src/osqp_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,6 @@ void OSQPInterface::logUnsolvedStatus(const std::string & prefix_message) const
output_message += "Optimization failed due to " + status_message;

// log with warning
RCLCPP_WARN(rclcpp::get_logger("osqp_interface"), output_message.c_str());
RCLCPP_WARN(rclcpp::get_logger("osqp_interface"), "%s", output_message.c_str());
}
} // namespace autoware::osqp_interface
Loading
Loading