Search found 12 matches

by mamagosia
18 Apr 2018, 11:54
Forum: General questions
Topic: Any data after dynamics change
Replies: 7
Views: 1480

Re: Any data after dynamics change

I don't want you must check my scripts, but only run them, because only with them my problem is illustrated. The problem is following: I have got the same pythons' scripts for original quadricopter model and the same I use for model with other dynamics. And I just want know how it is possible that V...
by mamagosia
17 Apr 2018, 20:38
Forum: General questions
Topic: Any data after dynamics change
Replies: 7
Views: 1480

Re: Any data after dynamics change

I haven't got a self-contained scene, I send you the minimum to illustrate my problem. I can't show my problem without pythons' scripts, because they contain everything for Quadricopter - path, collision avoidance (I use proximity sensors for it, so they are very necessary!).
by mamagosia
16 Apr 2018, 12:16
Forum: General questions
Topic: Any data after dynamics change
Replies: 7
Views: 1480

Re: Any data after dynamics change

Here is my project: https://drive.google.com/open?id=1Wz1abneEVIiUwuB00UGHMHk0mOVsqBm Open scene.ttt and in a terminal write: $ python UAV_main_bra1uav.py (it starts simulation) In this scene quadricopter moves to the goal (red sphere). But when I change dynamics of it like in the sceneAfterModifica...
by mamagosia
15 Apr 2018, 17:31
Forum: General questions
Topic: Any data after dynamics change
Replies: 7
Views: 1480

Any data after dynamics change

I have a simulation with Quadricopter.ttm . When I use this model without any changes (dynamics), but with lots of proximity sensors, it moves correctly. But when I change dynamics, only for few seconds of simulation proximity sensors' data are sent to my python script. And after that there are not ...
by mamagosia
03 Apr 2018, 16:13
Forum: General questions
Topic: Quadricopter falls after simulation starts
Replies: 1
Views: 638

Quadricopter falls after simulation starts

Hello,

I use a quadricopter model from V-Rep. When I modify mass of it, during simulation it falls. In the other topic I found that the solution is Vortex engine, but it doesn't work. Should I modify something else?
by mamagosia
13 Mar 2018, 22:07
Forum: General questions
Topic: How to publish an object pose with ROS?
Replies: 2
Views: 1567

How to publish an object pose with ROS?

Hello, I have tried publish an object pose with ROS. Like in scene controlTypeExamples.ttt I wrote: in sysCall_init() : objHandle = sim.getObjectHandle('objName') objPos = sim.getObjectPosition(objHandle,-1) in sysCall_actuation() : pub = simROS.advertise('pubPos', 'geometry_msgs/Point') local tab =...
by mamagosia
06 Mar 2018, 10:44
Forum: General questions
Topic: V-REP compability with ROS
Replies: 1
Views: 601

V-REP compability with ROS

Hello,

In the V-REP's tutorial I found informations only about ROS indigo. Does V-REP only support this version of ROS? Do ROSs' versions metter to V-REP?

Best regards
by mamagosia
22 Jan 2018, 23:28
Forum: General questions
Topic: simUnpackFloatTable doesn't work correctly
Replies: 1
Views: 799

simUnpackFloatTable doesn't work correctly

Hello, I'm trying to use received data from ROS in LUA script using simUnpackFloatTable . I've got this: function pathx_callback(msg) --callback function using data from ROS x=simUnpackFloatTable(msg['data']) print (x[1]) --test: does it read correctly? end if (sim_call_type==sim_childscriptcall_sen...
by mamagosia
15 Jan 2018, 22:47
Forum: General questions
Topic: V-REP doesn't see outputs from ROS
Replies: 2
Views: 1075

Re: V-REP doesn't see outputs from ROS

(I edited my post above with image)
by mamagosia
15 Jan 2018, 21:39
Forum: General questions
Topic: simxPackFloats in ROS
Replies: 1
Views: 631

simxPackFloats in ROS

Hello, I found function simxPackFloats in Remote API. I want to send data from Python script to V-REP via ROS in similar way, like it happens in Remote API, without Remote API. How are those data packed? E.g. I have got: tab = [1.222, 2, 3.55555555, 0, 0, 4] and after simxPackFloats it will be: 1.22...