Comments (9)
I'm not quite sure I understand what you're trying to do. Could you elaborate a bit?
from abb.
Are you asking why message.velocity
is not populated?
from abb.
Yes I'm asking why message.velocity is not populated and how to do so ?
from abb.
Did you add this line:
UnpackRawBytes raw_message.data, 29, message.velocity, \Float4;
Because I can't find it in the current version (and it's also not going to result in correct deserialisation).
And with 'not populated', do you mean no value at all (which would be strange), or a 0.0
?
from abb.
Yes I've tried this line and it shows 0.0. I've tried replacing 29 up to 33 and all it shows is 0.0, even when I'm sending data in velocity on the ROS side.
from abb.
Those indices are for the entries in the joint_data
array that are unused in the abb_driver
:
Skip bytes 29-44. UNUSED. Reserved for Joints 7-10
They are set to 0.0
by the ROS side, so I'm not surprised that you get 0.0
after deserialisation.
As to why the 'last' velocity
field is 0.0
: that is set by the ROS side as well, as the abb_driver
uses the duration
field. See abb_driver/src/abb_joint_downloader_node.cpp, lines 68 to 73 and abb_driver/rapid/ROS_motion.mod, line 65.
from abb.
I see, so I'll have to modify code on both sides to be able to send velocity. Thanks!
from abb.
I see, so I'll have to modify code on both sides to be able to send velocity
No, just the ROS side, and specifically those lines that I linked you to. The RAPID code already deserialises the field, but it's just set to 0.0
right now.
Note btw that the duration
field is essentially somewhat of the inverse of velocity
field, and also that velocity
is not a joint velocity in rad/s or deg/s, but is supposed to be a ratio encoding the max velocity for the controller to attain over the associated traj segment (see also Message Structures of the ROS-Industrial Simple Message Protocol - Message Definitions - JOINT_TRAJ_PT).
from abb.
As I have the impression that your question has been answered, I'm going to close this issue.
If you feel that is not correct, feel free to re-open it.
from abb.
Related Issues (20)
- How to control the velocity of the end effector? HOT 3
- How to improve the max trajectory size of abb_driver HOT 10
- Problem working with real IRB 1200 robot HOT 17
- ABB IRB120 does not move when trajectory command is sent from Moveit HOT 16
- Pass extra information to RAPID HOT 10
- OmniCore and IRB 1100 support HOT 4
- Not able to execute cartesian trajectory on ABB IRB120 HOT 2
- Unable to connect ROS with Robotstudio (ROS in Parallels VM) HOT 13
- Melodic release HOT 1
- Fixed the release track configuration for Kinetic HOT 1
- can't locate node [robot_state] in package [abb_driver] HOT 3
- REST based interface for ABB HOT 2
- Planned migration of abb_driver to its own repository HOT 4
- Too many close points while executing in Robot Studio. HOT 4
- Support package GoFa CRB 15000 HOT 6
- why abb ibr1410 is not supported? HOT 2
- Dependency on abb_driver HOT 6
- IRB2400 URDF Seems Wrong
- Production Support for GoFa CRB 15000 HOT 1
- ROS 2 Support
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 abb.