Comments (10)
do you have grl driver running and waiting for a connection?
from grl.
@ahundt I think there is a mistake here
here get the LocalUDPPort
param from ros, but assigned it to LocalUDPAddress
! This cause the param LocalUDPAddress
is not correct.
from grl.
After fix the param, also not working...(after setting the interaction_mode
correctly, the robot can move to the specified position)
the output from PC:
[ INFO] [1566872228.070443406]: done creating subscribers
[2019-08-27 02:17:08.070] [console] [info] KukaLBRiiwaRosPlugin: Connecting UDP Socket from
[ INFO] [1566872228.070756127]: KukaLBRiiwaROSPlugin in unsupported mode! Valid grl::flatbuffer::ArmState required for interaction_mode topic!
[*** LOG ERROR #0001 ***] [2019-08-27 02:17:08] [console] {argument index out of range}
[*** LOG ERROR #1002 ***] [2019-08-27 02:17:09] [console] {argument index out of range}
[*** LOG ERROR #2002 ***] [2019-08-27 02:17:10] [console] {argument index out of range}
[*** LOG ERROR #3003 ***] [2019-08-27 02:17:11] [console] {argument index out of range}
[2019-08-27 02:17:11.733] [console] [error] C++ KukaJAVAdriver Error: flatbuff failed verification. bufOk: false
[*** LOG ERROR #4004 ***] [2019-08-27 02:17:12] [console] {argument index out of range}
[*** LOG ERROR #5005 ***] [2019-08-27 02:17:13] [console] {argument index out of range}
[*** LOG ERROR #6006 ***] [2019-08-27 02:17:14] [console] {argument index out of range}
[*** LOG ERROR #7006 ***] [2019-08-27 02:17:15] [console] {argument index out of range}
[*** LOG ERROR #8007 ***] [2019-08-27 02:17:16] [console] {argument index out of range}
[*** LOG ERROR #9007 ***] [2019-08-27 02:17:17] [console] {argument index out of range}
[ INFO] [1566872238.070844170]: KukaLBRiiwaROSPlugin in unsupported mode! Valid grl::flatbuffer::ArmState required for interaction_mode topic!
[*** LOG ERROR #10008 ***] [2019-08-27 02:17:18] [console] {argument index out of range}
[*** LOG ERROR #11008 ***] [2019-08-27 02:17:19] [console] {argument index out of range}
[*** LOG ERROR #12009 ***] [2019-08-27 02:17:20] [console] {argument index out of range}
[*** LOG ERROR #13010 ***] [2019-08-27 02:17:21] [console] {argument index out of range}
[*** LOG ERROR #14011 ***] [2019-08-27 02:17:22] [console] {argument index out of range}
[*** LOG ERROR #15011 ***] [2019-08-27 02:17:23] [console] {argument index out of range}
[*** LOG ERROR #16011 ***] [2019-08-27 02:17:24] [console] {argument index out of range}
[*** LOG ERROR #17012 ***] [2019-08-27 02:17:25] [console] {argument index out of range}
[*** LOG ERROR #18013 ***] [2019-08-27 02:17:26] [console] {argument index out of range}
[*** LOG ERROR #19013 ***] [2019-08-27 02:17:27] [console] {argument index out of range}
[ INFO] [1566872248.070828425]: KukaLBRiiwaROSPlugin in unsupported mode! Valid grl::flatbuffer::ArmState required for interaction_mode topic!
[*** LOG ERROR #20013 ***] [2019-08-27 02:17:28] [console] {argument index out of range}
[*** LOG ERROR #21014 ***] [2019-08-27 02:17:29] [console] {argument index out of range}
[*** LOG ERROR #22015 ***] [2019-08-27 02:17:30] [console] {argument index out of range}
[*** LOG ERROR #23015 ***] [2019-08-27 02:17:31] [console] {argument index out of range}
[*** LOG ERROR #24016 ***] [2019-08-27 02:17:32] [console] {argument index out of range}
[*** LOG ERROR #25017 ***] [2019-08-27 02:17:33] [console] {argument index out of range}
[*** LOG ERROR #26018 ***] [2019-08-27 02:17:34] [console] {argument index out of range}
[*** LOG ERROR #27018 ***] [2019-08-27 02:17:35] [console] {argument index out of range}
[*** LOG ERROR #28018 ***] [2019-08-27 02:17:36] [console] {argument index out of range}
[*** LOG ERROR #29019 ***] [2019-08-27 02:17:37] [console] {argument index out of range}
[ INFO] [1566872258.070853638]: KukaLBRiiwaROSPlugin in unsupported mode! Valid grl::flatbuffer::ArmState required for interaction_mode topic!
[*** LOG ERROR #30019 ***] [2019-08-27 02:17:38] [console] {argument index out of range}
the output from SmartHMI (the "Didn't received ..." was commented):
from grl.
Another problem, why is there a tcp
connection tcp://xxx:30010
on the smartpad, actually we use the udp socket?
from grl.
the robot can move using the kuka ros test script, but the /joint_states
can't get the valid message.
The following output from the grl kuka driver:
[2019-08-27 13:36:52.073] [console] [error] C++ KukaJAVAdriver Error: flatbuff failed verification. bufOk: false
[2019-08-27 13:36:52.077] [console] [error] C++ KukaJAVAdriver Error: flatbuff failed verification. bufOk: false
[2019-08-27 13:36:52.081] [console] [error] C++ KukaJAVAdriver Error: flatbuff failed verification. bufOk: false
[2019-08-27 13:36:52.086] [console] [error] C++ KukaJAVAdriver Error: flatbuff failed verification. bufOk: false
[2019-08-27 13:36:52.090] [console] [error] C++ KukaJAVAdriver Error: flatbuff failed verification. bufOk: false
[2019-08-27 13:36:52.093] [console] [error] C++ KukaJAVAdriver Error: flatbuff failed verification. bufOk: false
[2019-08-27 13:36:52.107] [console] [error] C++ KukaJAVAdriver Error: flatbuff failed verification. bufOk: false
[2019-08-27 13:36:52.118] [console] [error] C++ KukaJAVAdriver Error: flatbuff failed verification. bufOk: false
[2019-08-27 13:36:52.131] [console] [error] C++ KukaJAVAdriver Error: flatbuff failed verification. bufOk: false
[2019-08-27 13:36:52.135] [console] [error] C++ KukaJAVAdriver Error: flatbuff failed verification. bufOk: false
[2019-08-27 13:36:52.139] [console] [error] C++ KukaJAVAdriver Error: flatbuff failed verification. bufOk: false
@ahundt do you have any tips for debugging it?
Update:
after changing the line
to
KUKAiiwaStates.finishKUKAiiwaStatesBuffer(builder, KUKAiiwaStatesOffset);
then the verifying fail error disappeared.
The following output from the SmartHMI:
from grl.
After fixing the java side, the verification error disappeared. But the topic joint_states
and /slave/wrench_r
is still not available. Then I find the new data flag is always false when the Java monitor mode is used, and I change the flag then the /slave/wrench_r
and /joint_states
are published. But the /joint_states
return empty positions.
I think the default usage for this repo is that using the JAVA interface as the command interface but use the FRI as the monitor interface, is it right? @ahundt If this is the default behavior, how to set the correct control mode both for FRI and SmartServo interface?
from grl.
the default is to use java + smartservo.
you need to enable the ros integration in cmake, and run that for stuff to appear on ROS.
from grl.
This is the relevant cpp file you should make sure is compiled and run:
https://github.com/ahundt/grl/blob/master/src/ros/grl_kuka_ros_driver.cpp
That program connects to ros and copies data between the robot and ROS.
This is the relevant cmake file:
https://github.com/ahundt/grl/blob/master/src/ros/CMakeLists.txt
Make sure the ccmake *_FOUND
flags are all enabled in cmake.
from grl.
@ahundt thanks, these things I have completed. I debug them and find some bugs like the as described above, and I think the disadvantage of this driver is that the ros control hardware interface is not implemented. And the default usage of this driver is not intuitive and feature-rich as iiwa stack.
from grl.
This API is designed for soft realtime use and it includes its own controller so ros control was never needed for our use cases. Similarly, Java wrench measurement calls add latency. If iiwa stack fits your project's needs, you should use it!
Thanks for giving this a try!
from grl.
Related Issues (20)
- collect dataset of robot following difficult cut path in workspace
- GRL installation issues HOT 22
- Kinematics calibration HOT 2
- Re-organise the data extraction HOT 1
- Integrate easy_profiler to diagnose the procedure
- Accuracy of hand-eye calibration HOT 1
- Doc for hand-eye calibration
- New feature of moving straight line with Kuka API
- Debug KukaFRITest
- Write installation shell for PlotJuggler
- Bug for simExtAtracsysFusionTrackAddObject
- switch to Impedence control mode using FRI HOT 5
- kalman filter on 6dof robot motions
- Kinova robot HOT 1
- GRL import on Sunrise Workbench HOT 17
- how to run GRL example applications HOT 2
- jog_arm package with FRI HOT 1
- grl_kuka_ros_driver.cpp - Compile and Execution Issue
- FlatBuffers Library not Found HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grl.