Where are the project files stored on the virtual robot? How can I view them?
I wanted to run this program on a virtual robot, but I don’t know which way to prescribe. Which way should I prescribe?
local file = io.open("/dobot/userdata/project/project/FullTEST_Angle_CR5/guanjiedianwei.txt","w+")
local naime = {"X", "Y", "Z", "A", "B", "C"}
for i=1,4 do
Go(_G["P"..i],"SYNC=1")
Wait(3000)
PosParam = GetPose()
--Jointparams = GetAngle()
file : write (tostring(PosParam.name))
--file : write (": ")
for k=1,6 do
file : write (naime[k])
file : write ("\t")
file : write (tostring(PosParam.coordinate[k]))
file : write ("\t")
end
for j=1,4 do
file : write ("armOrientation_")
file : write (tostring(j))
file : write (" ")
file : write (tostring(PosParam.armOrientation[j]))
file : write ("; ")
end
file : write ("tool")
file : write (tostring(PosParam.tool))
file : write ("\t")
file : write ("user")
file : write (tostring(PosParam.user))
file : write ("\t")
file: write ("\n")
file: flush()
Sleep(100)
end
file: close()