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

Python bindings for vehicle_get_property #32

Open
juanmanzanero opened this issue Jul 14, 2022 · 0 comments
Open

Python bindings for vehicle_get_property #32

juanmanzanero opened this issue Jul 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@juanmanzanero
Copy link
Owner

The C version of vehicle_get_property is

double vehicle_get_property(const char* vehicle_name, const double* q, const double* qa, const double* u, const double s, const char* property_name);

Provide a binding in python, with the form:

def vehicle_get_property(vehicle_name, inputs, property_name)

where inputs is a dictionary with all the required inputs (q, qa, u and s), which are written into their C version (const double*) inside the function. To do so, the program shall first inquire C++ the key_name, q_names, qa_names, and u_names (this needs to be implemented first)

The program should stop if a required variable is not present and if there's an unused variable inside the map.

@juanmanzanero juanmanzanero added the enhancement New feature or request label Jul 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant