Robotran C Documentation
Functions
mbs_binder_private.h File Reference
#include "mbs_load_json.h"
#include "mbs_binder_public.h"

Go to the source code of this file.

Functions

MbsInfosmbs_info_reader (const char *mbs_filename)
 Read the mbs file to retrieve size informations (number of joints...). More...
 
int mbs_info_updater (MbsInfos *mbs_infos, const char *mbs_filename)
 
MbsInfosmbs_new_infos (void)
 
void mbs_delete_infos (MbsInfos *mbs_infos)
 
MbsInfoBodyfind_body_in_bodytree (MbsInfos *mbs_infos, char *bodyname)
 
MbsInfoJointfind_joint_in_bodytree (MbsInfos *mbs_infos, char *jointname)
 
MbsInfoJointfind_joint_in_joint_list (MbsInfos *mbs_infos, char *jointname)
 
MbsInfoJointfind_joint_with_parent_in_joint_list (MbsInfos *mbs_infos, char *jointname)
 
MbsInfoDDatambs_new_info_d_data (void)
 
void mbs_delete_info_d_data (MbsInfoDData *mbs_info_d_data)
 
MbsInfoRefPointmbs_new_info_ref_point (void)
 
void * mbs_delete_info_ref_point (MbsInfoRefPoint *mbs_info_ref_point)
 
MbsInfoSensormbs_new_info_sensor (void)
 
void mbs_delete_info_sensor (MbsInfoSensor *mbs_info_sensor)
 
MbsInfoExtforcembs_new_info_extforce (void)
 
void mbs_delete_info_extforce (MbsInfoExtforce *mbs_info_extforce)
 
MbsInfoPointmbs_new_info_point (void)
 
void * mbs_delete_info_point (MbsInfoPoint *mbs_info_point)
 
MbsInfoBasembs_new_info_base (void)
 
void mbs_delete_info_base (MbsInfoBase *mbs_info_base)
 
MbsInfoJointmbs_new_info_joint (void)
 
void * mbs_delete_info_joint (MbsInfoJoint *mbs_info_joint)
 
MbsInfoBodymbs_new_info_body (void)
 
void mbs_delete_info_body (MbsInfoBody *mbs_info_body, void *all_joints_lists)
 
MbsInfoBodytreembs_new_info_bodytree (void)
 
void mbs_delete_info_bodytree (MbsInfoBodytree *mbs_info_bodytree, void *all_joints_list)
 
MbsInfoBallmbs_new_info_ball (void)
 
void mbs_delete_info_ball (MbsInfoBall *mbs_info_ball)
 
MbsInfoRodmbs_new_info_rod (void)
 
void mbs_delete_info_rod (MbsInfoRod *mbs_info_rod)
 
MbsInfoSolidmbs_new_info_solid (void)
 
void mbs_delete_info_solid (MbsInfoSolid *mbs_info_solid)
 
MbsInfoCutsmbs_new_info_cuts (void)
 
void mbs_delete_info_cuts (MbsInfoCuts *mbs_info_cuts)
 
MbsInfoLinkmbs_new_info_link (void)
 
void mbs_delete_info_link (MbsInfoLink *mbs_info_link)
 
MbsInfoLinksmbs_new_info_links (void)
 
void mbs_delete_info_links (MbsInfoLinks *mbs_info_links)
 
MbsInfoParametermbs_new_info_parameter (void)
 
void mbs_delete_info_parameter (MbsInfoParameter *mbs_info_parameter)
 
MbsInfoUserModelmbs_new_info_user_model (void)
 
void mbs_delete_info_user_model (MbsInfoUserModel *mbs_info_user_model)
 
MbsInfoUserModelsmbs_new_info_user_models (void)
 
void mbs_delete_info_user_models (MbsInfoUserModels *mbs_info_user_models)
 
MbsInfoUserIOmbs_new_info_user_IO (void)
 
void mbs_delete_info_user_IO (MbsInfoUserIO *mbs_info_user_IO)
 
MbsInfoUserIOsmbs_new_info_user_IOs (void)
 
void mbs_delete_info_user_IOs (MbsInfoUserIOs *mbs_info_user_IOs)
 
MbsInfoOptimbs_new_info_opti (void)
 
void mbs_delete_info_opti (MbsInfoOpti *mbs_info_opti)
 

Function Documentation

◆ find_body_in_bodytree()

MbsInfoBody* find_body_in_bodytree ( MbsInfos mbs_infos,
char *  bodyname 
)

◆ find_joint_in_bodytree()

MbsInfoJoint* find_joint_in_bodytree ( MbsInfos mbs_infos,
char *  jointname 
)

◆ find_joint_in_joint_list()

MbsInfoJoint* find_joint_in_joint_list ( MbsInfos mbs_infos,
char *  jointname 
)

◆ find_joint_with_parent_in_joint_list()

MbsInfoJoint* find_joint_with_parent_in_joint_list ( MbsInfos mbs_infos,
char *  jointname 
)

◆ mbs_delete_info_ball()

void mbs_delete_info_ball ( MbsInfoBall mbs_info_ball)

◆ mbs_delete_info_base()

void mbs_delete_info_base ( MbsInfoBase mbs_info_base)

◆ mbs_delete_info_body()

void mbs_delete_info_body ( MbsInfoBody mbs_info_body,
void *  all_joints_lists 
)

