Search found 649 matches

by fferri
29 Jun 2020, 08:11
Forum: Bug reports
Topic: ROS Integration With Catkin_make Error
Replies: 9
Views: 267

Re: ROS Integration With Catkin_make Error

Well, setExtVersion / setBuildDate methods are from a previous commit (ffbb6e4c of 4 May) which obviously you must have. There is something else going on on your machine. Try starting from scratch. And by the way, you don't need to pass the cmake option -DLIBPLUGIN_DIR=... because it looks like you ...
by fferri
26 Jun 2020, 10:52
Forum: Bug reports
Topic: ROS Integration With Catkin_make Error
Replies: 9
Views: 267

Re: ROS Integration With Catkin_make Error

And1210 wrote:
23 Jun 2020, 17:56
I have updated the libPlugin folder in CoppeliaSim with the latest commit.
It appears you didn't.

What does git -C $COPPELIASIM_ROOT_DIR/programming/libPlugin show --summary say?
by fferri
26 Jun 2020, 08:16
Forum: General questions
Topic: Simulating Ratchet Mechanism
Replies: 3
Views: 131

Re: Simulating Ratchet Mechanism

Hi,

maybe you can do that with a Joint callback function.
by fferri
21 Jun 2020, 09:19
Forum: General questions
Topic: libsimExtROS2Interface builds but doesn't load
Replies: 2
Views: 153

Re: libsimExtROS2Interface builds but doesn't load

You need to source the ROS2 environment (source /opt/ros/foxy/setup.bash) prior to running ./coppeliaSim.sh in the same terminal.
by fferri
19 Jun 2020, 16:17
Forum: General questions
Topic: How to set the color of multiple shapes at once?
Replies: 7
Views: 249

Re: How to set the color of multiple shapes at once?

Hi,

you can use sim.getObjectChild (or alternatively sim.getObjectsInTree) to retrieve an object's children, and you can set the shape color of every children with a for loop.
by fferri
15 Jun 2020, 14:26
Forum: General questions
Topic: How to communicate with labview
Replies: 2
Views: 104

Re: How to communicate with labview

On the contributions page there is a link to a LabVIEW interface.

Also, looking around the net, someone wrote a paper about interfacing with LabVIEW.
by fferri
10 Jun 2020, 00:19
Forum: General questions
Topic: What is the best way to reproduce the exact same execution
Replies: 1
Views: 58

Re: What is the best way to reproduce the exact same execution

See this post.

It can be done if you can avoid dynamics and other sources of randomness.
by fferri
08 Jun 2020, 21:21
Forum: General questions
Topic: Path planning for multiple goal states(simOMPL.addGoalState)
Replies: 1
Views: 61

Re: Path planning for multiple goal states(simOMPL.addGoalState)

Hi, when using multiple goal states, the search will stop as soon as one goal is reached. Which one is not known, but you should be able to easily check. I didn't find much documentation of ompl::base::GoalStates class, but as you can see from how distanceGoal is implemented, it will return the dist...
by fferri
08 Jun 2020, 08:22
Forum: General questions
Topic: Vision Sensor Intrinsic Parameters
Replies: 3
Views: 137

Re: Vision Sensor Intrinsic Parameters

Focal distance is directly related to FOV.

Have a look at this question & answers.
by fferri
08 Jun 2020, 08:14
Forum: General questions
Topic: Calculate run/execution time
Replies: 3
Views: 122

Re: Calculate run/execution time

Hi,

you can simply do

Code: Select all

local t_start=sim.getSystemTime()
-- long computation ...
local t_end=sim.getSystemTime()
local elapsed=t_end-t_start