-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
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
Sending trajectory using ROS #332
Comments
Please see #229. Do not publish messages directly to any topics, use the action server. Also do not use "random" commands you find in comments on issues. Those are typically only used for diagnosing a specific issue. Re-using them for other purposes -- without understanding what they're doing -- can be dangerous and should not be done. |
I'm going to close this, as I expect the example shown in #229 will work and has sufficient detail to resolve this. If it turns out something is egregiously wrong somewhere we can re-open. |
please be careful with sentences which include "simply" or "just". Experience tells me they are often not as easy or straightforward as they appear. |
Sorry, missed the example file that you had mentioned in #229. I think you should attach that file somewhere in the tutorial. Would like to point that in line 61 of your code in kinetic-devel...gavanderhoorn:actionclient_example is giving an attribute error. Changing robot_joint_states.positions to robot_joint_states.position solved the problem. You might want to make the change. Anyway, I am able to send the trajectory and the robot is following the trajectory so everything is working fine. Thanks for the help @gavanderhoorn |
Hello,
I have completed the installation of Motoman ROS Server. I am trying to to test the robot by sending a trajectory. I ran the command-
rosrun motoman_driver move_to_joint.py "[0, 0, 0, 0, 0, 0]"
and got the following output-I ran the following command which is mentioned in #228
I get the following output-
publishing and latching message for 3.0 seconds
but the robot does not move. It tried changing the positions and velocities as well.
In a few posts it is suggested to not use the move_to_joint.py script and use action server.
Could you guide me how to use action server. I simply want to test that the robot is able to get trajectories from ROS and move. Right now I am unable to move the robot at all using ROS.
I also think it would be a good idea to include a few steps of action server in the tutorial.
The text was updated successfully, but these errors were encountered: