Search found 648 matches

by fferri
22 Oct 2018, 16:15
Forum: General questions
Topic: Controlling Panda robot joint through ROS message
Replies: 7
Views: 2745

Re: Controlling Panda robot joint through ROS message

joint_state.velocity is an array.

Perhaps you wanted to do sim.setJointTargetPosition(j2_handle, joint_state.velocity[1]).

P.S. Please copy & paste your code, do not post screenshots of code.
by fferri
22 Oct 2018, 15:00
Forum: General questions
Topic: ROSInterface question: ROS Node at another machine
Replies: 1
Views: 877

Re: ROSInterface question: ROS Node at another machine

The RosInterface plugin requires ROS.

Moreover, it is not possible to run V-REP's (RosInterface's) ROS node without V-REP.
by fferri
22 Oct 2018, 12:52
Forum: General questions
Topic: Controlling Panda robot joint through ROS message
Replies: 7
Views: 2745

Re: Controlling Panda robot joint through ROS message

You can use whatever message you like. If you need to only transmit one float value, std_msgs/Float32 might suffice. A standard ROS message used for joints is sensor_msgs./JointState . There is a tutorial in the V-REP manual, which includes also creating a subscriber and listening for data. Basicall...
by fferri
19 Oct 2018, 19:50
Forum: General questions
Topic: Problem with random obstacles in a scene
Replies: 1
Views: 943

Re: Problem with random obstacles in a scene

The error happens when getting the handle of "ResizableFloor_5_25".
You need to use

Code: Select all

sim.getObjectHandle('ResizableFloor_5_25#')
(note the trailing # character) to avoid automatic name adjustment.
by fferri
16 Oct 2018, 23:02
Forum: General questions
Topic: Interface between Velodyne VPL16 and ROS
Replies: 5
Views: 2209

Re: Interface between Velodyne VPL16 and ROS

Especially, the "points" field requires geometry_msgs/Point32[] . When I want to feed it with results from velodyne, error shows up and saying it is not the right type. How should I convert it? since the points field is an array of Point32 message, it should be something like this (in Lua): {points...
by fferri
16 Oct 2018, 17:44
Forum: General questions
Topic: Interface between Velodyne VPL16 and ROS
Replies: 5
Views: 2209

Re: Interface between Velodyne VPL16 and ROS

Whether you should use sensor_msgs/PointCloud or sensor_msgs/PointCloud2 depends on which message types the receiving part can support. If it is RViz, it is capable of displaying both. The main difference is that PointCloud contains point data stored as arrays of points and float values, and it is s...
by fferri
16 Oct 2018, 11:04
Forum: General questions
Topic: Interface between Velodyne VPL16 and ROS
Replies: 5
Views: 2209

Re: Interface between Velodyne VPL16 and ROS

Do you see the data arriving at the /velodyne topic? To test, run the following in a terminal: rostopic echo /velodyne If yes, then it might be a problem of choosing the correct frame in RViz (try selecting the velodyneVPL frame). If in RViz you select the /map frame, but no tf frame linking /map to...
by fferri
16 Oct 2018, 11:01
Forum: General questions
Topic: How do I use Ompl to generate the correct path?
Replies: 4
Views: 1701

Re: How do I use Ompl to generate the correct path?

Just an additional note: that example scene might be overly complicated. If you follow the manual page of the OMPL plugin , it gives you the list of functions to call (exactly in that order): Decide of a start and goal state. When the path planning object is a serial manipulator, a goal pose (or end...
by fferri
16 Oct 2018, 10:38
Forum: General questions
Topic: Problem with installing UI on V-rep
Replies: 3
Views: 989

Re: Problem with installing UI on V-rep

Hi je67101,

please report all the steps you tried, and what failed, including any relevant error messages you see in the terminal and/or in the V-REP's status bar.

It is not possible to help you otherwise.
by fferri
15 Oct 2018, 07:56
Forum: General questions
Topic: How do I use Ompl to generate the correct path?
Replies: 4
Views: 1701

Re: How do I use Ompl to generate the correct path?

It may happen that OMPL does not find a path (due to insufficient planning time given).
You should check the path variable.