Hello
I am new to this forum, so please be comprehensive if I am not clear :-)
I am using RDK for one month now and up to now everything was great, but some days ago I observed a strange behaviour when trying to integrate RDK window into my QT application.
I observed the same with the example for c++ api.
Concerning my problem the example is the one from Robodk for c++ API.
here is a copy screen of the example
With this example the behaviour is similar to my application.
If you try to change the view without clicking on button that's ok.
But not when you have clicked on action button...
The bugs I observed are:
In this example I just import a kuka robot.
In the code the next action is to select robot.
when the function is called the application freezes
I don't know if you can reproduce the bug... I attached the created scen called stationTest.rdk
I took the example and built it with visual studio 2022 64bits version 17.5.3
windows sdk 10.0.22000.0
platform tools visual studio 2022 (v143)
Qt 6.3.2
I saw in python example that it could be possible to use thread to avoid this blocking situation.
But how to do this? if you hav any example I could use....
Many thanks for your help in this matter
I am new to this forum, so please be comprehensive if I am not clear :-)
I am using RDK for one month now and up to now everything was great, but some days ago I observed a strange behaviour when trying to integrate RDK window into my QT application.
I observed the same with the example for c++ api.
Concerning my problem the example is the one from Robodk for c++ API.
here is a copy screen of the example
With this example the behaviour is similar to my application.
If you try to change the view without clicking on button that's ok.
But not when you have clicked on action button...
The bugs I observed are:
- Ask for a TX+ with 100 as step distance to have to click on the scene or ask for several TX+ (or any other)
In this example I just import a kuka robot.
- Create a scene with robodk including 2 robots.
In the code the next action is to select robot.
Code:
void MainWindow::on_btnLoadFile_clicked() {
if (!Check_RoboDK()){ return; }
QStringList files = QFileDialog::getOpenFileNames(this, tr("Open one or more files with RoboDK"));
foreach (QString file, files){
qDebug() << "Loading: " << file;
RDK->AddFile(file);
}
if (!Check_Robot()){
Select_Robot();
}
}
when the function is called the application freezes
I don't know if you can reproduce the bug... I attached the created scen called stationTest.rdk
I took the example and built it with visual studio 2022 64bits version 17.5.3
windows sdk 10.0.22000.0
platform tools visual studio 2022 (v143)
Qt 6.3.2
I saw in python example that it could be possible to use thread to avoid this blocking situation.
But how to do this? if you hav any example I could use....
Many thanks for your help in this matter