Search found 23 matches

by Javierrc99
04 May 2023, 14:47
Forum: General questions
Topic: Why is the image of my camera moving when drone moves?
Replies: 7
Views: 6506

Re: Why is the image of my camera moving when drone moves?

I thought about the second option but as you say it's not realistic but might be an option at this point , about the third one. When I tried it, the camera seems to keep the orientation but I don't really think it is possible to avoid that shaky image even with the gimbal corrections. I think what y...
by Javierrc99
03 May 2023, 15:38
Forum: General questions
Topic: Why is the image of my camera moving when drone moves?
Replies: 7
Views: 6506

Re: Why is the image of my camera moving when drone moves?

Working with the gimbal angles to make the camera stable seems to work but again the image is shaky and unstable. I will think about the problem or any other alternatives to avoid that unstability in the image which i'm not even sure it is possible if the drone moves like that. I have tried moving t...
by Javierrc99
03 May 2023, 11:54
Forum: General questions
Topic: Why is the image of my camera moving when drone moves?
Replies: 7
Views: 6506

Re: Why is the image of my camera moving when drone moves?

The shaky movement is due to the control that came with the drone model (which i think it's well implemented). After eliminating the BaseCamaras' script I see how the cameras with the dummy are keeping their orientation pretty decently but they still shake with movement. If you delete the scripts on...
by Javierrc99
02 May 2023, 14:48
Forum: General questions
Topic: Why is the image of my camera moving when drone moves?
Replies: 7
Views: 6506

Re: Why is the image of my camera moving when drone moves?

Important note: I can't fix the orientation of the camera directly, since when the gimbal which it is attached to rotates, the camera should follow that rotation. So the idea to attain is to make the gimbal keep its orientation during the movement but being able to rotate its axis (joints) whenever...
by Javierrc99
02 May 2023, 14:18
Forum: General questions
Topic: Why is the image of my camera moving when drone moves?
Replies: 7
Views: 6506

Why is the image of my camera moving when drone moves?

Hello, I have this scene (maybe you have to delete some child script if it doesn't run): https://drive.google.com/file/d/1Gye36laL0-FnMdJxNEnx2so1j1QlDWJm/view?usp=share_link The thing is I have scripts keeping the orientation of "BaseCamaras" and for 2 of the cameras I tried putting a dum...
by Javierrc99
23 Apr 2023, 14:43
Forum: General questions
Topic: Errors when converting point image to 3D coordinates
Replies: 2
Views: 2024

Re: Errors when converting point image to 3D coordinates

I forgot to mention: the camera is placed in {world} x = 0; y = 0; z = 10
So no conversion should be made to the reconstruction I get
by Javierrc99
23 Apr 2023, 14:38
Forum: General questions
Topic: Errors when converting point image to 3D coordinates
Replies: 2
Views: 2024

Errors when converting point image to 3D coordinates

Hello, my problem is the following: I am getting the image coordinates in pixels (u,v) and using the pinhole model and intrinsic camera parameters matrix, I reconstruct the 3D point corresponding to that point in the image. The matrix "K" would be: w = 6.287 # mm sensor film size h = 4.712...
by Javierrc99
22 Apr 2023, 12:24
Forum: General questions
Topic: does Coppelia have something like ROS nodes topics and subscribers?
Replies: 3
Views: 2342

Re: does Coppelia have something like ROS nodes topics and subscribers?

Hello, I tried the fferri solution, using the zmq library and creating 2 sockets and it works perfectly.
I found it pretty easy to use and it is the same concept as the publisher/subscriber from ROS.
Thanks so much.
by Javierrc99
20 Apr 2023, 15:01
Forum: General questions
Topic: does Coppelia have something like ROS nodes topics and subscribers?
Replies: 3
Views: 2342

does Coppelia have something like ROS nodes topics and subscribers?

I have tried and know that you can have several clients in CoppeliaSim permorming operations with the zmq API. However, 1 client is doing vision tasks and with this info, i should give references info to another "node" that performs control tasks on the simulation. Is there any way to send...
by Javierrc99
19 Apr 2023, 21:42
Forum: General questions
Topic: Cannot fix the orientation of my object
Replies: 6
Views: 2112

Re: Cannot fix the orientation of my object

For my last question i think I made it work. I have another question, when you send signals via sim.setFloatSignal in a loop after some calculations within a zmq client and check for them within a threaded child script in the "While true" loop, can it cause overload if the signals are bein...