-
Notifications
You must be signed in to change notification settings - Fork 667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(mission_planner): prepare to support ad api #1561
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<launch> | ||
<arg name="rout_topic_name" default="/planning/mission_planning/route"/> | ||
<arg name="route_topic_name" default="/planning/mission_planning/route"/> | ||
<arg name="echo_back_goal_pose_topic_name" default="/planning/mission_planning/echo_back_goal_pose"/> | ||
|
||
<node pkg="mission_planner" exec="goal_pose_visualizer" name="goal_pose_visualizer" output="screen"> | ||
<remap from="input/route" to="$(var rout_topic_name)"/> | ||
<node pkg="mission_planner" exec="goal_pose_visualizer_node" name="goal_pose_visualizer" output="screen"> | ||
<remap from="input/route" to="$(var route_topic_name)"/> | ||
<remap from="output/goal_pose" to="$(var echo_back_goal_pose_topic_name)"/> | ||
</node> | ||
</launch> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
<launch> | ||
<arg name="goal_topic_name" default="/planning/mission_planning/goal"/> | ||
<arg name="checkpoint_topic_name" default="/planning/mission_planning/checkpoint"/> | ||
<arg name="rout_topic_name" default="/planning/mission_planning/route"/> | ||
<arg name="route_topic_name" default="/planning/mission_planning/route"/> | ||
<arg name="map_topic_name" default="/map/vector_map"/> | ||
<arg name="visualization_topic_name" default="/planning/mission_planning/route_marker"/> | ||
|
||
<node pkg="mission_planner" exec="mission_planner" name="mission_planner" output="screen"> | ||
<node pkg="mission_planner" exec="mission_planner_node" name="mission_planner" output="screen"> | ||
<param name="map_frame" value="map"/> | ||
<param name="base_link_frame" value="base_link"/> | ||
<remap from="input/vector_map" to="$(var map_topic_name)"/> | ||
<remap from="input/goal_pose" to="$(var goal_topic_name)"/> | ||
<remap from="input/checkpoint" to="$(var checkpoint_topic_name)"/> | ||
<remap from="output/route" to="$(var rout_topic_name)"/> | ||
<remap from="output/route" to="$(var route_topic_name)"/> | ||
<remap from="debug/route_marker" to="$(var visualization_topic_name)"/> | ||
</node> | ||
</launch> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
#include "mission_planner/goal_pose_visualizer.hpp" | ||
#include "goal_pose_visualizer.hpp" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why did you move the header file? Please let me know if there are any references. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This is from guide of ament_cmake. This is not library header, so it should be placed under There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, thanks! |
||
|
||
namespace mission_planner | ||
{ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will stop using
ComposableNodeContainer
formission_planner::MissionPlannerLanelet2
andmission_planner::GoalPoseVisualizer
.That may cause some performance degradation.
@yukkysaito @tkimura4 Is that okay for you?
FYI, from Humble, I believe we can use
ComposableNode
inlaunch.xml
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The goal pose visualizer node only subscribes to the route topic. This topic is only published once per setting route, so I don't think it will affect performance much.