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

feat: add traffic_light_recognition packages #94

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
ed1f838
release v0.4.0
mitsudome-r Sep 18, 2020
d773bdd
check if gdown command exists (#707)
harihitode Jul 21, 2020
4a02612
Add nodelets of tlr nodes (#715)
wep21 Jul 30, 2020
6bd655e
remove libutils dependency when unable gpu (#761)
Aug 13, 2020
7d1fd21
Fix typo cliped -> clipped (#776)
kosuke55 Aug 16, 2020
e900a8b
install launch when disable gpu (#829)
Aug 25, 2020
54ec7a4
change raw pointer to vector and shared_ptr (#817)
Aug 26, 2020
f46c1a4
Fix/cublas dependency (#849)
yukkysaito Aug 28, 2020
26fdb4c
remove ROS1 packages temporarily
mitsudome-r Sep 29, 2020
6adc13b
Revert "remove ROS1 packages temporarily"
mitsudome-r Oct 8, 2020
2ae39ee
add COLCON_IGNORE to ros1 packages
mitsudome-r Oct 8, 2020
eb2348c
Rename launch files to launch.xml (#28)
nnmm Oct 15, 2020
03b3991
Port traffic light classifier (#70)
mitsudome-r Nov 5, 2020
64e0727
[traffic_light_ssd_fine_detector] port to ROS2 (#113)
mitsudome-r Nov 24, 2020
a7516a2
Ros2 port traffic light map (#99)
simon-t4 Nov 26, 2020
f2d7db9
Convert calls of Duration to Duration::from_seconds where appropriate…
nnmm Nov 30, 2020
02c1cf2
Rename h files to hpp (#142)
nnmm Dec 3, 2020
45e736a
Adjust copyright notice on 532 out of 699 source files (#143)
nnmm Dec 3, 2020
04957ea
Use quotes for includes where appropriate (#144)
nnmm Dec 7, 2020
a35c670
fixing trasient_local in ROS2 packages (#160)
nik-tier4 Dec 11, 2020
c476ca5
adding linters in traffic_light_map_based_detector (#179)
nik-tier4 Dec 15, 2020
bb9aad1
traffic_light_classifier: Fix engine save dir (#250)
wep21 Jan 13, 2021
284bae5
traffic light map based detector: Fix launch (#253)
wep21 Jan 19, 2021
c5df6d4
Ros2 v0.8.0 traffic light map based detector (#262)
wep21 Jan 17, 2021
078470e
Ros2 v0.8.0 traffic light classifier (#261)
wep21 Jan 17, 2021
9078aa7
Ros2 v0.8.0 traffic light ssd fine detector (#260)
wep21 Jan 17, 2021
86b5b03
Rename ROS-related .yaml to .param.yaml (#352)
kenji-miyake Feb 24, 2021
a79bc54
Ros2 v0.8.0 beta rm std msgs ssd traffic light (#395) (#400)
mitsudome-r Mar 4, 2021
20d97bd
add use_sim-time option (#454)
tkimura4 Mar 26, 2021
576a207
Fix rolling build errors (#1225)
kenji-miyake Apr 5, 2021
3855283
Sync public repo (#1228)
mitsudome-r Apr 5, 2021
59c93aa
Unify Apache-2.0 license name (#1242)
kmiya Apr 15, 2021
a7f2e61
Remove use_sim_time for set_parameter (#1260)
wep21 Apr 26, 2021
06f79d5
handle wrong route (#1312)
wep21 May 18, 2021
39a0d60
Dealing with wrong image size (#1320)
wep21 May 18, 2021
7f34e1f
Perception components (#1368)
wep21 May 26, 2021
e4bea3d
Use sensor data qos for traffic light recognition (#1440)
wep21 Jun 9, 2021
5efba2d
Fix/ssd fine detector (#1421) (#1468)
wep21 Jun 15, 2021
9f7a101
Feature/tl map based detector ros2 (#1475)
wep21 Jun 16, 2021
5ae9a38
Add pre-commit (#1560)
KeisukeShima Jul 19, 2021
5729382
Fix build error with TensorRT v8 (#1612)
wep21 Jul 19, 2021
ecd678f
Add markdownlint and prettier (#1661)
kenji-miyake Jul 20, 2021
5e5869e
suppress warnings for declare parameters (#1724)
h-ohta Jul 28, 2021
cafc24b
suppress warnings for traffic light classifier (#1762)
h-ohta Aug 3, 2021
3a0cf42
Fix -Wunused-parameter (#1836)
kenji-miyake Aug 14, 2021
c57e859
Fix compiler warnings (#1837)
kenji-miyake Aug 15, 2021
90eda50
Fix clang warnings (#1859)
kenji-miyake Aug 16, 2021
b25297c
Invoke code formatter at pre-commit (#1935)
IshitaTakeshi Sep 1, 2021
042302d
add sort-package-xml hook in pre-commit (#1881)
KeisukeShima Sep 9, 2021
bd7058e
Fix readme traffic light map based detector (#2282)
kminoda Oct 25, 2021
0b6a506
Change formatter to clang-format and black (#2332)
kenji-miyake Nov 2, 2021
b705ae9
Add COLCON_IGNORE (#500)
kenji-miyake Nov 4, 2021
eba1558
[traffic_light_ssd_fine_detector] support autoware auto msgs (#514)
Nov 8, 2021
de89cb2
[traffic_light_map_based_detector] support autoware auto msgs (#511)
Nov 8, 2021
5f9b554
[traffic_light_classifier] support autoware auto msgs (#504)
Nov 10, 2021
2de4c77
update README of traffic_light_classifier (#649)
yukke42 Nov 16, 2021
0340445
add readme for traffic light ssd fine detector (#637)
Nov 17, 2021
e0ec56b
declare variable before subscriber registration (#705)
Nov 18, 2021
b2ac2b6
update traffic light classifier readme (#726)
Nov 24, 2021
f695283
Update traffic light topic name (#729)
wep21 Nov 25, 2021
9b7a8e3
Merge branch 'tier4/proposal' into 1-add-traffic-light-recognition-pa…
taikitanaka3 Dec 3, 2021
e82bf5a
Merge branch 'tier4/proposal' into 1-add-traffic-light-recognition-pa…
tkimura4 Dec 3, 2021
ff8e0aa
Apply suggestions from code review
tkimura4 Dec 3, 2021
b011ab3
Apply suggestions from code review
tkimura4 Dec 3, 2021
7f4470a
Merge branch 'tier4/proposal' into 1-add-traffic-light-recognition-pa…
tkimura4 Dec 3, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Ros2 v0.8.0 beta rm std msgs ssd traffic light (#395) (#400)
* rm std_msgs float32

* fix typo

Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>
  • Loading branch information
2 people authored and 1222-takeshi committed Dec 2, 2021
commit a79bc54b6ae9ecc68e22474be63c69d5cc0d7f19
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
#include "cv_bridge/cv_bridge.h"
#include "sensor_msgs/msg/image.hpp"
#include "sensor_msgs/image_encodings.hpp"
#include "std_msgs/msg/float32.hpp"
#include "std_msgs/msg/header.hpp"
#include "autoware_debug_msgs/msg/float32_stamped.hpp"

#include "autoware_perception_msgs/msg/traffic_light_roi_array.hpp"

Expand Down Expand Up @@ -76,7 +75,7 @@ class TrafficLightSSDFineDetectorNodelet : public rclcpp::Node
message_filters::Subscriber<autoware_perception_msgs::msg::TrafficLightRoiArray> roi_sub_;
std::mutex connect_mutex_;
rclcpp::Publisher<autoware_perception_msgs::msg::TrafficLightRoiArray>::SharedPtr output_roi_pub_;
rclcpp::Publisher<std_msgs::msg::Float32>::SharedPtr exe_time_pub_;
rclcpp::Publisher<autoware_debug_msgs::msg::Float32Stamped>::SharedPtr exe_time_pub_;
rclcpp::TimerBase::SharedPtr timer_;

typedef message_filters::sync_policies::ExactTime<
Expand Down
1 change: 1 addition & 0 deletions perception/traffic_light_ssd_fine_detector/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<buildtool_depend>ament_cmake_auto</buildtool_depend>

<depend>autoware_perception_msgs</depend>
<depend>autoware_debug_msgs</depend>
<depend>cv_bridge</depend>
<depend>image_transport</depend>
<depend>rclcpp</depend>
Expand Down
5 changes: 3 additions & 2 deletions perception/traffic_light_ssd_fine_detector/src/nodelet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ TrafficLightSSDFineDetectorNodelet::TrafficLightSSDFineDetectorNodelet(const rcl

std::lock_guard<std::mutex> lock(connect_mutex_);
output_roi_pub_ = this->create_publisher<autoware_perception_msgs::msg::TrafficLightRoiArray>("output/rois", 1);
exe_time_pub_ = this->create_publisher<std_msgs::msg::Float32>("debug/exe_time_ms", 1);
exe_time_pub_ = this->create_publisher<autoware_debug_msgs::msg::Float32Stamped>("debug/exe_time_ms", 1);
if (is_approximate_sync_) {
approximate_sync_.reset(new ApproximateSync(ApproximateSyncPolicy(10), image_sub_, roi_sub_));
approximate_sync_->registerCallback(
Expand Down Expand Up @@ -195,8 +195,9 @@ void TrafficLightSSDFineDetectorNodelet::callback(
const auto exe_end_time = high_resolution_clock::now();
const double exe_time =
std::chrono::duration_cast<milliseconds>(exe_end_time - exe_start_time).count();
std_msgs::msg::Float32 exe_time_msg;
autoware_debug_msgs::msg::Float32Stamped exe_time_msg;
exe_time_msg.data = exe_time;
exe_time_msg.stamp = this->now();
exe_time_pub_->publish(exe_time_msg);
}

Expand Down