We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In function:
ad_vector_t LeggedBalanceSystemDynamics::systemFlowMap(ad_scalar_t /*time*/, const ad_vector_t& state, const ad_vector_t& input, const ad_vector_t& parameters) const { // todo: add linear equation ad_scalar_t theta_l = state(1), theta_r = state(2), theta = state(3), psi = state(4), x_dot = state(5), theta_l_dot = state(6), theta_r_dot = state(7), theta_dot = state(8), psi_dot = state(9); ad_matrix_t A = generateA(parameters(0), parameters(1)), B = generateB(parameters(0), parameters(1)); ad_vector_t result(10); result = A * state + B * input; return result; }
I want to use the value of result in other places of the program, How can I do it?
result
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In function:
I want to use the value of
result
in other places of the program, How can I do it?The text was updated successfully, but these errors were encountered: