Marco,
You do not indicate what version of the PyChrono conda package you are using.
From your message, I infer that this is likely a package corresponding to the current main development code. However, that doesn’t seem to be consistent with some line numbers you refer to. Please make sure you look at the right demo for whatever PyChrono distribution you are using! Please see the notice (marked in red) at the top of https://api.projectchrono.org/tutorial_table_of_content_pychrono.html
Having said that, the scripts in src/demos/python/chrono-tensorflow/envs/ were out-of-date. I pushed a fix to update them to the latest Chrono API. Keep in mind that these are not included in any PyChrono conda package yet!
My suggestion would be to:
In either case, use the latest Chrono code, in the ‘main’ branch of the GitHub repository.
(As a side note, to answer your question about ChFrame, in Python you should be using ChFramed – look for other uses of this in the very same script).
--Radu
--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
projectchron...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/projectchrono/9c38cb0a-d450-4c42-90bd-13833456c537n%40googlegroups.com.