Skip to content

Commit

Permalink
Addressing pull request feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
orduno committed Jan 11, 2019
1 parent 817c108 commit 97b0cd2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 60 deletions.
9 changes: 1 addition & 8 deletions nav2_util/include/nav2_util/point.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,8 @@ struct Point
{
double x, y;

Point()
: x(0), y(0)
{
}

Point(const double x, const double y)
: x(x), y(y)
{
}
: x(x), y(y) { }

bool operator==(const Point & obj) const
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ using ClearAreaServiceRequest =
using ClearAreaServiceResponse =
ServiceClient<ProcessRegion>::ResponseType;

/*
* A class that creates a ROS service for clearing the occupancy information of a region
*/

class ClearAreaServiceClient : public ServiceClient<ProcessRegion>
{
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ using CostmapServiceRequest =
using CostmapServiceResponse =
ServiceClient<GetCostmap>::ResponseType;

/*
* A class that creates a ROS service for obtaining a costmap
*/

class CostmapServiceClient : public ServiceClient<GetCostmap>
{
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ using FreeSpaceServiceRequest =
using FreeSpaceServiceResponse =
ServiceClient<ProcessRegion>::ResponseType;

/*
* A class that creates a ROS service for checking the occupancy of a region
*/

class FreeSpaceServiceClient : public ServiceClient<ProcessRegion>
{
public:
Expand Down
52 changes: 0 additions & 52 deletions nav2_world_model/include/nav2_world_model/rectangular_region.hpp

This file was deleted.

0 comments on commit 97b0cd2

Please sign in to comment.