Robot model parameter not found
I've created a move_group configuration for my robot but anytime I try to run the moveit_commander
using rosrun moveit_commander moveit_commander_cmdline.py
, I get a
Robot model parameter not found! Did you remap 'robot_description'?
error.
When I ran my rosparam list|grep robot_description_semantic
and rosparam list|grep robot_description
. I noticed the robot_description
and robot_description_semantic
are in the namespace /robot/robot_description
and /robot/robot_description_semantic
. How do I run moveit_commander
in a specific namespace since I'm running multiple robot?
Thanks.
Edit:
[ERROR] [1551552307.036199597, 701.961000000]: Robot model parameter not found! Did you remap 'robot_description'?
Traceback (most recent call last):
File "/home/user/catkin_ws/src/moveit/moveit_commander/bin/moveit_commander_cmdline.py", line 166, in <module>
run_interactive(opt.group_name)
File "/home/user/catkin_ws/src/moveit/moveit_commander/bin/moveit_commander_cmdline.py", line 91, in run_interactive
c = MoveGroupCommandInterpreter()
File "/home/user/catkin_ws/src/moveit/moveit_commander/src/moveit_commander/interpreter.py", line 65, in __init__
self._robot = RobotCommander()
File "/home/user/catkin_ws/src/moveit/moveit_commander/src/moveit_commander/robot.py", line 151, in __init__
self._r = _moveit_robot_interface.RobotInterface(robot_description, ns)
RuntimeError: RobotInterfacePython: invalid robot model
Could you please clarify why you've built MoveIt from source on Kinetic?
I can't really remember why, but most likely because the guide I used built from source. But it seems to work fine. Is there any reason why I shouldn't?
yes, multiple in fact:
If you don't need the from-source build, I'd actually strongly recommend to remove it and just do a:
Could you please also tell us which guide/tutorial you followed? Building from source is only needed/desirable in a few select situations. For most users, installing the binaries makes much more sense, so I'd like to make sure the page you refer to explains that.
Thanks. I've installed the binary. But I can't remember the guide/tutorial I followed, I'll share it once I find it.