Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 1441

MoveIt! Dynamixel movement issues

$
0
0
Hey guys, this is my second question in here and hopefully the first to get answered. So I started working with Dynamixel Motors this week. I am trying to move a 5DOF arm with MoveIt!. The problem is that somehow I can't seem to smooth out the motion in any way. I updated the latency timer on the USB-Port to 1ms now the reading are at approx. 110Hz (12.5Hz with the default 16ms on Ubuntu): ~$ rostopic hz /motor_states/pan_tilt_port subscribed to [/motor_states/pan_tilt_port] average rate: 111.085 min: 0.007s max: 0.011s std dev: 0.00060s window: 111 average rate: 108.620 min: 0.007s max: 0.024s std dev: 0.00153s window: 217 average rate: 108.171 min: 0.007s max: 0.024s std dev: 0.00131s window: 324 average rate: 108.144 min: 0.007s max: 0.024s std dev: 0.00118s window: 432 average rate: 108.132 min: 0.006s max: 0.024s std dev: 0.00117s window: 465 So far so good I guess. The movement with 1m/s velocity seems to be somewhat smooth as seen in the attached graph: (EDIT* well I dont seem to be able to upload without 5 points so here is a [link](https://imgur.com/xlaQfdC)) - As you can see, the error is building up over time. This tells me that the controller speed seems to be wrong. I can't however change anything about it or at least I don't know how to. - The second problem is at the end, where the "goal_pos" already reached the destination and the "current_pos" is not. The velocity at that point is set to 0 all of a sudden as if the reading of the current position is disregarded and the whole process slowy creeps to the desired position. - Next problem I see is that the velocity is not smoothly updated. Its jumping up and down and seems to have a lot lower frequency than the position which might be the reason the next thing happens. So as you can see on [this graph](https://imgur.com/Ql8La9o) the position gets a lot more jump when I slow the movement down with velocity scaling. I also enabled the points on the velocity so you can see that its in fact getting updated pretty frequently but the actual value doesn't get published as often. If Anymore information is needed I will gladly supply code or screenshots. Hope I get the help I need. Thank you guys in advance! Gilgamesch47

Viewing all articles
Browse latest Browse all 1441

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>