Comments (3)
Hello,
You will need to modify "mc2_turtlebot.launch" to change one line:
<include file="$(find turtlebot_navigation)/launch/amcl_mc2.launch" >
This refers to a file you do not have.
"amcl_mc2.launch" is a modified version of "amcl_demo.launch" from turtlebot_navigation. The only difference is the map file name.
What you do next depends on whether you are using ROS Hydro or Indigo.
Hydro
You could create your own copy of the amcl_demo file, with a reference to the real map that you wish to use:
https://github.com/turtlebot/turtlebot_apps/blob/hydro/turtlebot_navigation/launch/amcl_demo.launch
(line 13)
Indigo
In Indigo you can see that the map file name is now an environment variable.
from rosplan.
As an example, here is the contents of amcl_mc2.launch:
<launch>
<include file="$(find turtlebot_bringup)/launch/3dsensor.launch">
<arg name="rgb_processing" value="false" />
<arg name="depth_registration" value="false" />
<arg name="depth_processing" value="false" />
<!-- We must specify an absolute topic name because if not it will be prefixed by "$(arg camera)".
Probably is a bug in the nodelet manager: https://github.com/ros/nodelet_core/issues/7 -->
<arg name="scan_topic" value="/scan" />
</include>
<!-- Map server -->
<arg name="map_file" default="$(find turtlebot_navigation)/maps/map_studies.yaml"/>
<node name="map_server" pkg="map_server" type="map_server" args="$(arg map_file)" />
<arg name="initial_pose_x" default="0.0"/> <!-- Use 17.0 for willow's map in simulation -->
<arg name="initial_pose_y" default="0.0"/> <!-- Use 17.0 for willow's map in simulation -->
<arg name="initial_pose_a" default="0.0"/>
<include file="$(find turtlebot_navigation)/launch/includes/amcl.launch.xml">
<arg name="initial_pose_x" value="$(arg initial_pose_x)"/>
<arg name="initial_pose_y" value="$(arg initial_pose_y)"/>
<arg name="initial_pose_a" value="$(arg initial_pose_a)"/>
</include>
<include file="$(find turtlebot_navigation)/launch/includes/move_base.launch.xml"/>
</launch>
from rosplan.
thanks a lot. i will try according your advise.
from rosplan.
Related Issues (20)
- extracting "diagnostic_msgs/KeyValue[] parameters" HOT 1
- FF Parsing Interface is parsing the cost as an action HOT 2
- An instance with new type could be added to the KB but it should not HOT 4
- Error when running Prost planner HOT 6
- Installation Failed HOT 2
- Sensing Interface crashing HOT 1
- Running on windows HOT 1
- Documentation: Broken Link
- KCL: (RPActionInterface) could not call Knowledge Base for operator details, goto_waypoint HOT 11
- Failed to parse Contingent-FF problem files
- The steps to interface other planners to ROSPlan HOT 1
- Knowledge base update to remove one goal after failed action
- fastDownward Planner selection in the ROSPlan launch file HOT 3
- Typos in the documentation
- Calling problem_generation_server changes my problem removing the disjunctive-preconditions HOT 5
- sensing_interface.py bug HOT 1
- Action dispatch only when previous action is complete
- global name 'get_kb_attributes' is not defined HOT 3
- removing goals from KB HOT 1
- Run the demo with ROS Noetic HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rosplan.