Changing the path of the resources (.tudat/resource) folder Tudat uses #88
boramenekse
started this conversation in
Tudatpy User Questions
Replies: 1 comment 5 replies
-
|
An important point to understand here is that this function is not part of the tudatpy repository, but part of the tudat-resource repository which is a dependency of tudat. We have an issue open to move all this to tudatpy and remove this separate dependency, but we're not there yet. But I think the general approach you have is correct, by changing this function. The problem may be that when exporting it, it's not being used since it's not part of the tudatpy repo. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a project in C++, which uses Tudat, and I export it to a project in Unity by creating a single dynamically linked library file (dll) that has both the Tudat source code and my project's source code. In order to make the interface work, I need to export all the dependencies Tudat needs, including the resources folder (.tudat/resource). When I have the resources folder in my home directory, everything works fine, but I want/need to have that folder in the Unity project for the sake of simplicity for end-users who will use the product of the Unity project.
Therefore, I am trying to change the path of the resources folder Tudat uses, but I haven't succeeded. I have tried modifying a function in the
resource.hfile as follows:But the source code still searches for the
.tudatfolder in the home directory.Is it possible to change the path of the resources folder Tudat uses? If so, what steps should I take to make that change?
Beta Was this translation helpful? Give feedback.
All reactions