-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #160 from KumarRobotics/feature/remove_planning_ro…
…s_msgs Move planning_ros_msgs to be an external dependency
- Loading branch information
Showing
103 changed files
with
442 additions
and
3,711 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 18 additions & 15 deletions
33
autonomy_core/map_plan/action_planner/src/data_conversions.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,31 @@ | ||
#pragma once | ||
|
||
#include <jps/map_util.h> | ||
#include <kr_planning_msgs/VoxelMap.h> | ||
#include <mpl_collision/map_util.h> | ||
#include <planning_ros_msgs/VoxelMap.h> | ||
#include <memory> | ||
|
||
void setMap(std::shared_ptr<MPL::VoxelMapUtil>& map_util, | ||
const planning_ros_msgs::VoxelMap& msg); | ||
|
||
void getMap(std::shared_ptr<MPL::VoxelMapUtil>& map_util, | ||
planning_ros_msgs::VoxelMap& map); | ||
void setMap(const std::shared_ptr<MPL::VoxelMapUtil>& map_util, | ||
const kr_planning_msgs::VoxelMap& msg); | ||
|
||
void setMap(std::shared_ptr<JPS::VoxelMapUtil>& map_util, | ||
const planning_ros_msgs::VoxelMap& msg); | ||
void getMap(const std::shared_ptr<MPL::VoxelMapUtil>& map_util, | ||
kr_planning_msgs::VoxelMap* map); | ||
|
||
void getMap(std::shared_ptr<JPS::VoxelMapUtil>& map_util, | ||
planning_ros_msgs::VoxelMap& map); | ||
void setMap(const std::shared_ptr<JPS::VoxelMapUtil>& map_util, | ||
const kr_planning_msgs::VoxelMap& msg); | ||
|
||
void setMap(std::shared_ptr<JPS::OccMapUtil>& map_util, | ||
const planning_ros_msgs::VoxelMap& msg); | ||
void getMap(const std::shared_ptr<JPS::VoxelMapUtil>& map_util, | ||
kr_planning_msgs::VoxelMap* map); | ||
|
||
void getMap(std::shared_ptr<JPS::OccMapUtil>& map_util, | ||
planning_ros_msgs::VoxelMap& map); | ||
void setMap(const std::shared_ptr<JPS::OccMapUtil>& map_util, | ||
const kr_planning_msgs::VoxelMap& msg); | ||
|
||
void getMap(const std::shared_ptr<JPS::OccMapUtil>& map_util, | ||
kr_planning_msgs::VoxelMap* map); | ||
|
||
// NOTE: This function is the same as getInflatedOccMap function in | ||
// voxel_mapper.cpp, should merge them. | ||
planning_ros_msgs::VoxelMap sliceMap(const planning_ros_msgs::VoxelMap& map, | ||
double h, double hh = 0); | ||
kr_planning_msgs::VoxelMap sliceMap(const kr_planning_msgs::VoxelMap& map, | ||
double h, | ||
double hh = 0); |
Oops, something went wrong.