Search found 308 matches

by fferri
24 May 2019, 07:44
Forum: General questions
Topic: How connect V-REP & ROS using ROS Plugin
Replies: 3
Views: 239

Re: How connect V-REP & ROS using ROS Plugin

That model uses the old ROS plugin only for subscribing to the twist command topic: simExtROS_enableSubscriber("/robotino_cmd_twist",1,simros_strmcmd_set_twist_command,-1,-1,'Command_Twist') You can do the same with the ROS Interface plugin (e.g. simROS.subscribe and write a bit of Lua script to app...
by fferri
23 May 2019, 20:30
Forum: General questions
Topic: the frequence of b0 spin
Replies: 2
Views: 90

Re: the frequence of b0 spin

In the C API, b0_node_spin() calls b0::Node::spin() without arguments, so the default spin rate (10Hz as of blue zero 1.x) will be used. You can implement a custom spin loop to obtain a different rate or spin policy: while(!b0_node_shutdown_requested(pnode)) { b0_node_spin_once(pnode); usleep(15000)...
by fferri
23 May 2019, 20:16
Forum: General questions
Topic: the frequence of b0 spin
Replies: 2
Views: 90

Re: the frequence of b0 spin

Are you taking about the BlueZero plugin? Or about which language binding for BlueZero?
by fferri
23 May 2019, 16:03
Forum: General questions
Topic: Automatic Camera Movement
Replies: 2
Views: 32

Re: Automatic Camera Movement

You can move a camera (like any other object) along a path.

See Paths and Movement along a Path
by fferri
23 May 2019, 09:35
Forum: General questions
Topic: How to get the past path length when robot runinng at 10s?
Replies: 3
Views: 69

Re: How to get the past path length when robot runinng at 10s?

So you want to predict where the robot will be when using some trajectory tracker to follow a path? I'm afraid that is quite difficult, and mostly depends on the specific trajectory tracker. What you can do instead is to compute the percentage (in terms of Euclidean distance) of a path state with re...
by fferri
23 May 2019, 06:38
Forum: General questions
Topic: How to get the past path length when robot runinng at 10s?
Replies: 3
Views: 69

Re: How to get the past path length when robot runinng at 10s?

Motion planning gives you a path, not a trajectory.

Hence, the robot, at t=5s could be anywhere between A and B. It depends on how fast you do execute the motion.
by fferri
21 May 2019, 12:01
Forum: General questions
Topic: How connect VREP & ROS Kinetic
Replies: 5
Views: 405

Re: How connect VREP & ROS Kinetic

This problem has been fixed.

You can now compile the latest RosInterface plugin with V-REP 3.6.1.rev2 or newer.

Cheers
by fferri
18 May 2019, 12:37
Forum: General questions
Topic: How connect VREP & ROS Kinetic
Replies: 5
Views: 405

Re: How connect VREP & ROS Kinetic

V-REP 3.6.1 rev4 has not been released yet.

If you don't want to wait for it to be released, you have two options:
  • use an older version of the RosInterface plugin, e.g.: 88b8df0
  • build the latest version of V-REP (from the git repositories: v_rep, v_repClientApplication, include, common)
by fferri
17 May 2019, 08:29
Forum: General questions
Topic: Light mass wheel problem
Replies: 2
Views: 132

Re: Light mass wheel problem

Does it happen also in the Vortex engine?

With the other engines there's nothing much you can do. This situation where one body's mass is orders of magnitude bigger/smaller will often lead to unstable simulations.
by fferri
16 May 2019, 09:46
Forum: General questions
Topic: 2D Large Scale(200*300meters) Path Planning Issues
Replies: 6
Views: 160

Re: 2D Large Scale(200*300meters) Path Planning Issues

you can put

Code: Select all

simOMPL.setStateValidityCheckingResolution(t,0.000033)
anywhere after

Code: Select all

simOMPL.createTask('t')
and before

Code: Select all

simOMPL.compute(t,4,-1,800)