We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It can be difficult to remap the parameter name passed to initParam (usually robot_description). This may be due to the call to searchParam().
initParam
robot_description
searchParam()
urdf/urdf/src/model.cpp
Lines 96 to 99 in 4707296
This appears to work
<?xml version="1.0"?> <launch> <param name="robot_description" type="str" value="Dummy value to trick searchParam"/> <node pkg="robot_state_publisher" name="private_robot_state_pub" type="robot_state_publisher"> <remap from="/robot_description" to="~/robot_description"/> <param name="~/robot_description" type="str" value="<robot name="private_robot"><link name="private_link"/></robot>"/> </node> </launch>
And these result in the following error
[ERROR] [1530889965.789570642]: Could not find parameter robot_description on parameter server
no dummy global parameter
<?xml version="1.0"?> <launch> <node pkg="robot_state_publisher" name="private_robot_state_pub" type="robot_state_publisher"> <remap from="/robot_description" to="~/robot_description"/> <param name="~/robot_description" type="str" value="<robot name="private_robot"><link name="private_link"/></robot>"/> </node> </launch>
dummy parameter, but non-FQN in remap rule
<?xml version="1.0"?> <launch> <param name="robot_description" type="str" value="Dummy value to trick searchParam"/> <node pkg="robot_state_publisher" name="private_robot_state_pub" type="robot_state_publisher"> <remap from="robot_description" to="~/robot_description"/> <param name="~/robot_description" type="str" value="<robot name="private_robot"><link name="private_link"/></robot>"/> </node> </launch>
Motivated by ros/robot_state_publisher#89
The text was updated successfully, but these errors were encountered:
Enable -Wall -Wextra -Wpedantic (ros#20)
9b9e8d9
* Enable warnings Signed-off-by: Audrow Nash <[email protected]> * Remove move in function return Signed-off-by: Audrow Nash <[email protected]>
No branches or pull requests
It can be difficult to remap the parameter name passed to
initParam
(usuallyrobot_description
). This may be due to the call tosearchParam()
.urdf/urdf/src/model.cpp
Lines 96 to 99 in 4707296
This appears to work
And these result in the following error
no dummy global parameter
dummy parameter, but non-FQN in remap rule
Motivated by ros/robot_state_publisher#89
The text was updated successfully, but these errors were encountered: