Comments (2)
Updates: Documentation of XML params only allow specific type of parameters to be used specifically, str|int|double|bool|yaml
https://wiki.ros.org/roslaunch/XML/param
from navigation.
Solved:
<launch>
<arg name="cmd_vel_topic" default="/cmd_vel" />
<arg name="odom_topic" default="odom" />
<arg name="move_forward_only" default="false"/>
<node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen">
<param name="base_local_planner" value="dwa_local_planner/DWAPlannerROS" />
<rosparam file="$(find spark_navigation)/param/costmap_common_params.yaml" command="load" ns="global_costmap" />
<rosparam file="$(find spark_navigation)/param/costmap_common_params.yaml" command="load" ns="local_costmap" />
<rosparam file="$(find spark_navigation)/param/local_costmap_params.yaml" command="load" />
<rosparam file="$(find spark_navigation)/param/global_costmap_params.yaml" command="load" />
<rosparam file="$(find spark_navigation)/param/move_base_params.yaml" command="load" />
<rosparam file="$(find spark_navigation)/param/dwa_local_planner_params.yaml" command="load" />
<remap from="cmd_vel" to="$(arg cmd_vel_topic)"/>
<remap from="odom" to="$(arg odom_topic)"/>
<param name="DWAPlannerROS/min_vel_x" value="0.0" if="$(arg move_forward_only)" />
<param name="recovery_behaviors" value="[{name: conservative_reset, type: clear_costmap_recovery/ClearCostmapRecovery}, {name: rotate_recovery, type: rotate_recovery/RotateRecovery}, {name: aggressive_reset, type: clear_costmap_recovery/ClearCostmapRecovery}]" type="yaml" />
</node>
</launch>
The type of param should be yaml
else roslaunch will interpret it as string
and the same will be passed on to move_base.
from navigation.
Related Issues (20)
- Global and local costmaps HOT 1
- DWA, TEB and DWB can not control with low acceleration HOT 1
- Trouble installing navigation / map-server HOT 4
- Problem installation from source, error: ros/package.h: No such file or directory HOT 2
- ryxen 9 5900hx or jetson orin for navigation stack? any recommendation which one would have better result? HOT 1
- MultiThreadedSpinner move base HOT 3
- Navnf capability on planning affected by the dimensions of the occupancy grid HOT 3
- discarded by cost function 1 with cost: -6.0 HOT 2
- local costmap with two inflation layers or inflation_radius HOT 1
- In A* algorithm, There seems to be a problem when putting neighboring nodes into heap
- [map server] Changing frame id HOT 1
- navigation/costmap_2d/plugins /static_layer.cpp StaticLayer::onInitialize can't return
- Amcl not working properly . HOT 3
- The robot stops suddenly at certain intervals
- Using Own Localization Method with Navigation HOT 1
- navfn (getPlanFromPotential or makePlan) is not using the last updated map form costmap_2d HOT 1
- Possibility of remapping tf publication of AMCL HOT 2
- The "global_planner/GlobalPlanner" plans paths through obstacles and unknown areas occasionally HOT 1
- #include error doesnt seem to be fixable HOT 1
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 navigation.