Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Brief Jumps in RoboDK Simulation

#1
Hello,

I would like to ask about a brief jump in the RoboDK simulation that occurs during normal operation. I would appreciate your advice on what might cause this behavior and how to suppress or reduce it. Several stakeholders have expressed concern about the sudden movement on screen, so we would like to prevent it if possible.

Observed behavior
  • The behavior occurs consistently whenever I execute either `MoveJ` or `MoveL` through the RoboDK API; it is not intermittent.
  • In the attached video, the event occurs at 18:27:52–18:27:53. The simulated robot briefly jumps to the next commanded position (J1=4.580°, J2=40.524°, J3=-4.551°, J4=18.952°, J5=-93.214°, J6=-59.091°) and then returns to its previous displayed position.

Control method
  • I control the robot through the RoboDK API using C# (`RoboDkApi` NuGet package v5.8.0).
  • `MoveJ` and `MoveL` commands are issued sequentially using blocking API calls.
  • There are no other clients or command sources.

Environment
  • RoboDK: v5.9.2.25331 (Professional)
  • OS: Windows 11 Pro 24H2
  • Physical robot: FANUC CRX-30iA
  • RoboDK robot model: FANUC CRX-25iA, renamed to CRX-30iA. I use this model because the axis movements of the CRX-30iA model did not match the physical robot.
  • FANUC-side program: RDK_S3 [RoboDK Driver v4] [27-May-2025]
  • PC-side driver: FanucSM.exe (SHA-256: 02767CBDB86A8060D41CE07DA3D78BAAE9428D9EC1BE633EBBF78067D327D0D1)
  • Network: isolated Ethernet connection via a hub/switch, with no Internet connection

Questions
Could you explain what might cause this visual jump and recommend a way to suppress or reduce it?

Attachments
Video showing the behavior (event at 18:27:52–18:27:53).
Wireshark packet capture with the following observations (my preliminary analysis):
  • Packet No. 1232 appears to contain the next commanded position from RoboDK to the robot arm.
  • Packet No. 1232 data appears to include 24 bytes of joint angle targets for J1–J6, located at bytes 8–31 (offset 0).
  • Packets No. 1233–1287 appear to be the robot's response.
  • Packets No. 1258–1265 appear to contain a callback with the same J1–J6 values.

Could the simulated robot be interpreting this callback (Packets 1258–1265) as the current position and moving to it? Could this explain the brief jump to the next commanded position?

Related thread
This is separate from the intermittent pose errors and motion stops described in my other thread:
https://robodk.com/forum/Thread-Intermit...ne-control

Thank you in advance.


Attached Files
.zip   diagnostics_data_2026-11-16_03.zip (Size: 1.81 MB / Downloads: 21)
#2
Can you share your RoboDK project file?

Are you using the new custom kinematics for Fanuc CRX robots? You can set it by following these steps:
  1. Double click on the robot
  2. Select Parameters
  3. Select Options under robot kinematics section
  4. Click on Select Library
  5. Select the Fanuc CRX
Make sure you are using a recent version of RoboDK to see these options.

This brief jump is often caused by the robot model kinematics not matching the real robot, or by the driver reporting a callback pose that RoboDK interprets as the current robot position during motion updates. Since you are using a CRX-25iA model renamed as CRX-30iA, that mismatch is the first thing we would check.

If you can share your RoboDK project file, we can verify the robot setup and kinematics. If you are using the new custom kinematics for Fanuc CRX robots, please switch it through the robot Parameters, Options, then Select Library, and choose Fanuc CRX. That is the recommended way to align the model with the controller behavior and reduce these visual jumps.
#3
Thank you for the advice. We are not using the latest version of RoboDK, so I will request an update.
In the meantime, I have attached the RDK project file.


Attached Files
.rdk   simple_env.rdk (Size: 311.4 KB / Downloads: 17)
#4
OK yes, the latest version should fix this issue. You should be able to select the CRX Kinematics in the Options menu I mentioned. 

When you change this you should see all possible configurations for each target as shown in the attached image.
Fanuc-CRX-all-inverse-kinematics.png   


Attached Files
.rdk   simple_env-v2.rdk (Size: 311.76 KB / Downloads: 13)
#5
Thank you for your advice.

I updated RoboDK to the latest version (v6.2.1) and checked again, but the issue still occurs.

In my environment, the available custom kinematics options are `crx_kinematics0`, `kassow`, and `samplekinematics`. I tested with `crx_kinematics0` selected and with no custom kinematics selected, and the same issue occurred in both cases.

I have attached a video showing the issue. You can see the relevant part by seeking to around 28 seconds (about 4 seconds remaining).

Since the issue occurs regardless of whether custom kinematics is selected, could you please advise if there is anything else I should check or any additional information that would help identify the cause?


Attached Files
.mp4   RoboDK_UI_capture_2026-11-20_01.mp4 (Size: 3.62 MB / Downloads: 12)
  




Users browsing this thread:
1 Guest(s)