Search found 1016 matches

by fferri
20 Mar 2020, 13:28
Forum: General questions
Topic: Has anyone received Lua runtime error in simROS.Publish during ROS1 tutorial
Replies: 9
Views: 3341

Re: Has anyone received Lua runtime error in simROS.Publish during ROS1 tutorial

You have to keep an eye for warning messages that appear before the compile phase. (i.e. not those warning C4100: 'p': unreferenced formal parameter which are irrelevant)

If a ROS message cannot be found, a warning is emitted but code generation will continue.
by fferri
19 Mar 2020, 16:25
Forum: General questions
Topic: Has anyone run into this: ...src\sim_ros_interface.cpp(510): error C2466: cannot allocate an array of constant size 0
Replies: 4
Views: 1111

Re: Has anyone run into this: ...src\sim_ros_interface.cpp(510): error C2466: cannot allocate an array of constant size

That probably makes use of an outdated C standard (or not standard at all).

The point is to fake zero command line arguments.

Try changing that to char *argv = nullptr;
by fferri
19 Mar 2020, 16:19
Forum: General questions
Topic: Has anyone received Lua runtime error in simROS.Publish during ROS1 tutorial
Replies: 9
Views: 3341

Re: Has anyone received Lua runtime error in simROS.Publish during ROS1 tutorial

Can you show the commands used to build the plugin? You should pass the options to see full verbose output. Those will vary depend on the build tool you use to compile the plugin. With catkin-tools on Linux that would be something like VERBOSE=1 catkin build --verbose . Probably you didn't source th...
by fferri
18 Mar 2020, 20:40
Forum: General questions
Topic: Compiling simExtROS2Interface for/with ROS2 Crystal
Replies: 6
Views: 1220

Re: Compiling simExtROS2Interface for/with ROS2 Crystal

The compiler is telling you how to solve it. :-)

Just pass -fpermissive to the C++ flags (e.g. pass --cmake-args ' -DCMAKE_CXX_FLAGS=-fpermissive' to colcon).
by fferri
18 Mar 2020, 17:02
Forum: General questions
Topic: Compiling simExtROS2Interface for/with ROS2 Crystal
Replies: 6
Views: 1220

Re: Compiling simExtROS2Interface for/with ROS2 Crystal

Then yes, as October 2019, Crystal Clemmys is not supported anymore (they broke the API). You can try to undo the portions of commit 1773dd4 relative to the changed signature of create_publisher / create_subscription (basically: remove the qos parameter, and comment out the previous line), but proba...
by fferri
18 Mar 2020, 16:06
Forum: General questions
Topic: Compiling simExtROS2Interface for/with ROS2 Crystal
Replies: 6
Views: 1220

Re: Compiling simExtROS2Interface for/with ROS2 Crystal

Hi,

do you get some error or what?
by fferri
12 Mar 2020, 11:23
Forum: General questions
Topic: CustomUI - style parameter ?
Replies: 1
Views: 1051

Re: CustomUI - style parameter ?

Hi,

you can refer to Qt Style Sheets Reference.
by fferri
11 Mar 2020, 13:55
Forum: Bug reports
Topic: calling simROS2.advertiseService causes crashing
Replies: 2
Views: 3905

Re: calling simROS2.advertiseService causes crashing

Looks like a linker issue to me.

Can you reproduce with ROS2 Dashing Diademata?
by fferri
05 Mar 2020, 13:22
Forum: General questions
Topic: Load ROSInterface plugin failed.
Replies: 4
Views: 1642

Re: Load ROSInterface plugin failed.

Can you try in a terminal:

Code: Select all

echo $ROS_MASTER_URI
and still in the same terminal:

Code: Select all

./coppeliaSim.sh
Then copy and paste here all the content of the terminal