File tree 1 file changed +0
-20
lines changed
planning/behavior_velocity_planner/autoware_behavior_velocity_virtual_traffic_light_module/src
1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -30,26 +30,6 @@ using namespace std::literals::string_literals;
30
30
31
31
namespace autoware ::behavior_velocity_planner
32
32
{
33
- namespace
34
- {
35
- [[maybe_unused]] autoware::universe_utils::LinearRing3d createCircle (
36
- const autoware::universe_utils::Point3d & p, const double radius, const size_t num_points = 50 )
37
- {
38
- autoware::universe_utils::LinearRing3d ring; // clockwise and closed
39
-
40
- for (size_t i = 0 ; i < num_points; ++i) {
41
- const double theta = i * (2 * autoware::universe_utils::pi / num_points);
42
- const double x = p.x () + radius * std::sin (theta);
43
- const double y = p.y () + radius * std::cos (theta);
44
- ring.emplace_back (x, y, p.z ());
45
- }
46
-
47
- // Make closed
48
- ring.emplace_back (p.x (), p.y () + radius, p.z ());
49
-
50
- return ring;
51
- }
52
- } // namespace
53
33
54
34
autoware::motion_utils::VirtualWalls VirtualTrafficLightModule::createVirtualWalls ()
55
35
{
You can’t perform that action at this time.
0 commit comments