You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By submitting this report you automatically agree that you've read and accepted the following conditions.
Support for DQ Robotics is given voluntarily and it's not the developers' role to educate and/or convince anyone of their vision.
Any possible response and its timeliness will be based on the relevance, accuracy, and politeness of a request and the following discussion.
If a DQ Robotics member replies, the user must let them know if their response solves their issue or not.
Any suggestion/advice/request made by anyone, as well intentioned as they might be, might not be incorporated into DQ Robotics.
Bug description
Hi @dqrobotics/developers
All methods of the experimental class related to setting the engine parameters are not working in CoppeliaSim 4.8.0-rev0. Such methods were working well in CoppeliaSim 4.7.0. However, in the 4.8.0 version, Coppelia introduced API modifications that broke the current implementation of the DQ_CoppeliaSimInterfaceZMQExperimental() class. Those modifications are listed in the Coppelia's changelog. For instance, the one related to parameter setting is listed as
I reported the issue in Coppelia Forums. This is the second time API modifications from Coppelia break the experimental methods in the class DQ_CoppeliaSimInterfaceZMQExperimental(). The first one was related to simulation scripts, which I fixed in juanjqo@1ec0296. This raises concerns about how hard it will be to support some ZMQ-powered functionalities in the DQ Robotics library.
To Reproduce
Minimal example
Code
#include<dqrobotics/interfaces/coppeliasim/DQ_CoppeliaSimInterfaceZMQExperimental.h>usingnamespacestd;intmain()
{
auto vi = std::make_shared<DQ_CoppeliaSimInterfaceZMQExperimental>();
vi->connect();
try {
vi->set_mujoco_joint_damping("Revolute_joint", 0.3);
} catch (const std::runtime_error& e){
std::cerr << "Caught a runtime error: " << e.what() << std::endl;
};
return0;
}
Output
Caught a runtime error: No such function: sim.setEngineFloatParam
Note for developers from the future:
Modify the internal implementation of the affected methods. For instance,
As annoying as it might be, this is a recurring problem in software engineering. That's why we need an API to enable people to use DQ Robotics transparently without concern for those low-level details.
On the other hand, we don't need to support every single version of CoppeliaSim. We should only move to newer versions if it doesn't break our existing code base or if newly introduced functionalities pay off the effort of modifying our APIs.
Code of Conduct
By submitting this report you automatically agree that you've read and accepted the following conditions.
Bug description
Hi @dqrobotics/developers
All methods of the experimental class related to setting the engine parameters are not working in CoppeliaSim 4.8.0-rev0. Such methods were working well in CoppeliaSim 4.7.0. However, in the 4.8.0 version, Coppelia introduced API modifications that broke the current implementation of the
DQ_CoppeliaSimInterfaceZMQExperimental()
class. Those modifications are listed in the Coppelia's changelog. For instance, the one related to parameter setting is listed asI reported the issue in Coppelia Forums. This is the second time API modifications from Coppelia break the experimental methods in the class
DQ_CoppeliaSimInterfaceZMQExperimental()
. The first one was related to simulation scripts, which I fixed in juanjqo@1ec0296. This raises concerns about how hard it will be to support some ZMQ-powered functionalities in the DQ Robotics library.To Reproduce
Minimal example
Code
Output
Note for developers from the future:
Modify the internal implementation of the affected methods. For instance,
Current:
proposal based on this (untested):
Environment:
The text was updated successfully, but these errors were encountered: