sim
, simT
and the result of RemoteAPIClient.getSim()
are all the same thing which you are fetching three times.just wanted to make sure wether you understand the Java ZMQ remote API client interface...
sim
, simT
and the result of RemoteAPIClient.getSim()
are all the same thing which you are fetching three times.Code: Select all
[img, resX, resY] = sim.getVisionSensorCharImage(visionSensorHandle); % display image in MATLAB: imshow(flip(permute(reshape(img, 3, resY, resX), [3 2 1]), 1));
simUI = require 'simUI'
instead. Plugins have to be loaded explicitly (implicit loading is only a backwards compatibility feature).Code: Select all
poses = {}
for line in io.lines('poses.csv') do
local pose = map(tonumber, string.split(line, ','))
table.insert(poses, pose)
end
list
is used in Python, in Java that would be List<T>
, with T
being the type of the elements of the list.