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
Originally posted by the3kr on ROS Answers with karma: 91 on 2019-03-01
Post score: 4
Original comments
Comment by gvdhoorn on 2019-03-02:
Could you please clarify why you've built MoveIt from source on Kinetic?
Comment by the3kr on 2019-03-02:
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?
Comment by gvdhoorn on 2019-03-03:\
Is there any reason why I shouldn't?
yes, multiple in fact:
- building MoveIt takes quite some time
- source builds are not automatically updated
- you're tracking a development branch (ie: not a stable release)
- potential for vague problems
- difficult to reproduce for others
Comment by gvdhoorn on 2019-03-03:
If you don't need the from-source build, I'd actually strongly recommend to remove it and just do a:
sudo apt install ros-kinetic-moveit
Comment by gvdhoorn on 2019-03-03:
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.
Comment by the3kr on 2019-03-03:
Thanks. I've installed the binary. But I can't remember the guide/tutorial I followed, I'll share it once I find it.