Get moveit + teleoperation to work [closed]
Hello,
I am experiencing issues getting the teleoperation, which is started with joystick_control.launch file in the corresponding moveit package of the robot, to work with moveit.
The initial setup only consits of 1 move_group called arm with no eef.
This caused the first problem, as it was stated that there is no move_group. The specific funtion what causes this is self.updatePlanningGroup (see http://docs.ros.org/melodic/api/movei...). I could bypass this by forcing the usage of arm group with index 0. But now I have troubles with the eef
Traceback (most recent call last):
File "/opt/ros/melodic/lib/moveit_ros_visualization/moveit_joy.py", line 42, in <module>
app = MoveitJoy()
File "/opt/ros/melodic/lib/python2.7/dist-packages/moveit_ros_visualization/moveitjoy_module.py", line 386, in __init__
self.updatePoseTopic(1, False)
File "/opt/ros/melodic/lib/python2.7/dist-packages/moveit_ros_visualization/moveitjoy_module.py", line 426, in updatePoseTopic
next_topic = topics[self.current_eef_index]
IndexError: list index out of range
I have set up a second movegroup with just one link and the set up the eef. Still I get the same issue. Can someone explain to me how to use the supplied teleop node?
BR
Just an observation (and perhaps some expectation management): the MoveIt joystick
.launch
file and interface is not a teleop interface (in the traditional sense of the word).It only allows to move the interactive marker (which you see in the RViz MoveIt planning plugin) with a joystick or joypad. After moving it, you'd still go through the planning and execution phase (again: by clicking buttons on the joystick).
There is no on-line or real-time motion of the robot through MoveIt with this interface.
Thank you very much for this clarification gvdhoorn! Do you maybe know a package that would allow this?
You could perhaps see whether the
moveit_jog_arm
package can do what you want.Refer to Arm Jogging in Real-Time.
Thanks. I will have a look at this. I will be closing this thread now.
Updated link: http://moveit2_tutorials.picknik.ai/d...