Search found 16 matches
- 24 Sep 2020, 13:57
- Forum: General questions
- Topic: obtain file path in coppelia
- Replies: 1
- Views: 929
obtain file path in coppelia
How to get current working directory in coppelia? i want to upload file with relative path. I found only this sim.filedlg_type_folder to prompt dialog. Can you help me in that?
- 16 Sep 2020, 09:58
- Forum: General questions
- Topic: V-REP on Docker
- Replies: 6
- Views: 4951
Re: V-REP on Docker
The solution is
RUN rm libcoppeliaSim.so
RUN mv libcoppeliaSimHeadless.so libcoppeliaSim.so
https://www.coppeliarobotics.com/helpFi ... ndLine.htm
and use ./coppeliaSim.sh -h and it works
RUN rm libcoppeliaSim.so
RUN mv libcoppeliaSimHeadless.so libcoppeliaSim.so
https://www.coppeliarobotics.com/helpFi ... ndLine.htm
and use ./coppeliaSim.sh -h and it works
- 16 Sep 2020, 08:14
- Forum: General questions
- Topic: V-REP on Docker
- Replies: 6
- Views: 4951
Re: V-REP on Docker
I already did that before asking on forum: Here is the same output: root@40ce36d83bb2:/coppelia_sim#: xvfb-run ./coppeliaSim.sh -h [CoppeliaSimClient] loading the CoppeliaSim library... [CoppeliaSimClient] done. [CoppeliaSimClient:loadinfo] launching CoppeliaSim... [CoppeliaSim:loadinfo] CoppeliaSim...
- 15 Sep 2020, 14:56
- Forum: General questions
- Topic: V-REP on Docker
- Replies: 6
- Views: 4951
Re: V-REP on Docker
I tried to run coppelia in headless mode from inside docker but failed(even tried to use the same dockerfile above) ./coppeliaSim.sh -h [CoppeliaSimClient] loading the CoppeliaSim library... [CoppeliaSimClient] done. [CoppeliaSimClient:loadinfo] launching CoppeliaSim... [CoppeliaSim:loadinfo] Coppel...
- 09 Sep 2020, 09:08
- Forum: General questions
- Topic: Problem to launch Coppelia with ROS2 Interface
- Replies: 1
- Views: 1130
Re: Problem to launch Coppelia with ROS2 Interface
The problem solved when you source like this
not sourcing the local installation folder. It works now.
And for compilation, just remove ros1 and it will work
Code: Select all
source /opt/ros/foxy/setup.bash
And for compilation, just remove ros1 and it will work
- 09 Sep 2020, 08:58
- Forum: General questions
- Topic: Problem to launch Coppelia with ROS2 Interface
- Replies: 1
- Views: 1130
Problem to launch Coppelia with ROS2 Interface
I followed this tutorial to run Coppelia with ROS2 interface plugin https://www.coppeliarobotics.com/helpFiles/en/ros2Tutorial.htm I sourced ros2 and then launch Coppelia and it works, but sometimes does not launch showing his error: plugin 'ROS2Interface': loading... CoppeliaSim_Player_V4_1_0_Ubunt...
- 02 Sep 2020, 13:58
- Forum: General questions
- Topic: Alternative to ROS for communication
- Replies: 1
- Views: 773
Alternative to ROS for communication
Hi, Up till now, we used ROS for communication purposes. We think to replace it, but We have no idea what is best. We need: - 2 way communication, which can be initialised by both sides - Well defined messages - Communication should be possible between VREP and external programs (in CPP and Python) ...
- 02 Sep 2020, 09:06
- Forum: General questions
- Topic: B0 Communcation with Coppelia
- Replies: 5
- Views: 1175
Re: B0 Communcation with Coppelia
How to do the binary unpacking on C++ server side if I am sending float from VREP client:
for example I used atof(req.c_str()) but did not work as expected but we have to unpack 100,000 points of ptcloud. what is the best method to unpack?
for example I used atof(req.c_str()) but did not work as expected but we have to unpack 100,000 points of ptcloud. what is the best method to unpack?
- 01 Sep 2020, 11:40
- Forum: General questions
- Topic: B0 Communcation with Coppelia
- Replies: 5
- Views: 1175
Re: B0 Communcation with Coppelia
ROS has concept of actions which service(request and reply) but with feedback especially in long-time taking processes like motion of robot. Does B0(ZeroMQ) has a this concept or have to implement it by ourselves?
- 01 Sep 2020, 07:51
- Forum: General questions
- Topic: B0 Communcation with Coppelia
- Replies: 5
- Views: 1175
Re: B0 Communcation with Coppelia
I have another case as well (most probably the same reason):
if I use in :
C++:
static int i = 0;
Coppelia:
local number=sim.unpackUInt16Table(msg)[1]
I see numbers different than I am sending from the publisher
if I use in :
C++:
static int i = 0;
Coppelia:
local number=sim.unpackUInt16Table(msg)[1]
I see numbers different than I am sending from the publisher