Search found 815 matches

by fferri
18 Oct 2021, 11:11
Forum: General questions
Topic: UI widget in "ABB IRB 140.ttm"
Replies: 2
Views: 3820

Re: UI widget in "ABB IRB 140.ttm"

-- xml string for UI creation: .... <image geometry="0,0,1088,607" width="1088" height="607" id="1"/> <button text="Button" geometry="932,502,100,40" on-click="click_callback" id="2" style="* {background-color: #66ff66}"/> ... Then you would use simUI.setImageData to set the background image. or us...
by fferri
15 Oct 2021, 07:59
Forum: Bug reports
Topic: Cannot compile libsimExtROSInterface in Ubuntu 18.04
Replies: 1
Views: 3293

Re: Cannot compile libsimExtROSInterface in Ubuntu 18.04

You need to make sure you have the version of programming/include , programming/common and programming/libPlugin provided with the 4.2.0 release, and not from git. Additionally, you need to use the melodic branch of simExtROS ( master is for noetic only): #shell git -C ~/ros_ws/src/sim_ros_interface...
by fferri
05 Oct 2021, 10:16
Forum: General questions
Topic: Moveit to CoppeliaSim
Replies: 1
Views: 3205

Re: Moveit to CoppeliaSim

Code: Select all

function joint_callback(msg)
    movCallback(msg.position)
end
?
by fferri
05 Oct 2021, 09:46
Forum: General questions
Topic: Zmq remote Api vision sensor visualisation slow
Replies: 3
Views: 4383

Re: Zmq remote Api vision sensor visualisation slow

As @coppelia says, sim.getVisionSensorCharImage should be faster. Here's how to deal with raw data in Python + NumPy + OpenCV: img, resX, resY = sim.getVisionSensorCharImage(visionSensorHandle) img = np.frombuffer(img, dtype=np.uint8).reshape(resY, resX, 3) # In CoppeliaSim images are left to right ...
by fferri
05 Oct 2021, 09:20
Forum: General questions
Topic: Add other constraint in OMPL task solver
Replies: 2
Views: 3627

Re: Add other constraint in OMPL task solver

if I overwrite that, do I need to explicitly call collsiion checking along with constraint checking in this callback function? Yes. The default state validity checking uses sim.checkCollision to determine validity of a state. If a custom state validity checking function is set, the default state va...
by fferri
26 Sep 2021, 09:04
Forum: Bug reports
Topic: Vision sensor img
Replies: 1
Views: 4472

Re: Vision sensor img

The error message is pretty clear: there is no such variable named "buffer".

What is print(buffer) doing there?
by fferri
24 Sep 2021, 13:02
Forum: General questions
Topic: Running V-REP python remote API on X window terminal (Xterm)
Replies: 7
Views: 6746

Re: Running V-REP python remote API on X window terminal (Xterm)

So, can you reach the host OS (Ubuntu 20.04) from the guest OS (mininet)? A first test would be to try with ping or nmap . If you are unable to ping, it is a network configuration issue between the guest and the host. Note: previously you showed a test where you would ping 127.0.0.1, but that is the...
by fferri
24 Sep 2021, 10:17
Forum: General questions
Topic: Live sync via CSV
Replies: 1
Views: 3024

Re: Live sync via CSV

It would be best to use network sockets, or some high level abstraction over those, such as ZeroMQ , which is also simpler to use, and readily available for many programming languages (C, C++, Python, Swift, Ruby, Java, Scala, C#, Go, Lisp, PHP, Tcl, R, Perl, Bash, Ada, JavaScript (Node.js.), Lua, O...
by fferri
19 Sep 2021, 11:38
Forum: General questions
Topic: Problem with URDF Importer
Replies: 6
Views: 5155

Re: Problem with URDF Importer

Hi,

please post some example, including the original URDF file, and why the imported model is not correct, and how it should be.

Thanks
by fferri
19 Sep 2021, 11:33
Forum: General questions
Topic: Line following BubbleRob tutorial dont work
Replies: 9
Views: 7995

Re: Line following BubbleRob tutorial dont work

Use any file sharing service that allows you sharing a public link, e.g. Google Drive, Dropbox, OneDrive, etc...