Skip to content

Commit

Permalink
Add comments (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
ToshikiNakamura0412 authored Nov 18, 2024
1 parent 29a5303 commit 6e74b6a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions include/motion_decision/motion_decision.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,20 @@ class MotionDecision
*/
sensor_msgs::LaserScan create_laser_from_local_map(const nav_msgs::OccupancyGrid &msg, const std::string &direction);

/**
* @brief Adjust distance for footprint function
* @param [in] msg Msg of laser
* @param [in] direction Direction of laser
* @return sensor_msgs::LaserScan Adjusted laser data
*/
sensor_msgs::LaserScan adjust_dist_for_footprint(const sensor_msgs::LaserScan &msg, const std::string &direction);

/**
* @brief Calcualte intersection function
* @param [in] obstacle Obstacle
* @param [in] footprint Footprint
* @return geometry_msgs::Point Intersection point
*/
geometry_msgs::Point calc_intersection(
const geometry_msgs::Point &obstacle, const geometry_msgs::PolygonStamped &footprint);

Expand Down

0 comments on commit 6e74b6a

Please sign in to comment.