TechmanRobotInc / tmr_ros1

TM Robots supporting ROS1 drivers and some extended external applications. (experimental) (not support the new TM S-Series)
Other
49 stars 21 forks source link

RViz real TM12 1300 doesn't move #2

Closed MarcoCicognani closed 2 years ago

MarcoCicognani commented 3 years ago

Hi, as i written in the title I'm currently trying to move a real TM12 1300 with ROS RViz. I have installed all the requested packages (ros-melodic-desktop-full, ros-melodic-moveit, ros-melodic-industrial-core, tmr_ros1) under Ubuntu 18.04 without errors. When I launch ROS with

source /opt/ros/melodic/setup.bash
source ${HOME}/src/BTRobot/devel/setup.bash
roslaunch tm12_moveit_config tm12_moveit_planning_execution.launch sim:=False robot_ip:=<RobotIP>

the robot is drawn into the RViz but in a wrong position (the home position) instead of the normal pose (which is his real position); when i move the 3d model into the RViz and clicking the Plan & Execute button the RViz writes that the script was executed succesfully, but the real robot doesn't move.

My PC and the robot are in the same LAN, no connection errors occur

TechmanRobotIncOwner commented 2 years ago

you can type rosrun tm_driver tm_driver <robot_ip_address> to check the connection is correct or not.

If your connection is success, please paste your terminal, I will check it.