Patrick, <br><br>I'm going to think about this more, but in the mean time I'd suggest you check the clock synchronization between your two machines with ntp?  This could be caused by the joint states or something being backdated.  The robot_model display in rviz does some tricks to keep the model display updated for better viewing.  <br>

<br>In general debugging I'd suggest tf_monitor and roswtf to start.  <br><br>Tully<br><br><div class="gmail_quote">On Sun, Jan 16, 2011 at 1:33 PM, Patrick Goebel <span dir="ltr"><<a href="mailto:patrick@pirobot.org">patrick@pirobot.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello All,<br>
<br>
I'm trying to teleoperate a robot that uses Dynamixel AX-12+ servos<br>
using a Kinect and the openni_tracker node.  I'm posting here instead of<br>
ros-kinect because I don't think it is a Kinect or OpenNI issue.  I use<br>
tf.TransformListener in my Python joint controller program and map<br>
skeleton frames from openni_tracker into translations and rotations of<br>
the joints.  If I do everything in RViz on my virtual URDF robot model,<br>
there is no delay between my movements in the Sample-NiSimpleViewer and<br>
the robot in RViz.  However, when I connect the real robot using a<br>
USB2Dynamixel, there is a delay of 3-5 seconds between my movements and<br>
the robot's movements.<br>
<br>
The USB2Dynamixel is hardwired to both the robot and the controlling PC<br>
so there is no wireless link involved.  I am running the ArbotiX ROS<br>
package to control the servos and my servo polling rate is 15Hz.  I am<br>
running the joint controller node also at 15Hz and it publishes<br>
JointState commands at that rate to the servo controller.<br>
<br>
Does anyone have an idea where the delay might be seeping in?  I'm happy<br>
to provide more details if needed.<br>
<br>
Thanks!<br>
Patrick Goebel<br>
<br>
Behavioral Sciences<br>
Stanford University<br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Tully Foote<br>Systems Engineer<br>Willow Garage, Inc.<br><a href="mailto:tfoote@willowgarage.com">tfoote@willowgarage.com</a><br>(650) 475-2827<br>