|
Robotran C Documentation
|
Go to the documentation of this file.
9 #ifndef MBS_BINDER_PRIVATE_h
10 #define MBS_BINDER_PRIVATE_h
void mbs_delete_info_solid(MbsInfoSolid *mbs_info_solid)
Definition: mbs_loader_public.c:921
void mbs_delete_info_rod(MbsInfoRod *mbs_info_rod)
Definition: mbs_loader_public.c:888
void * mbs_delete_info_joint(MbsInfoJoint *mbs_info_joint)
Definition: mbs_loader_public.c:702
MbsInfoBody * mbs_new_info_body(void)
Definition: mbs_loader_public.c:719
void mbs_delete_info_bodytree(MbsInfoBodytree *mbs_info_bodytree, void *all_joints_list)
Definition: mbs_loader_public.c:810
Definition: mbs_binder_public.h:180
Definition: mod_external_robotran.f90:150
MbsInfoBodytree * mbs_new_info_bodytree(void)
Definition: mbs_loader_public.c:775
subroutine, public finalize()
Save final configuration, free the memory and finalize the process.
Definition: mod_external_robotran.f90:582
Structure defining the parent point of a body.
Definition: mbs_binder_public.h:53
Contains information about UserIO.
Definition: mbs_user_interface.h:32
void mbs_delete_user_IO_info(UserIoInfo *ioInfo)
Definition: mbs_loader.c:1449
int fill_all_joint_list(MbsInfos *mbs_infos)
Fill the joints list with children parent...
Definition: mbs_loader_public.c:1483
MbsInfoSolid * mbs_new_info_solid(void)
Definition: mbs_loader_public.c:906
void mbs_delete_info_sensor(MbsInfoSensor *mbs_info_sensor)
Definition: mbs_loader_public.c:540
MbsInfoUserCstr * mbs_new_info_user_cstr(void)
Definition: mbs_loader_public.c:1239
This structure contains all informations about a joint.
Definition: mbs_binder_public.h:133
Definition: mbs_binder_public.h:249
subroutine, public initialize()
Initialize all mbs.
Definition: mod_external_robotran.f90:192
subroutine, public update_dof()
Finalize time step: update vBeg field for all mbs.
Definition: mod_external_robotran.f90:566
MbsInfoParameter * mbs_new_info_parameter(void)
Definition: mbs_loader_public.c:1066
MbsInfoSensor * mbs_new_info_sensor(void)
Definition: mbs_loader_public.c:518
Definition: mbs_binder_public.h:428
subroutine, public nullify_vlocy(i_mbs, storage)
Reset the specified velocity to zero for the specified mbs.
Definition: mod_external_robotran.f90:404
This header includes the functions to bind the JSON information to the MbsInfos structure.
void * mbs_delete_info_ref_point(MbsInfoRefPoint *mbs_info_ref_point)
Definition: mbs_loader_public.c:498
subroutine, public add_reac_2d(i_mbs, i_node, reac, storage)
Add the given node reaction contribution to the reaction of the global mbs in 2D simulation.
Definition: mod_external_robotran.f90:368
void mbs_delete_info_link(MbsInfoLink *mbs_info_link)
Definition: mbs_loader_public.c:1005
Definition: mbs_binder_public.h:238
MbsInfoUserIO * mbs_new_info_user_IO(void)
Definition: mbs_loader_public.c:1204
MbsInfoJoint * mbs_new_info_joint(void)
Definition: mbs_loader_public.c:674
Definition: mbs_binder_public.h:350
void mbs_delete_info_cuts(MbsInfoCuts *mbs_info_cuts)
Definition: mbs_loader_public.c:955
This header defines MbsInfos (and its substructures) as well as the loading/deleting functions.
MbsInfoUserIOs * mbs_new_info_user_IOs(void)
Definition: mbs_loader_public.c:1224
MbsInfoBall * mbs_new_info_ball(void)
Definition: mbs_loader_public.c:836
MbsInfoJoint * find_joint_in_joint_list(MbsInfos *mbs_infos, char *jointname)
Definition: mbs_loader_public.c:1467
void mbs_delete_info_base(MbsInfoBase *mbs_info_base)
Definition: mbs_loader_public.c:654
MbsInfoJoint * find_joint_with_parent_in_joint_list(MbsInfos *mbs_infos, char *jointname)
Definition: mbs_loader_public.c:1572
int mbs_adapt_joint_nature(MbsInfoJoint *joint_info, int verbose)
Check the symbols definition and changes the nature to locked if compatible.
Definition: mbs_loader_public.c:1634
void mbs_delete_info_extforce(MbsInfoExtforce *mbs_info_extforce)
Definition: mbs_loader_public.c:570
Description of a user model parameter loaded from the mbs file.
Definition: mbs_binder_public.h:283
MbsInfoLinks * mbs_new_info_links(void)
Definition: mbs_loader_public.c:1022
subroutine, public compute_dof(h, theta)
Compute the new value of the generalized velocity and position for all mbs.
Definition: mod_external_robotran.f90:546
Definition: mbs_load_struct.h:76
MbsInfoExtforce * mbs_new_info_extforce(void)
Definition: mbs_loader_public.c:549
MbsInfoDData * mbs_new_info_d_data(void)
Definition: mbs_loader_public.c:462
Definition: mbs_binder_public.h:388
Definition: mbs_binder_public.h:401
void mbs_delete_info_user_models(MbsInfoUserModels *mbs_info_user_models)
Definition: mbs_loader_public.c:1182
void mbs_delete_info_user_IOs(MbsInfoUserIOs *mbs_info_user_IOs)
Definition: mbs_loader_public.c:1252
subroutine, public increment(tbegin)
Increment time step and save the current configuration of all mbs.
Definition: mod_external_robotran.f90:203
Definition: mbs_binder_public.h:270
Definition: mod_external_robotran.f90:75
MbsInfoBase * mbs_new_info_base(void)
Definition: mbs_loader_public.c:639
void mbs_delete_info_body(MbsInfoBody *mbs_info_body, void *all_joints_lists)
Definition: mbs_loader_public.c:742
Definition: mod_external_robotran.f90:24
Definition: mbs_binder_public.h:409
subroutine, public get_vlocy_2d(i_mbs, i_node, vlocy, storage)
Compute and set the velocity of a node in 2D simulation.
Definition: mod_external_robotran.f90:509
void mbs_delete_info_user_IO(MbsInfoUserIO *mbs_info_user_IO)
Definition: mbs_loader_public.c:1217
subroutine, public add_reac_3d(i_mbs, i_node, reac, storage, LFTT)
Add the given node reaction contribution to the reaction of the global mbs in 3D simulation.
Definition: mod_external_robotran.f90:324
This structure contains all informations about a body.
Definition: mbs_binder_public.h:161
MbsInfoRefPoint * mbs_new_info_ref_point(void)
Definition: mbs_loader_public.c:487
Definition: mod_external_robotran.f90:31
Definition: mbs_binder_public.h:261
int mbs_info_loader(MbsLoader *mbs_loader, const char *mbs_filename, int verbose)
Read the mbs file and store all used file description.
Definition: mbs_loader_public.c:66
subroutine, public get_vlocy_3d(i_mbs, i_node, vlocy, storage, LFTT)
Compute and set the velocity of a node in 3D simulation.
Definition: mod_external_robotran.f90:466
MbsInfoJoint * find_joint_in_bodytree(MbsInfos *mbs_infos, char *jointname)
Definition: mbs_loader_public.c:1452
void * mbs_delete_info_point(MbsInfoPoint *mbs_info_point)
Definition: mbs_loader_public.c:605
Definition: mod_external_robotran.f90:1
Definition: mbs_binder_public.h:369
Definition: mbs_binder_public.h:222
Definition: mod_external_robotran.f90:159
This structure contains all information about a sensor defined on the MBS structure.
Definition: mbs_binder_public.h:63
Definition: mbs_binder_public.h:32
subroutine, public update_nodes_2d(i_mbs, coorTT, storage)
Update the kinematics of 2D nodes belonging to the specified mbs.
Definition: mod_external_robotran.f90:267
Structure handling the informations defined on the base of the MBS.
Definition: mbs_binder_public.h:122
MbsInfoPoint * mbs_new_info_point(void)
Definition: mbs_loader_public.c:578
This structure handle everything that a point on a MBS structure can handle (sensor,...
Definition: mbs_binder_public.h:104
Definition: mod_external_robotran.f90:14
void mbs_delete_info_links(MbsInfoLinks *mbs_info_links)
Definition: mbs_loader_public.c:1036
int mbs_copy_info_body(MbsInfoBody *mbs_info_body_src, MbsInfoBody *mbs_info_body_dest)
Definition: mbs_loader_public.c:1615
void mbs_delete_info_user_cstr(MbsInfoUserCstr *mbs_info_user_cstr)
Definition: mbs_loader_public.c:1271
subroutine, public compute_free_vlocy(h, theta)
Compute the free velocity of all mbs.
Definition: mod_external_robotran.f90:215
void mbs_delete_info_opti(MbsInfoOpti *mbs_info_opti)
Definition: mbs_loader_public.c:1316
MbsInfoUserModel * mbs_new_info_user_model(void)
Definition: mbs_loader_public.c:1137
MbsInfoCuts * mbs_new_info_cuts(void)
Definition: mbs_loader_public.c:939
Definition: mbs_binder_public.h:211
int mbs_info_updater(MbsInfos *mbs_infos, const char *mbs_filename)
Definition: mbs_loader_public.c:131
MbsInfoBody * find_body_in_bodytree(MbsInfos *mbs_infos, char *bodyname)
Definition: mbs_loader_public.c:1436
MbsInfoUserModels * mbs_new_info_user_models(void)
Definition: mbs_loader_public.c:1171
void mbs_delete_info_parameter(MbsInfoParameter *mbs_info_parameter)
Definition: mbs_loader_public.c:1096
JsonNode * mbs_info_configuration(MbsInfos *mbs_infos, const char *config_file, int *err)
Modify the MbsInfo contents according to the configuration file.
Definition: mbs_loader_public.c:1667
void mbs_delete_info_ball(MbsInfoBall *mbs_info_ball)
Definition: mbs_loader_public.c:851
void mbs_delete_info_user_model(MbsInfoUserModel *mbs_info_user_model)
Definition: mbs_loader_public.c:1150
Definition: mod_external_robotran.f90:60
Definition: mod_external_robotran.f90:19
subroutine, public nullify_reac(i_mbs, storage)
Reset the specified reaction to zero for the specified mbs.
Definition: mod_external_robotran.f90:294
int mbs_copy_info_joint(MbsInfoJoint *mbs_info_joint_src, MbsInfoJoint *mbs_info_joint_dest)
Definition: mbs_loader_public.c:1594
void mbs_delete_info_d_data(MbsInfoDData *mbs_info_d_data)
Definition: mbs_loader_public.c:482
MbsInfoLink * mbs_new_info_link(void)
Definition: mbs_loader_public.c:992
MbsInfos * mbs_new_infos(void)
Definition: mbs_loader_public.c:1329
MbsInfoRod * mbs_new_info_rod(void)
Definition: mbs_loader_public.c:868
Definition: mbs_binder_public.h:359
subroutine, public comp_vlocy(i_mbs, storage)
Compute the generalized velocities.
Definition: mod_external_robotran.f90:434
subroutine, public update_nodes_3d(i_mbs, coorTT, localFrameTT, storage)
Update the kinematics of 3D nodes belonging to the specified mbs.
Definition: mod_external_robotran.f90:238
MbsInfoOpti * mbs_new_info_opti(void)
Definition: mbs_loader_public.c:1295
This structure contains all information about an external force sensor defined on the MBS structure.
Definition: mbs_binder_public.h:84