rosparam ERROR: Parameter is not set
I am trying to convert from sdf to urdf robot model. I found this https://github.com/andreasBihlmaier/p... and i followed the steps in https://www.youtube.com/watch?v=8g5nM... . But when i do rosparam get robot_description
i get the following error:
ERROR: Parameter [/robot_description] is not set
I guess something is wrong with my workspace structure but i can't figure out what. Any suggestions?
Thank you!
Could I please ask you when referring to videos to explain which commands you used from that video and what the output was? This may be personal, but I'm not going to watch a 13 minute video just to see what could have gone wrong.
I used the url from github and did
git clone https://github.com/andreasBihlmaier/pysdf.git
in my working directory. It worked fine. Then catkin_make which also worked. In the parse.py file i changed the name of catkin_ws to robot_ws because thats my directory.Then in my robot_gazebo folder i opened the launch file and add
<param name="/robot_description" textfile="$(find robot_gazebo)/models/robot/robot.urdf" />
. I changed toroscd robot_gazebo/models/robot
and thenrosrun pysdf sdf2urdf.py robot.sdf robot.urdf
which gave me the urdf code.I am able to relaunch the model with
roslaunch robot_gazebo robot.launch
with an error message in terminalError [Param.hh:298] Unable to convert parameter[updateRate] whose type is[string], to type[d]
, but my robot is still there and visible.The problem is when i run
rosparam get /robot_description
(with or whithout an / ) it gives meERROR: Parameter [/robot_description] is not set