Commit 55d8624d authored by Nicolas Van der Noot's avatar Nicolas Van der Noot
Browse files

add mbs_data to real-time options

parent 407d317d
......@@ -13,6 +13,7 @@
/*! \brief modify the real-time options
*
* \param[in] mbs_data Robotran main structure
* \param[out] options real-time options
*
* These are the options that the user can configure:
......@@ -81,7 +82,7 @@
* options->y_min_init = 0.0;
* options->y_max_init = 10.0;
*/
void user_realtime_options(Realtime_option *options)
void user_realtime_options(MbsData* mbs_data, Realtime_option *options)
{
}
......
......@@ -47,7 +47,7 @@ void mbs_realtime_init(MbsData* mbs_data, double t0, double tf, double dt0)
options->tf = tf;
options->dt0 = dt0;
user_realtime_options(options);
user_realtime_options(mbs_data, options);
check_user_realtime_options(options);
compute_buffer_size(options);
......
......@@ -153,7 +153,7 @@ extern "C" {
void mbs_realtime_loop(Simu_realtime *realtime, double tsim);
void mbs_realtime_update(Simu_realtime *realtime, double tsim);
void mbs_realtime_finish(Simu_realtime *realtime);
void user_realtime_options(Realtime_option *options);
void user_realtime_options(MbsData* mbs_data, Realtime_option *options);
#ifdef __cplusplus
}
#endif
......
......@@ -13,6 +13,7 @@
/*! \brief modify the real-time options
*
* \param[in] mbs_data Robotran main structure
* \param[out] options real-time options
*
* These are the options that the user can configure:
......@@ -81,7 +82,7 @@
* options->y_min_init = 0.0;
* options->y_max_init = 10.0;
*/
void user_realtime_options(Realtime_option *options)
void user_realtime_options(MbsData* mbs_data, Realtime_option *options)
{
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment