Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not find .py file #1

Open
YangHuaLuoJinZiGuiTi opened this issue Jul 14, 2024 · 5 comments
Open

Can not find .py file #1

YangHuaLuoJinZiGuiTi opened this issue Jul 14, 2024 · 5 comments

Comments

@YangHuaLuoJinZiGuiTi
Copy link

YangHuaLuoJinZiGuiTi commented Jul 14, 2024

Hi,
I'm trying to use your simulator for research purpose. But it seems that there are no following .py files after I Configure && Build the project.

  • scripts/run_experiments.py
  • python process/gen_marker_disp.py
  • python process/vis_marker_disp.py
  • scripts/config.py

Does it mean I need write my own run_experiments..py etc to directly run it in command Line ? Or I just made some mistakes in building it.
Thank you for your assistance. Plz Let me know if you need more detials

@Ailon-Island
Copy link
Owner

Ailon-Island commented Jul 14, 2024

Hello,
Thanks for your interest!
It was our miss to accidentally exclude the .py files from git.
We have just added them back, and you could check them out in the latest commit now!

@YangHuaLuoJinZiGuiTi
Copy link
Author

Thanks for your reply ! Now it's no problem for me to run the experiments and obtain marker motions. But I still could not find some files

I still could not find main.py in Custom task. Does that mean I need write a main.py file like run_experiment.py , but where is prepare() and move lambda

Thank you for you assistance,

@YangHuaLuoJinZiGuiTi
Copy link
Author

YangHuaLuoJinZiGuiTi commented Jul 15, 2024

Also for you gel mesh file, there are only 0.1mm and 0.1-3mm meshing style of gel, which are slow to run the experiments.
Could you please provide other meshing style in your paper or how should I make my own gel and marker

@Ailon-Island Ailon-Island reopened this Jul 15, 2024
@Ailon-Island
Copy link
Owner

Ailon-Island commented Jul 15, 2024

Thanks for your reply ! Now it's no problem for me to run the experiments and obtain marker motions. But I still could not find some files

I still could not find main.py in Custom task. Does that mean I need write a main.py file like run_experiment.py , but where is prepare() and move lambda

Thank you for you assistance,

Hello, it was just a typo and we've fixed it. Actually you may take main.cu as a reference. Sorry for the confusion.

Also for you gel mesh file, there are only 0.1mm and 0.1-3mm meshing style of gel, which are slow to run the experiments. Could you please provide other meshing style in your paper or how should I make my own gel and marker

And the mesh files may not be published very soon. For now, we suggest making custom gel. You may refer to Postprocess custom tactile sensor gel part in Run custom experiments section of our README.md. The followings are some extra details for your convenience.

Prepare resources

If you have trianglar meshes of your gel, you may find TetWild a useful tool to controllably generate tetrahedral meshes from trianglar ones.

Run experiments

Run your experiments as usual. You only have to change the path arguments for the main binary.

@YangHuaLuoJinZiGuiTi
Copy link
Author

Thanks for your reply ! Now it's no problem for me to run the experiments and obtain marker motions. But I still could not find some files
I still could not find main.py in Custom task. Does that mean I need write a main.py file like run_experiment.py , but where is prepare() and move lambda
Thank you for you assistance,

Hello, it was just a typo and we've fixed it. Actually you may take main.cu as a reference. Sorry for the confusion.

Also for you gel mesh file, there are only 0.1mm and 0.1-3mm meshing style of gel, which are slow to run the experiments. Could you please provide other meshing style in your paper or how should I make my own gel and marker

And the mesh files may not be published very soon. For now, we suggest making custom gel. You may refer to Postprocess custom tactile sensor gel part in Run custom experiments section of our README.md. The followings are some extra details for your convenience.

Prepare resources

If you have trianglar meshes for your gel, you may find TetWild a useful tool to controllably generate tetrahedral meshes from trianglar ones.

Run experiments

Run your experiments as usual. You only have to change the path arguments for the main binary.

Thank you for your reply ! I will try it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants