--
You received this message because you are subscribed to the Google Groups "swri-ros-pkg-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swri-ros-pkg-d...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Joe,
The standard ROS-I setup uses a moveit_planning_execution.launch file, as specified here. I’m assuming you’re using a version of this file. When running this launch file in “simulation” mode (the default), it runs the robot_interface_simulator.launch file in the industrial_robot_simulator package. If you read through this launch file, you see that it, in turn loads the “joint_trajectory_action” node in the “industrial_robot_client” package. The error messages you’re seeing indicate that this node was either not started, or is running in a different namespace than expected by the other nodes. I’m betting the former is your issue, since you probably haven’t changed the default configuration.
Check to see what nodes are running using “rosnode list”. This list should include “joint_trajectory_action”. Make sure and look through the messages printed when the moveit_planning_execution.launch file is run. I expect that there’s an error in there somewhere.
One common problem I’ve seen is that people try to run the moveit_planning_execution.launch file without compiling the joint_trajectory_action node first. Most of the rest of the packages contain either pre-built binaries (installed using apt-get), python nodes (no compilation needed), or configuration/launch/urdf data only (no compilation needed). If you download the ROS-I packages from source, you may not have compiled the joint_trajectory_action node. Try running “rosmake industrial_robot_client” (or catkin_make industrial_robot_client) to build this package first. Note that if your dependencies are set right, you can run “catkin_make my_robot_moveit_package” and it will automatically build any dependencies that need it.
If you’re still having troubles, try posting the full message log you get when running moveit_planning_execution.launch. Also, it may help to post the contents of the launch file you’re running, so we can double-check that.
I don’t think you should need to re-install things from scratch.
Good luck!
Jeremy Zoss
Southwest Research Institute
--
--
You received this message because you are subscribed to a topic in the Google Groups "swri-ros-pkg-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/swri-ros-pkg-dev/VK9odnlU6Pw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to swri-ros-pkg-d...@googlegroups.com.
The display you see when planning a motion (in MoveIt) is executed at faster than realtime. It is intended to help you preview the planned motion path, but not the velocity / acceleration speeds. The “secondary” display shows the current state of the industrial_robot_simulator as it executes the motion at the commanded speeds. If these execution speeds look slower than expected, it’s likely that the commanded trajectory also includes slow speeds.
As Shaun suggested, you can look at the commanded trajectory by inspecting the messages published on the joint_path_command topic. Both the time_from_start and velocity fields should match the slow execution speeds you’re seeing. If not, then there’s something funny going on.
If things do appear to be consistent, but slower than you’d like, then the next place to look is at the MoveIt package configuration parameters. By default, MoveIt tries to plan motions at maximum joint speed and accelerations. These speeds are generated by a Trajectory Filter that uses a configuration file to specify the maximum joint velocity/acceleration limits to use during planning. Note that this configuration data is separate from the values specified in the URDF (even some of these limits are also specified there).
The MoveIt packages generated by the Setup Assistant load this Trajectory Filter data from a configuration file located at: <robot_moveit_config>/config/joint_limits.yaml. The units in this file are typically rad/sec. For a long time, these values were initially set to 1 rad/sec (and 1 rad/sec^2), which is relatively tame. I believe that more recent versions of the Setup Assistant try to use limits from the URDF file. To adjust the speed of the planned motions, set these limits to something closer to the actual limits of your robot. Note that if you set these limits to the “true” velocity/accel limits, MoveIt will try to plan motions at 100% of robot speed, which is probably not what you’re looking for.
Hope this helps!
- Jeremy