Skip to content

Commit

Permalink
change topic
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Sanchez <[email protected]>
  • Loading branch information
danielsanchezaran committed Apr 12, 2024
1 parent 65e903c commit f36c863
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion control/autonomous_emergency_braking/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ AEB::AEB(const rclcpp::NodeOptions & node_options)
{
// Subscribers
sub_point_cloud_ = this->create_subscription<PointCloud2>(
"~/input/pointcloud", rclcpp::SensorDataQoS(),
"/perception/obstacle_segmentation/pointcloud", rclcpp::SensorDataQoS(),
std::bind(&AEB::onPointCloud, this, std::placeholders::_1));

sub_velocity_ = this->create_subscription<VelocityReport>(
Expand Down Expand Up @@ -290,6 +290,7 @@ bool AEB::checkCollision(MarkerArray & debug_markers)
}

// step3. create ego path based on sensor data
std::cerr << "---------CHECKING COLLISIONS!!!!!---------\n";
bool has_collision_ego = false;
if (use_imu_path_) {
Path ego_path;
Expand Down

0 comments on commit f36c863

Please sign in to comment.