... | ... | @@ -15,10 +15,10 @@ In mbsysC/Py, a new flag is added in `mbs_data`, along with new fields: |
|
|
- `s->qrot` => vector containing the indices of the rotational joints
|
|
|
- `s->q_sin` => vector that contains the values of the joint sine (-2.0 if the joint is translational)
|
|
|
- `s->q_cos` => vector that contains the values of the joint cosine (-2.0 if the joint is translational)
|
|
|
- `s->flag_opti_symb_sin_cos` => a flag to activate the feature
|
|
|
- `s->flag_optim_symb_sin_cos` => a flag to activate the feature
|
|
|
|
|
|
## How to use
|
|
|
The user should generate the symbolic files with the OptimSinCos(Rtime) option ON. Besides, the user must put `mbs_data->flag_opti_symb_sin_cos= 1;`just after the loading of the `.mbs` file in the main.c/.py
|
|
|
The user should generate the symbolic files with the OptimSinCos(Rtime) option ON. Besides, the user must put `mbs_data->flag_optim_symb_sin_cos= 1;`just after the loading of the `.mbs` file in the main.c/.py
|
|
|
|
|
|
# Warnings
|
|
|
**Warning, it only works with the corresponding symbolic files (on dev-symbolic for now, should be included in next release)**
|
... | ... | |