Closed kzhang8850 closed 5 years ago
[ERROR] [..] Sub-package of type 0 was not parsed completely!
This seems to point to some issue with either deserialisation or a network issue.
I followed this link (https://github.com/olinrobotics/irl/wiki/Tutorial:-Setting-up-UR5-robot-arm) for steps on how to connect and test move the arm, except just replace some of the steps with kinetic versions/ this repository (even Zagitta's version)/etc.
Did you also edit the source as instructed in that tutorial? If so, please revert the changes.
Closing due to inactivity.
@kzhang8850: if this is still a problem for you, please re-open and provide more information.
Hi Gavanderhoorn, I met the same problem. Would you please reopen this issue? When I run the command oslaunch ur_modern_driver ur5_bringup.launch robot_ip:=192.168.1.102, the error message shows up as follows:
Thanks, Chunting
Just for tracking this: can you tell us which version of ROS, which OS (and version), how you installed ROS, how you built ur_modern_driver
, which robot you have, the version of polyscope it is running, etc.
Also: could you please not use screenshots to show me terminal output? Please just copy-paste it into your comment.
OK, thanks for your quick reply. I'm working Ubuntu 16.04, ROS-Kinetic, ur_modern_driver and Polyscope 3.2.21545. To install ROS, I followed the instructions here.
As for the error message, it comes like:
[ INFO] [1538722053.643268977]: Trajectory thread started [ERROR] [1538722053.672768737]: Sub-package of type 0 was not parsed completely! [ INFO] [1538722053.672891508]: Disconnecting from 192.168.1.102:30002 [ INFO] [1538722053.673016779]: Shutting down on stopped pipeline StatePacket Error in `/home/chunting/catkin_ws/devel/lib/ur_modern_driver/ur_driver': double free or corruption (!prev): 0x0000000000fadf10 [ur_driver-3] process has died [pid 26071, exit code -11, cmd /home/chunting/catkin_ws/devel/lib/ur_modern_driver/ur_driver __name:=ur_driver __log:=/home/chunting/.ros/log/890f3b82-c86a-11e8-9fd8-44850011896a/ur_driver-3.log]. log file: /home/chunting/.ros/log/890f3b82-c86a-11e8-9fd8-44850011896a/ur_driver-3*.log
It seems that the action server didn't run properly, it stopped in the if statement.
void ActionServer::trajectoryThread()
{
LOG_INFO("Trajectory thread started");
while (running_)
{
LOG_INFO("running_ is true");
std::unique_lock<std::mutex> lk(tj_mutex_);
if (!tj_cv_.wait_for(lk, std::chrono::milliseconds(100), [&] { return running_ && has_goal_; })){
continue;
}
Thanks, Chunting
I don't believe the actionserver is really involved here: parsing the binary stream coming from the controller failed (here), which causes the whole driver to shutdown (instead of ignoring data and plodding on).
Polyscope 3.2.21545
it could be there is an incompatibility between that version and the current deserialisers in the driver.
Do you have a specific reason for staying with 3.2.x?
No, this version came with the robot and I never updated it. So probably I have two solutions, one is to update the polyscope, the other is to go back to Indigo. Is it?
Thanks, Chunting
No, this version came with the robot and I never updated it. So probably I have two solutions, one is to update the polyscope, [..]
It would be interesting to know whether an update of your controller affects the problem, yes.
the other is to go back to Indigo. Is it?
I'm not sure I understand. Why would downgrading to Indigo help?
Just a quick note. I remember having the same issue with a UR10 running 3.2.something. That robot has been since updated to 3.5.something and the problem did go away.
Thank you guys. Since I have another workstation with Indigo, I did the same thing on it and everything goes pretty well. Thus, I think ur_modern_driver is more compatible with Indigo.
Thanks, Chunting
Thus, I think ur_modern_driver is more compatible with Indigo.
The issue you reported is internal to ur_modern_driver
. It is not influenced (directly) by the ROS release you are using.
The master
branch of ur_modern_driver
is however only compatible with Indigo.
Also: the code on the master
branch is somewhat more forgiving, which may explain why things appeared to work there.
The kinetic-devel
branch is more strict in checking whether deserialisation of the incoming data completed successfully and will throw errors if even a single byte was not processed.
Seeing as @miguelprada reports that upgrading from 3.2.x made the error go away, I have the impression that 3.2.x has an incompatibility in the binary datastreams that the kinetic-devel
version is picking up and then erroring-out on.
We are running the new e-series UR-10 with controller software version 5.1.0.40195 (Aug 22 2018) and we are seeing an identical error.
Which would make sense seeing as the binary protocol was again changed but the deserialisers weren't yet.
I was trying to set up a UR5 this morning, and I encountered the exact same problem. The software version was 3.2.18654
Thanks to @miguelprada and @gavanderhoorn 's advice, I upgraded the software to 3.7.2.40245, then the problem is solved.
Thanks, Long.
Finally achieved success using @AustinDeric's branches that updated PlusOne's universal_robot
and PlusOne's ur_modern_driver
. Don't be like me either and make sure to catkin_make
!
Final final update: due to issues with jerky motion, I gave dniewinski's repos another try from a clean clone and catkin_make. Somehow everything worked perfectly fine this time. I'll have to chalk to up to a character-building experience.
Same error as everyone, on a UR5e. @AustinDeric did you manage to find a workaround? I've been using dniewinski's forks for
universal_robot
andur_modern_driver
packages with the appropriate branches but am still running into this error.I was originally running the UR5e on UR software 5.1.1.X and just updated to UR software 5.2.0.61336, and the error is identical. It seems possible that dniewinski's branch worked for 5.0.X versions (and possibly 5.1.0.X versions, according to @AustinDeric successfully working with a UR10e on that version) and not later versions, since that's what he tested with according to his pull request (#216). I'll also be asking this there.
The UR5e I'm working with shipped with URSoftware 5.1.1.X, and their support website specifically says not to downgrade farther than the originally shipped version. I may try re-imaging with 5.1.0.X if nothing else works.
UPDATE: I solved this issue by following this https://github.com/ros-industrial/ur_modern_driver/issues/184#issuecomment-435325436
Hi, I was experiencing this same issue. I have tried implementing the @AustinDeric solution however my robot does not move when I run the test_move.py file or attempt movement using rviz. I am using Ubuntu 18.04, ros melodic and a UR5e robot with ursoftware 5.0.4.x.
I receive the following errors when i use the command:
rosrun test_move.py
Waiting for server...
Connected to server
This program makes the robot move between the following three poses:
[126.05071492878113, 0.0, -89.95437383553926, 0.0, 0.0, 0.0]
[85.94366926962348, 0.0, -89.95437383553926, 0.0, 0.0, 0.0]
[85.94366926962348, -11.459155902616464, -89.95437383553926, 0.0, 0.0, 0.0]
Please make sure that your robot can move freely between these poses before proceeding!
Continue? y/n: y
AND
roslaunch ur_modern_driver ur5e_bringup.launch robot_ip:=192.168.1.100 [reverse_port:=REVERSE_PORT]
... logging to /home/blamboozel/.ros/log/3e4a4e28-2a87-11e9-806d-45b75f9e99eb/roslaunch-dreamcatcher-16161.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
xacro: in-order processing became default in ROS Melodic. You can drop the option.
started roslaunch server http://dreamcatcher:33101/
SUMMARY
========
PARAMETERS
* /robot_description: <?xml version="1....
* /rosdistro: melodic
* /rosversion: 1.14.3
* /ur_driver/base_frame: base
* /ur_driver/max_payload: 5.0
* /ur_driver/max_velocity: 10.0
* /ur_driver/min_payload: 0.0
* /ur_driver/prefix:
* /ur_driver/require_activation: Never
* /ur_driver/robot_ip_address: 192.168.1.100
* /ur_driver/servoj_time: 0.008
* /ur_driver/shutdown_on_disconnect: True
* /ur_driver/tool_frame: tool0_controller
NODES
/
robot_state_publisher (robot_state_publisher/robot_state_publisher)
ur_driver (ur_modern_driver/ur_driver)
auto-starting new master
process[master]: started with pid [16174]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 3e4a4e28-2a87-11e9-806d-45b75f9e99eb
process[rosout-1]: started with pid [16185]
started core service [/rosout]
process[robot_state_publisher-2]: started with pid [16192]
process[ur_driver-3]: started with pid [16193]
[ INFO] [1549509597.417524971]: Setting up connection: 192.168.1.100:30003
[ INFO] [1549509597.417891165]: Connection established for 192.168.1.100:30003
[ INFO] [1549509597.417922196]: Setting up connection: 192.168.1.100:30001
[ INFO] [1549509597.418118992]: Connection established for 192.168.1.100:30001
[ INFO] [1549509597.418344500]: Got VersionMessage:
[ INFO] [1549509597.418354535]: project name: URControl
[ INFO] [1549509597.418363897]: version: 5.0.0
[ INFO] [1549509597.418383207]: build date: 01-06-2018, 15:28:58
[ INFO] [1549509597.418393085]: Disconnecting from 192.168.1.100:30001
[ INFO] [1549509597.422056687]: ActionServer enabled
[ INFO] [1549509597.422465573]: Initializing ur_driver/URScript subscriber
[ INFO] [1549509597.424064034]: The ur_driver/URScript initialized
[ INFO] [1549509597.424079495]: Notifier: Pipeline disconnect will shutdown the node
[ INFO] [1549509597.425511349]: Service 'ur_driver/robot_enable' activation mode: Never
[ INFO] [1549509597.425535671]: Starting main loop
[ INFO] [1549509597.425606630]: Setting up connection: 192.168.1.100:30003
[ INFO] [1549509597.425638846]: Starting pipeline RTPacket
[ INFO] [1549509597.425714030]: Setting up connection: 192.168.1.100:30002
[ INFO] [1549509597.425754861]: Starting pipeline StatePacket
[ INFO] [1549509597.425831793]: Connection established for 192.168.1.100:30003
[ INFO] [1549509597.425946273]: Connection established for 192.168.1.100:30002
[ INFO] [1549509597.426361553]: Starting ActionServer
[ INFO] [1549509597.426418142]: Trajectory thread started
[ INFO] [1549509786.684325155]: Received new goal
[ INFO] [1549509786.684470134]: Trajectory received and accepted
[ INFO] [1549509786.684631954]: Translating trajectory
[ INFO] [1549509786.684716824]: Executing trajectory with 10 points and duration of 1.429s
[ INFO] [1549508290.280991948]: Executing trajectory with 31 points and duration of 40.000s
[ERROR] [1549508290.281034607]: 0
[ERROR] [1549508290.281067675]: 2
[ERROR] [1549508290.281096009]: 1
[ERROR] [1549508290.281126558]: 1
[ERROR] [1549508290.281156481]: 2
[ERROR] [1549508290.281200823]: 1
[ERROR] [1549508290.281232549]: 1
[ERROR] [1549508290.281269986]: 2
[ERROR] [1549508290.281299308]: 1
[ERROR] [1549508290.281328145]: 1
[ERROR] [1549508290.281367923]: 2
[ERROR] [1549508290.281397744]: 1
[ERROR] [1549508290.281426806]: 1
[ERROR] [1549508290.281455447]: 2
[ERROR] [1549508290.281483698]: 1
[ERROR] [1549508290.281522978]: 1
[ERROR] [1549508290.281554002]: 2
[ERROR] [1549508290.281582629]: 1
[ERROR] [1549508290.281610956]: 1
[ERROR] [1549508290.281639639]: 2
[ERROR] [1549508290.281667644]: 1
[ERROR] [1549508290.281697027]: 1
[ERROR] [1549508290.281724944]: 2
[ERROR] [1549508290.281752704]: 1
[ERROR] [1549508290.281780510]: 1
[ERROR] [1549508290.281808355]: 2
[ERROR] [1549508290.281836299]: 1
[ERROR] [1549508290.281864367]: 1
[ERROR] [1549508290.281892276]: 2
[ERROR] [1549508290.281924360]: 1
[ERROR] [1549508290.281952532]: 1
[ERROR] [1549508290.282005907]:
def driverProg():
socket_open("192.168.1.120", 50001)
movej([0.000678062, -1.57301, -0.0064497, -1.57429, 0.0101085, -0.00555641], t=0, r=0)
movej([2.2, 0, -1.57, 0, 0, 0], t=2, r=0)
movej([1.5, 0, -1.57, 0, 0, 0], t=1, r=0)
movej([1.5, -0.2, -1.57, 0, 0, 0], t=1, r=0)
movej([2.2, 0, -1.57, 0, 0, 0], t=2, r=0)
movej([1.5, 0, -1.57, 0, 0, 0], t=1, r=0)
movej([1.5, -0.2, -1.57, 0, 0, 0], t=1, r=0)
movej([2.2, 0, -1.57, 0, 0, 0], t=2, r=0)
movej([1.5, 0, -1.57, 0, 0, 0], t=1, r=0)
movej([1.5, -0.2, -1.57, 0, 0, 0], t=1, r=0)
movej([2.2, 0, -1.57, 0, 0, 0], t=2, r=0)
movej([1.5, 0, -1.57, 0, 0, 0], t=1, r=0)
movej([1.5, -0.2, -1.57, 0, 0, 0], t=1, r=0)
movej([2.2, 0, -1.57, 0, 0, 0], t=2, r=0)
movej([1.5, 0, -1.57, 0, 0, 0], t=1, r=0)
movej([1.5, -0.2, -1.57, 0, 0, 0], t=1, r=0)
movej([2.2, 0, -1.57, 0, 0, 0], t=2, r=0)
movej([1.5, 0, -1.57, 0, 0, 0], t=1, r=0)
movej([1.5, -0.2, -1.57, 0, 0, 0], t=1, r=0)
movej([2.2, 0, -1.57, 0, 0, 0], t=2, r=0)
movej([1.5, 0, -1.57, 0, 0, 0], t=1, r=0)
movej([1.5, -0.2, -1.57, 0, 0, 0], t=1, r=0)
movej([2.2, 0, -1.57, 0, 0, 0], t=2, r=0)
movej([1.5, 0, -1.57, 0, 0, 0], t=1, r=0)
movej([1.5, -0.2, -1.57, 0, 0, 0], t=1, r=0)
movej([2.2, 0, -1.57, 0, 0, 0], t=2, r=0)
movej([1.5, 0, -1.57, 0, 0, 0], t=1, r=0)
movej([1.5, -0.2, -1.57, 0, 0, 0], t=1, r=0)
movej([2.2, 0, -1.57, 0, 0, 0], t=2, r=0)
movej([1.5, 0, -1.57, 0, 0, 0], t=1, r=0)
movej([1.5, -0.2, -1.57, 0, 0, 0], t=1, r=0)
stopj(3.14)
socket_close()
end
[ INFO] [1549509786.685703607]: Setting up connection: :50001
[ INFO] [1549509786.685950971]: Connection established for :50001
These messages are coming from the trajectory_follower.cpp file. Does anyone know why this is happening? How can I get my ur5e moving?
Hi Anastasiamor100, I am also using Ubuntu 18.04, ros melodic and a UR5e robot with ursoftware 5.0.2. May I know how you solved the not movable issue at last? Where did you get the "ur5e_bringup.launch" file?
My current status is: I get the "ur5e_bringup.launch" file by editing "ur5_bringup.launch" (only changing "$(find ur_description)/launch/ur5_uplaod.launch" into "$(find ur_e_description)/launch/ur5e_upload.launch").
I launch the ur5e_bringup file and run the test_move.py file in new terminal. When it displays: Continue: y/n. I key in y. Then nothing happens any more. In the ur5e_bringup command line, it displays: on_goal.
Then I run the Moveit and Rviz. The Rviz can update the display of the state of the real ur5e arm, and the "Plan" button also works smoothly, but the "Execute" button does not take effect.
In summary, my robot state is well updated, but I cannot control the movement of the ur5e real arm through the ROS, even though the PolyScope can still drive the arm.
For the IP setting in PolyScope, I keep "Default gateway","Preferred/Alternative DNS Server" as: 0.0.0.0, and I also Enable the Remote Control.
What should I do next to make the arm move through ROS in my laptop?
Any suggestion is much appreciated.
Hi Anastasiamor100, I have found that my command lines do not display the following messages as yours displayed:
...
[INFO]...
[ERROR]...
socket open() ...
[MOVEJ ...
socket close() ...
Does that mean my computer has not setup connection with the real robot arm?
Hi Anastasiamor100, I have found that my command lines do not display the following messages as yours displayed:
... [INFO]... [ERROR]... socket open() ... [MOVEJ ... socket close() ...
Does that mean my computer has not setup connection with the real robot arm?
Hi Jason Zhou1, I'm was using this version of the code, https://github.com/ros-industrial/ur_modern_driver/issues/136#issuecomment-444709653
Also make sure to select the remote mode key next to the hamburger menu mentioned in https://github.com/ros-industrial/ur_modern_driver/issues/184#issuecomment-435325436
Hi Anastasiamor100, Ok, I will try it following your advice. By the way, do you have idea about how to setup ur5e ip address? I don't know how to set the gateway, DNS server addresses. Thank you very much for your help! Best regards Jason
On Thu, Mar 21, 2019 at 11:46 AM Anastasiamor100 notifications@github.com wrote:
Hi Anastasiamor100, I have found that my command lines do not display the following messages as yours displayed:
... [INFO]... [ERROR]... socket open() ... [MOVEJ ... socket close() ...
Does that mean my computer has not setup connection with the real robot arm?
Hi Jason Zhou1, I'm was using this version of the code, #136 (comment) https://github.com/ros-industrial/ur_modern_driver/issues/136#issuecomment-444709653
Also make sure to select the remote mode key next to the hamburger menu mentioned in #184 (comment) https://github.com/ros-industrial/ur_modern_driver/issues/184#issuecomment-435325436
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ros-industrial/ur_modern_driver/issues/136#issuecomment-475105308, or mute the thread https://github.com/notifications/unsubscribe-auth/Akqy2W6ou5_KcVpZxtkhphgyih_PrMYBks5vYwB5gaJpZM4PpUWE .
Hi Anastasiamor100,
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "industrial_msgs" with any of the following names:
industrial_msgsConfig.cmake
industrial_msgs-config.cmake
Later I used the industrial_msgs instead of industrial_core and the error messages are still there.
What do you think is the problem in my operations?
Thank you!
Best regards
Jason
On Thu, Mar 21, 2019 at 11:46 AM Anastasiamor100 notifications@github.com wrote:
Hi Anastasiamor100, I have found that my command lines do not display the following messages as yours displayed:
... [INFO]... [ERROR]... socket open() ... [MOVEJ ... socket close() ...
Does that mean my computer has not setup connection with the real robot arm?
Hi Jason Zhou1, I'm was using this version of the code, #136 (comment) https://github.com/ros-industrial/ur_modern_driver/issues/136#issuecomment-444709653
Also make sure to select the remote mode key next to the hamburger menu mentioned in #184 (comment) https://github.com/ros-industrial/ur_modern_driver/issues/184#issuecomment-435325436
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ros-industrial/ur_modern_driver/issues/136#issuecomment-475105308, or mute the thread https://github.com/notifications/unsubscribe-auth/Akqy2W6ou5_KcVpZxtkhphgyih_PrMYBks5vYwB5gaJpZM4PpUWE .
@Jason-Zhou1 this issue is supposed to track the problem with deserialization of certain packages for certain PolyScope versions. Please refrain from using it as a general Q&A discussion forum; you can use https://answers.ros.org for that.
I'm going to close the issue since it has long gone off-topic.
Hello @miguelprada @gavanderhoorn
Since you have experience on this issue, could you please help me debug this error? I'm getting the same error on ROS Kinetic being run on Debian 8 with UR10 CB3.1 series and UR software 5.0.4.30603. I can use PolyScope to move robot with local control, but with remote control, I'm not able to see any movement.
Thanks!
[ INFO] [1560555640.026144442]: Trajectory thread started
[ERROR] [1560555640.092470129]: Sub-package of type 0 was not parsed completely!
[ INFO] [1560555640.092610956]: Disconnecting from 10.45.93.4:30002
[ INFO] [1560555640.092722969]: Shutting down on stopped pipeline StatePacket
[ur_driver-2] process has died [pid 1824, exit code -11
Hi All,
Trying to use the updated version of this repository to run my UR5, to no success. It compiles fine, and I can run the launch file, but then get this;
I just run
roslaunch ur_modern_driver ur5_bringup.launch robot_ip:=10.253.0.51
when doing this. I followed this link for steps on how to connect and test move the arm, except just replace some of the steps with kinetic versions/ this repository (even Zagitta's version)/etc.https://github.com/olinrobotics/irl/wiki/Tutorial:-Setting-up-UR5-robot-arm
The UR5 arm's network setup is the same, except its address is 10.253.0.51.
Any ideas on what I'm doing wrong?