◆ mbs_delete_info_bodytree()

void mbs_delete_info_bodytree ( MbsInfoBodytree mbs_info_bodytree,
void *  all_joints_list 
)

◆ mbs_delete_info_cuts()

void mbs_delete_info_cuts ( MbsInfoCuts mbs_info_cuts)

◆ mbs_delete_info_d_data()

void mbs_delete_info_d_data ( MbsInfoDData mbs_info_d_data)

◆ mbs_delete_info_extforce()

void mbs_delete_info_extforce ( MbsInfoExtforce mbs_info_extforce)

◆ mbs_delete_info_joint()

void* mbs_delete_info_joint ( MbsInfoJoint mbs_info_joint)

◆ mbs_delete_info_link()

void mbs_delete_info_link ( MbsInfoLink mbs_info_link)

◆ mbs_delete_info_links()

void mbs_delete_info_links ( MbsInfoLinks mbs_info_links)

◆ mbs_delete_info_opti()

void mbs_delete_info_opti ( MbsInfoOpti mbs_info_opti)

◆ mbs_delete_info_parameter()

void mbs_delete_info_parameter ( MbsInfoParameter mbs_info_parameter)

◆ mbs_delete_info_point()

void* mbs_delete_info_point ( MbsInfoPoint mbs_info_point)

◆ mbs_delete_info_ref_point()

void* mbs_delete_info_ref_point ( MbsInfoRefPoint mbs_info_ref_point)

◆ mbs_delete_info_rod()

void mbs_delete_info_rod ( MbsInfoRod mbs_info_rod)

◆ mbs_delete_info_sensor()

void mbs_delete_info_sensor ( MbsInfoSensor mbs_info_sensor)

◆ mbs_delete_info_solid()

void mbs_delete_info_solid ( MbsInfoSolid mbs_info_solid)

◆ mbs_delete_info_user_IO()

void mbs_delete_info_user_IO ( MbsInfoUserIO mbs_info_user_IO)

◆ mbs_delete_info_user_IOs()

void mbs_delete_info_user_IOs ( MbsInfoUserIOs mbs_info_user_IOs)

◆ mbs_delete_info_user_model()

void mbs_delete_info_user_model ( MbsInfoUserModel mbs_info_user_model)

◆ mbs_delete_info_user_models()

void mbs_delete_info_user_models ( MbsInfoUserModels mbs_info_user_models)

◆ mbs_delete_infos()

void mbs_delete_infos ( MbsInfos mbs_infos)

< Pointer to a list of sensor

< Pointer to a list of external force sensor

◆ mbs_info_reader()

MbsInfos* mbs_info_reader ( const char *  mbs_filename)

Read the mbs file to retrieve size informations (number of joints...).

Parameters
mbs_filenamePath and name of the file (with extension).
Returns
An allocated MbsInfos structure or NULL ptr in case of failure.

◆ mbs_info_updater()

int mbs_info_updater ( MbsInfos mbs_infos,
const char *  mbs_filename 
)

◆ mbs_new_info_ball()

MbsInfoBall* mbs_new_info_ball ( void  )

◆ mbs_new_info_base()

MbsInfoBase* mbs_new_info_base ( void  )

◆ mbs_new_info_body()

MbsInfoBody* mbs_new_info_body ( void  )

◆ mbs_new_info_bodytree()

MbsInfoBodytree* mbs_new_info_bodytree ( void  )

◆ mbs_new_info_cuts()

MbsInfoCuts* mbs_new_info_cuts ( void  )

◆ mbs_new_info_d_data()

MbsInfoDData* mbs_new_info_d_data ( void  )

◆ mbs_new_info_extforce()

MbsInfoExtforce* mbs_new_info_extforce ( void  )

◆ mbs_new_info_joint()

MbsInfoJoint* mbs_new_info_joint ( void  )

◆ mbs_new_info_link()

MbsInfoLink* mbs_new_info_link ( void  )

◆ mbs_new_info_links()

MbsInfoLinks* mbs_new_info_links ( void  )

◆ mbs_new_info_opti()

MbsInfoOpti* mbs_new_info_opti ( void  )

◆ mbs_new_info_parameter()

MbsInfoParameter* mbs_new_info_parameter ( void  )

◆ mbs_new_info_point()

MbsInfoPoint* mbs_new_info_point ( void  )

◆ mbs_new_info_ref_point()

MbsInfoRefPoint* mbs_new_info_ref_point ( void  )

◆ mbs_new_info_rod()

MbsInfoRod* mbs_new_info_rod ( void  )

◆ mbs_new_info_sensor()

MbsInfoSensor* mbs_new_info_sensor ( void  )

◆ mbs_new_info_solid()

MbsInfoSolid* mbs_new_info_solid ( void  )

◆ mbs_new_info_user_IO()

MbsInfoUserIO* mbs_new_info_user_IO ( void  )

◆ mbs_new_info_user_IOs()

MbsInfoUserIOs* mbs_new_info_user_IOs ( void  )

◆ mbs_new_info_user_model()

MbsInfoUserModel* mbs_new_info_user_model ( void  )

◆ mbs_new_info_user_models()

MbsInfoUserModels* mbs_new_info_user_models ( void  )

◆ mbs_new_infos()

MbsInfos* mbs_new_infos ( void  )