Closed Abduoit closed 6 years ago
This looks like an issue with rviz. Try removing the rviz launch from turtlebot_arm_moveit.launch
and see if the launch still crashes. If it doesn't try reinstalling rviz.
<!-- Run Rviz and load the default config to see the state of the move_group node -->
<include file="$(find turtlebot_arm_moveit_config)/launch/moveit_rviz.launch">
<arg name="config" value="true"/>
<arg name="debug" value="$(arg debug)"/>
</include>
Thanks @Zabot
Now, I got rviz and moveit. BUT when I change the virtual arm and press plan and execut
e, the actual arm is not moving. ??
Well, many different things can be happening here... can you provide more details, mostly the log. Basic checks:
@corot
-The arm in rviz with its real physical position, I moved the physical arm and I saw its moving in rviz.
rosrun actionlib axclient.py action_topic actionlib/TwoIntsAction
I got window of actionlib/TwoIntsAction GUI Client. Gaol says a:0, and b:0
-I don't know how to check your last suggestion Is MoveIt handling the trajectory controller? (check for example with rostopic info the action goal, if MoveIt is publishing to it
I mean, you can check if moveit publishes on your arm contoler action server, e.g.
rostopic info /arm_controller/follow_joint_trajectory/goal
if so, echo the goal when you send one on RViz
rostopic echo /arm_controller/follow_joint_trajectory/goal
For sending a goal to the controller, you can use
rosrun actionlib axclient.py /arm_controller/follow_joint_trajectory
but it's true it will be very tedious to specify a joint trajectory, so better try to make RViz MoveIt plugin work, or try to command the arm using code. You can find an example in python here.
Hi Did you solve this problem? I have a same problem with yours, i coould not still handle it.
Hi, I cannot fix something I cannot reproduce. Please follow the checks in my previous comment and report here the outcome.
rostopic info /arm_controller/follow_joint_trajectory/goal
output : Type: control_msgs/FollowJointTrajectoryActionGoal
Publishers: None
Subscribers:
why the publisher is none , do you have any idea ?
So MoveIt! is not connected to the arm controller action server. Any error in the log?
now , i can control arm with arbotix_gui command. What exactly do you mean with log ?
and why moveit not is connecting arm, i think i did everything correct.
Well,,, Publishers: None means MoveIt! is not sending goals to the arm
arbotix_gui is different because it talks directly to every joint, not the FollowJointTrajectory controller
yes , i understand now. What should i do now for controlling in MoveIt! ?
Unless there's an error, it should just happen. Check the log for errors. I'll take a look later. You launch :
roslaunch turtlebot_arm_moveit_config turtlebot_arm_moveit.launch
right?
Hi, I think I found your problem; you must add sim:=false to your launch command. If not, you are using MoveIt! just to command a "virtual" arm, not your real one. So try to launch:
roslaunch turtlebot_arm_moveit_config turtlebot_arm_moveit.launch sim:=false
Yes you are right, i did and it moves the robot :D Thanks a lot .
I run
arbotix_terminal
and I detect my five servosThen, I run
roslaunch turtlebot_arm_bringup arm.launch
until I see[INFO] [1506951666.556013]: ArbotiX connected
But when I run
roslaunch turtlebot_arm_moveit_config turtlebot_arm_moveit.launch
I get the following error, Please tell me how to control the arm ?? by rviz or moveit ???