You have to add
simUI = require 'simUI'
instead. Plugins have to be loaded explicitly (implicit loading is only a backwards compatibility feature).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.