Open
Description
Hi, Travis,
When I run the code on Mac as this post says, an error
ImportError: dlopen(/Users/cl/Downloads/control-master/studywolf_control/arms/three_link/py3LinkArm.so, 2): no suitable image found. Did find: /Users/cl/Downloads/control-master/studywolf_control/arms/three_link/py3LinkArm.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
occurs.
Then I went the directory, deleting py3LinkArm.so file and run the command python setup.py build_ext -i, but many errors and warnings occurs,
21 warnings and 11 errors generated. error: command 'clang' failed with exit status 1.
So, how can I solve this problem?
Metadata
Metadata
Assignees
Labels
No labels
Activity
studywolf commentedon Dec 1, 2017
Ah yeah, sorry the 3 link arm isn't supported on Mac. There's some compiling problems with it and since I only use Ubuntu I haven't debugged them. Sorry about that! The examples should work with the
arm2_pythonon Mac though!codelover618 commentedon Dec 2, 2017
Thanks for replying! I will try to use Ubuntu to debug the code.
Besides, how the text file in
tasks/write_datagenerate? They seem like the path of specified character? Can you give me some hints on generating them.Thank you!
studywolf commentedon Dec 2, 2017
Great! It should hopefully compile for you without any issues in Ubuntu, if problems come up please let me know.
For generating the data I used a custom program that records trajectories drawn on a phone screen, it looks like though GIMP might have a way of doing it too: http://registry.gimp.org/node/25828
codelover618 commentedon Dec 3, 2017
Hi, Travis,
Thank you for your reply. I have successful run the code in Ubuntu!
However, it doesn't work when I use 2 link arm as what you said before. I use this command
python run.py arm2 dmp write(I don't sure whether it's right.) and the error below occurs(both in Mac and Ubuntu14.04):What should I do to fix this?
studywolf commentedon Dec 4, 2017
ah sorry, the one you want (that is pure python) is
arm2_pythonnot justarm2. Thearm2should hopefully work in Ubuntu after it's compiled likearm3was, also!