-
Notifications
You must be signed in to change notification settings - Fork 33
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
C++ to Python conversion crash #160
Comments
The exposure of |
This function is now called |
Thanks! It seems that this has been fixed in the meantime (checked with the dev version) and there is even an example using the function: https://docs.tudat.space/en/latest/_src_getting_started/_src_examples/tudatpy-examples/propagation/coupled_translational_rotational_dynamics.html#Getting-rid-of-the-normal-modes |
The function
io.read_vector_history_from_file
crashes when used on Python and gives the following error:TypeError: Unable to convert function return value to a Python type! The signature was
(vector_size: int, file_name: str) -> Dict[float, Eigen::Matrix<double,-1,1,0,-1,1>]
Something similar happens with the function
numerical_simulation.propagation.get_zero_normal_mode_rotational_state
, although the error reads somewhat different:TypeError: Unable to convert function return value to a Python type! The signature was
(bodies: tudatpy.kernel.numerical_simulation.environment.SystemOfBodies, integrator_settings: tudat::numerical_integrators::IntegratorSettings, propagator_settings: tudat::propagators::SingleArcPropagatorSettings<double,double>, body_mean_rotational_rate: float, dissipation_times: List[float], propagate_undamped: bool = True) -> Tuple[numpy.ndarray[numpy.float64[m, 1]], List[Tuple[Dict[float, numpy.ndarray[numpy.float64[m, 1]]], Dict[float, numpy.ndarray[numpy.float64[m, 1]]]]], List[Tuple[Dict[float, numpy.ndarray[numpy.float64[m, 1]]], Dict[float, numpy.ndarray[numpy.float64[m, 1]]]]]]
I've been told you are aware of this and that for some people this doesn't happen. I attach the contents of my conda environment so that hopefully the problematic module(s) can be identified.
The text was updated successfully, but these errors were encountered: