Search found 24 matches
- 28 Nov 2023, 09:22
- Forum: General questions
- Topic: Add the cube to the environment and the cube slides
- Replies: 1
- Views: 6040
Add the cube to the environment and the cube slides
I add cubes to the environment, the cube simulates the carton, but when my cubes are stacked, some cubes don't know why they slide, here is my code to add cubes to the scene sim.pauseSimulation(); double lx = boxLength / 10.0; double ly = boxWidth / 10.0; double lz = boxHeight / 10.0; int box_index ...
- 18 Apr 2023, 10:04
- Forum: General questions
- Topic: Keep the suction cup and the object relatively stationary
- Replies: 1
- Views: 243
Keep the suction cup and the object relatively stationary
Hello, When I use the system's actionpad to grab the cube, after grabbing, the relative positions of the cube and the suction pad move during the movement, although the two eventually return to their initial relative positions, I guess because of inertia, but I don't know how to set it so that the c...
- 13 Apr 2023, 08:02
- Forum: General questions
- Topic: Problem about Ik group
- Replies: 1
- Views: 231
Problem about Ik group
Hello, When I use IK Group to control the robot arm to reach the specified position to grab the cube, after grabbing some cubes, the IK Target of the robot arm reaches the position I specified, but the IK tip cannot reach the target position, there is a column or columns of numbers in the visualize ...
- 22 Mar 2023, 09:09
- Forum: General questions
- Topic: Confusion about sim.moveToPose
- Replies: 1
- Views: 458
Confusion about sim.moveToPose
Hello, In c++, the argument of sim.moveToPose is as follow: std::tuple<std::vector<double>, double> sim::moveToPose(int64_t flags, std::vector<double> currentPose, std::vector<double> maxVel, std::vector<double> maxAccel, std::vector<double> maxJerk, std::vector<double> targetPose, std::string callb...
- 15 Mar 2023, 03:16
- Forum: General questions
- Topic: Confusion about Ik
- Replies: 2
- Views: 309
Re: Confusion about Ik
It is difficult to guess what is happening from your explanation. Too many variables in-between. If you can create a minimalistic, self-contained example that illustrates your problem, then this would be best. Additionally, in 2-3 weeks we will release CoppeliaSim V4.5, which has a visual debugging...
- 15 Mar 2023, 03:07
- Forum: General questions
- Topic: Problem about sim.getStringSignal
- Replies: 5
- Views: 727
Re: Problem about sim.getStringSignal
Does this produce an error? int main() { RemoteAPIClient client; auto sim = client.getObject().sim(); std::string signalName = "/IRB4600_executedMovId"; auto tmp = sim.getStringSignal(signalName); return 0; } Cheers Hello, Whether I need to start emulation? When I didn't start the simulat...
- 14 Mar 2023, 04:34
- Forum: General questions
- Topic: Confusion about Ik
- Replies: 2
- Views: 309
Confusion about Ik
Hello, I use IK to control IRB4600 to arrive at designated position. The code for the child script of the IRB4600 is copied from the child script of the mechanical arm of the example named ikMovementViaRemoteApi, but when I use c + + to control the IRB4600 to the specified pose, the position of the ...
- 14 Mar 2023, 03:21
- Forum: General questions
- Topic: Problem about sim.getStringSignal
- Replies: 5
- Views: 727
- 07 Mar 2023, 11:53
- Forum: General questions
- Topic: Problem about sim.getStringSignal
- Replies: 5
- Views: 727
Problem about sim.getStringSignal
Hello, I wrote the following code in the arm's child script stringSignalName='/IRB4600_executedMovId' sim.setStringSignal(stringSignalName,'ready') I write the following code in c++, I get an error when I run it std::string signalName = "/IRB4600_executedMovId"; auto tmp = sim.getStringSig...
- 05 Mar 2023, 15:03
- Forum: General questions
- Topic: Use the python language's zmq remote api to connect coppeliasim
- Replies: 1
- Views: 375
Use the python language's zmq remote api to connect coppeliasim
Hello, When I use python to connect coppeliasim, I added a folder named "zmqRemoteApi" to my project. Than I can start simulation. When I used pycharm, I could not get the prompt of sim's regular API function, but it seems to work fine. Is this normal. For example, I could use setObjectPos...