EGMStreamStart \SampleRate argument has no effect
mkatliar
✭
I use EGM Position Stream to obtain real-time robot pose information. I initialize it as follows:
EGMGetId egm_id_position_stream_0;
EGMSetupUC ROB_1, egm_id_position_stream_0, "default", "EddieEgm0", \Joint;
EGMStreamStart egm_id_position_stream_0, \SampleRate:=16;
The EGM manual says:
Despite I specify \SampleRate:=16, the robot sends EGM data at 250Hz (i.e. at 4ms interval instead of 16ms). It happens for both RobotStudio and the real robot.
RobotWare version: 6.11.01.00
Why is this and how to fix it?
The EGM manual says:
[\SampleRate]
Data type: num
Input data reading sample rate in multiples of 4 milliseconds. Valid values are 4,
8, 12, 16, etc.
Despite I specify \SampleRate:=16, the robot sends EGM data at 250Hz (i.e. at 4ms interval instead of 16ms). It happens for both RobotStudio and the real robot.
RobotWare version: 6.11.01.00
Why is this and how to fix it?
0
Comments
-
Does the same problem occur with EGMActJoint or EGMActPose?0
-
Not sure if this is the fix for your problem, but I did notice a discrepancy between the code you shared in your first post and the example code in the Application Manual for Externally Guided Motion.
the egmID is declared after the \SampleRate argument for the EGMStreamStart command0
Categories
- All Categories
- 5.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings