14 #ifndef ER_CAPI_INCLUDE 15 #define ER_CAPI_INCLUDE 18 #define EXPORT_C extern "C" __declspec( dllexport ) 174 static ER_DllExport
int LoadTool(
void);
218 static ER_DllExport
int LoadAuto(
char *fln);
225 static ER_DllExport
int SaveCell(
void);
240 static ER_DllExport
int SaveCell_ext(
char *new_cel_fln=NULL,
int confirm_overwrite=1,
int reset_pos=0,
int save_pos=1);
258 static ER_DllExport
int SaveRobot_ext(
char *new_rob_fln=NULL,
int confirm_overwrite=1);
276 static ER_DllExport
int SaveRobotAsm_ext(
char *new_ras_fln=NULL,
int confirm_overwrite=1);
283 static ER_DllExport
int SaveTool(
void);
294 static ER_DllExport
int SaveTool_ext(
char *new_tol_fln=NULL,
int confirm_overwrite=1);
301 static ER_DllExport
int SavePath(
void);
312 static ER_DllExport
int SavePath_ext(
char *new_pth_fln=NULL,
int confirm_overwrite=1);
330 static ER_DllExport
int SavePathes_ext(
char *new_pth_fln=NULL,
int confirm_overwrite=1);
370 static ER_DllExport
int CreateRobotTemplate(
char *rob_path_fln,
char *rob_name,
int cad_type,
char *cad_fln,
char *cad_name,
frame *refpos,
frame *pos,
float *xyz_scale,
bool overwrite=
true);
390 static ER_DllExport
int CreateRobotTemplate_ext(
char *rob_path_fln,
char *rob_name,
int cad_type,
int n_cad_names,
char **cad_fln_names,
char **cad_names,
frame *refpos,
frame *pos,
float *xyz_scale,
bool overwrite=
true);
417 static ER_DllExport
int dialog_get_file (
char *fln,
char *dialog_title);
526 static ER_DllExport
int dialog_checkbox (
char *title,
int n,
char **ww,
int* iv,
char** ww_on=NULL,
char** ww_off=NULL);
560 static ER_DllExport
int dialog_values (
char *title,
int n,
char **ww,
float *v,
float *vmin,
float *vmax);
572 static ER_DllExport
int dialog_string (
char *title,
int n,
char **ww,
char **v,
int len);
585 static ER_DllExport
int dialog_string_single (
char *title,
char *header,
char *footer,
char *v,
int len,
int pw=0);
646 static ER_DllExport
int dialog_frame_ex (
char *title,
frame *T,
int grfupdate,
void (*callback_fct)(
void *vptr),
void *vptr);
668 static ER_DllExport
int dialog_color (
char *title,
int *color_idx);
702 static ER_DllExport
int dialog_open(
int dialog_idx,
int dlg_mode);
739 static ER_DllExport
int dialog_open_ext(
int dialog_idx,
int dlg_mode,
int param=0,
int chk_ext=-1);
745 static ER_DllExport
int moni_msg(
char *fmt, ... );
751 static ER_DllExport
void moni_T (
char *s,
frame *T);
759 static ER_DllExport
void moni_v (
char *s,
float *v,
int n,
float scal);
767 static ER_DllExport
void moni_lv (
char *s,
double *v,
int n,
float scal);
774 static ER_DllExport
void moni_i (
char *s,
int *v,
int n);
781 static ER_DllExport
void moni_s (
char *s,
short *v,
int n);
791 static ER_DllExport
void MsgBox(
char *s);
809 static ER_DllExport
int AfxMessageBox(
char *s,
unsigned int nType=MB_ICONSTOP);
819 static ER_DllExport
void _info_line (
int mode,
char *s);
827 static ER_DllExport
int _info_line_msg(
int moni,
char *fmt, ... );
838 static ER_DllExport
int _info_line_msg_i(
int moni,
char *s,
int *vi,
int n,
int scal);
849 static ER_DllExport
int _info_line_msg_v(
int moni,
char *s,
float *v,
int n,
float scal);
860 static ER_DllExport
int _info_line_msg_lv(
int moni,
char *s,
double *v,
int n,
double scal);
872 static ER_DllExport
int _info_line_msg_M(
int moni,
char *s,
float *M,
int n,
int m,
float scal=1);
884 static ER_DllExport
int _info_line_msg_lM(
int moni,
char *s,
double *M,
int n,
int m,
double scal=1);
915 static ER_DllExport
int _info_line_msg_q(
int moni,
char *s,
float *q,
int no_auto_scal=0);
939 static ER_DllExport
int PickBody(
void);
947 static ER_DllExport
int PickTag(
void);
1019 static ER_DllExport
int PickPoint(
void);
1392 static ER_DllExport
int CruiseRotView(
int pitch,
int yaw,
int roll=0);
1465 static ER_DllExport
float *
inq_CruiseStep(
int rot=0,
int reset=0);
1474 static ER_DllExport
float *
inq_TeachStep(
int rot=0,
int reset=0);
2003 static ER_DllExport
int U3DHtml_ExportAPI(
int html_flag,
char *sn = NULL,
char *sv = NULL);
2368 static ER_DllExport
int Device_ReAttach_by_name(
int new_reference_type,
char *new_reference_device_name,
int new_reference_jnt_idx,
bool keep_world_position);
2411 static ER_DllExport
int Device_ReAttach_by_idx (
int new_reference_type,
int new_reference_device_idx,
int new_reference_jnt_idx,
bool keep_world_position);
2437 static ER_DllExport
int Device_ReAttach_by_uid (
int new_reference_type,ER_UID new_reference_device_uid,
int new_reference_jnt_idx,
bool keep_world_position);
2545 static ER_DllExport
int Device_Link_by_name(
int new_reference_type,
char *new_reference_device_name=NULL,
int *new_reference_jnt_link_idx=NULL);
2553 static ER_DllExport
int Device_Sync_by_name(
int new_reference_type,
char *new_reference_device_name=NULL,
int *new_reference_jnt_link_idx=NULL);
2566 static ER_DllExport
int Device_Link_by_idx (
int new_reference_type,
int new_reference_device_idx=0,
int *new_reference_jnt_link_idx=NULL);
2574 static ER_DllExport
int Device_Sync_by_idx (
int new_reference_type,
int new_reference_device_idx=0,
int *new_reference_jnt_link_idx=NULL);
2587 static ER_DllExport
int Device_Link_by_uid (
int new_reference_type,ER_UID new_reference_device_uid=0,
int *new_reference_jnt_link_idx=NULL);
2595 static ER_DllExport
int Device_Sync_by_uid (
int new_reference_type,ER_UID new_reference_device_uid=0,
int *new_reference_jnt_link_idx=NULL);
2953 static ER_DllExport
int rob_kin_jacobian_q(
float *qn,
frame *tTw,
float *jac,
int n_dofs,
float delta_scale=1);
3313 static ER_DllExport
float *
inq_q(
int soln);
3416 static ER_DllExport
int calc_TurnValue(
float *q=NULL,
int *turn_value=NULL);
3576 static ER_DllExport
float *
inq_bdxw(
void);
3582 static ER_DllExport
float *
inq_dq(
void);
3882 static ER_DllExport
float *
inq_v_max(
void);
3887 static ER_DllExport
float *
inq_a_max(
void);
3892 static ER_DllExport
float *
inq_t_max(
void);
3897 static ER_DllExport
float *
inq_vx_max(
void);
3902 static ER_DllExport
float *
inq_ax_max(
void);
4055 static ER_DllExport
float *
inq_uc(
void);
4061 static ER_DllExport
float *
inq_uc1(
void);
4067 static ER_DllExport
float *
inq_q_dyn(
void);
4074 static ER_DllExport
float *
inq_v_dyn(
void);
4080 static ER_DllExport
float *
inq_a_dyn(
void);
4695 static ER_DllExport
int move_to_ax_api(
void *vrpd,
int line_no,
int step_no,
char *prg_line,
float *qs,
4700 float *v_linext=NULL,
4701 int *q_linext_idx=NULL
4721 static ER_DllExport
int move_to_api(
void *vrpd,
int line_no,
int step_no,
char *prg_line,
frame *via_T,
frame *Ts,
4726 float *q_linext=NULL,
4727 float *v_linext=NULL,
4728 int *q_linext_idx=NULL
4851 static ER_DllExport
int SetDlgParameter(
int ap_dlg_option,
int ap_dlg_value);
4879 static ER_DllExport
int SetPoseStart(
int nConfig,
float *pose_start);
4889 static ER_DllExport
int SetPoseEnd(
int nConfig,
float *pose_end);
4914 static ER_DllExport
int FindPath(
void);
5061 static ER_DllExport UINT *
Accuracy(
void);
5099 static ER_DllExport
int SetAxisConstraints(
int axisBit=0x3FF,
int setting=0,
float qConstraintMin=0,
float qConstraintMax=0);
5135 static ER_DllExport
int SetAxisEnable(
int axisBit,
int enable);
5152 static ER_DllExport
int SetParameter(
int ap_option,
int ap_value);
5183 static ER_DllExport
int GetResults(
int ap_result);
5376 static ER_DllExport
int SetPoseStart(
double *pose_start);
5385 static ER_DllExport
int SetPoseEnd(
double *pose_end);
5393 static ER_DllExport
int FindPath(
void);
5408 static ER_DllExport
double*
GetEndPose(
void);
5462 static ER_DllExport
int SetAccuracy(UINT accuracy);
5486 static ER_DllExport
int SetAxisEnable(
int axisBit,
int enable);
5504 static ER_DllExport
int SetParameter(
int ap_option,
int ap_value);
5555 static ER_DllExport
int GetResults(
int ap_result);
5614 static ER_DllExport
int AuxUpdate(
int idx,
int sub_idx=0);
5637 static ER_DllExport
int chk_run(
void);
5712 static ER_DllExport
int get_warning_msg(
int aux_update_idx,
char *msg);
5727 static ER_DllExport
int ChkAnimExec(
int confirm=0);
6048 static ER_DllExport
int RunProgram(
char *prgline=NULL,
int confirm=1);
6064 static ER_DllExport
int GetPrgId(
void);
6071 static ER_DllExport
int SetPrgId(
int PrgId);
6089 static ER_DllExport
int ChkErcCmd(
char *cmd);
6108 static ER_DllExport
int erc_onoff(
int erc_on_off_idx,
int enable);
6798 static ER_DllExport
int cTagClone(
int create_new=0);
6855 static ER_DllExport
void TagClone(
void);
6914 static ER_DllExport
float inq_Calc_path_length(
int path_idx,
int tag_idx_strt,
int tag_idx_end,
int ret_angle=0);
6921 static ER_DllExport
int delete_path(
int all_pths=0);
6993 static ER_DllExport
void PathClone(
int confirm=0);
7032 static ER_DllExport
int Path_ReAttach_by_name(
int path_idx,
int new_reference_type,
char *new_reference_device_name,
int new_reference_cad_grp_type=
ROBOT_GRP,
char *new_reference_cad_name=NULL,
int new_reference_jnt_idx=0,
bool keep_world_position=
false);
7059 static ER_DllExport
int Path_ReAttach_by_idx (
int path_idx,
int new_reference_type,
int new_reference_device_idx,
int new_reference_cad_grp_type=
ROBOT_GRP,
char *new_reference_cad_name=NULL,
int new_reference_jnt_idx=0,
bool keep_world_position=
false);
7086 static ER_DllExport
int Path_ReAttach_by_uid (
int path_idx,
int new_reference_type,ER_UID new_reference_device_uid,
int new_reference_cad_grp_type=
ROBOT_GRP,
char *new_reference_cad_name=NULL,
int new_reference_jnt_idx=0,
bool keep_world_position=
false);
7175 static ER_DllExport
int Unload_cCAD(
int confirm=1);
7415 static ER_DllExport
void body_update(
void *body_handle);
7462 static ER_DllExport
int body_renewing(
void *body_handle,
int cad_mem_model,
int renew_param);
7580 static ER_DllExport
int body_merge(
void *body_handle,
char *igp_fln,
int merge_attributes);
7618 static ER_DllExport
int inq_body_idx(
void *body_handle);
7688 static ER_DllExport
float *
inq_body_size(
void *body_handle);
7830 static ER_DllExport ER_UID *
inq_body_grab(
void *body_handle);
8057 static ER_DllExport
int get_body_para(
void *body_handle,
float *para,
int *num_para);
8105 static ER_DllExport
int set_body_para(
void *body_handle,
float *para);
8123 static ER_DllExport
int body_clear(
void *grp_handle,
void *body_handle);
8152 static ER_DllExport
int Create_CAD(
int cad_type,
char *body_name=0,
float *parameter=0);
8184 static ER_DllExport
int Import_CAD(
int cad_type=0,
char *fln_name=0,
char *body_name=0,
float *scale=0);
8206 static ER_DllExport
int Convert_CAD(
char *cad_file,
char *igp_file=0,
int confirm=1);
8515 static ER_DllExport
void mul_T_pos (
float *po,
FRAME *T,
float *pi);
8535 static ER_DllExport
void mul_R_pos (
float *po,
FRAME *R,
float *pi);
8678 static ER_DllExport
void rob_kin_rot (
int rotation_idx,
double q,
frame *T);
8719 static ER_DllExport
float sass(
float s1,
float beta,
float s2);
8729 static ER_DllExport
float sasa(
float s1,
float beta,
float s2);
8739 static ER_DllExport
float asss(
float beta,
float s1,
float s2);
8749 static ER_DllExport
float assa(
float beta,
float s1,
float s2);
8759 static ER_DllExport
float assa2(
float beta,
float s1,
float s2);
8769 static ER_DllExport
float sssa(
float s1,
float s2,
float s3);
8781 static ER_DllExport
float sasssa(
float s1,
float beta,
float s2,
float s3,
float s4);
8794 static ER_DllExport
float sasssa2(
float s1,
float beta,
float s2,
float s3,
float s4);
8811 static ER_DllExport
double parser_calc(
char *str,
int *error);
8819 static ER_DllExport
double rob_kin_atan2(
double y,
double x);
8833 static ER_DllExport
int circ_center_point(
float *p1,
float *p2,
float *p3,
frame *pTc,
float *radius,
float *phi,
float *dphi=NULL);
9051 static ER_DllExport
int SetWindowPos(
void* pWndInsertAfter,
int x,
int y,
int cx,
int cy, UINT nFlags);
9060 static ER_DllExport
int GetWindowPos(
int *x,
int *y,
int *cx,
int *cy);
9068 static ER_DllExport
int UnloadCell(
int confirm=1);
9076 static ER_DllExport
int UnloadRobot(
int confirm=1);
9084 static ER_DllExport
int UnloadTool(
int confirm=1);
9100 static ER_DllExport
int UnloadMimic(
int confirm=1);
9108 static ER_DllExport
int UnloadBody(
int confirm=1);
9116 static ER_DllExport
int UnloadTag(
int confirm=1);
9124 static ER_DllExport
int UnloadPath(
int confirm=1);
9175 static ER_DllExport
int ChkPrgLoaded(
int confirm=0,
int set_prg_dev=0);
9230 static ER_DllExport
int ShellExecuteOpen(
char *prg,
char *parameter=NULL,
int nShowCmd=SW_SHOWNORMAL);
9555 static ER_DllExport
int set_callback_AuxUpdate(
int callback_fct_id,
int (*callback_AuxUpdate)(
int idx,
int sub_idx));
Method class, supplies dialogs, i.e. to enter and show values.
Definition: ER_CAPI.H:398
static ER_DllExport char * inq_tool_name_idx(int ctool_idx)
Get tool name by tool idx.
static ER_CAPI_SIM er_capi_sim
Method class for simulation settings.
Definition: ER_CAPI.H:92
static ER_DllExport frame ** inq_bTpjnt_ref(void)
Reference of robot base to passive joints as move base, get from 'B' and ax_idx.
static ER_DllExport int camera_enable(int enable)
Enable camera.
static ER_DllExport char * inq_rob_tag_prefix_name_idx(int idx)
Tag_attributes, complete tag name The complete tag name is tagprefix + tagname See inq_rob_tag_prefix...
static ER_DllExport int * inq_body_show_name(void *body_handle)
Show the name of body givin by a handle Allows to dis- or enable visualizazion of body name.
static ER_DllExport float * inq_v_dyn(void)
Actual dynamics joint speed values see inq_q_dyn(), inq_model_z1(), inq_model_z2() and inq_a_dyn() = ...
static ER_DllExport int * inq_collision_chk_always()
Causes an AuxUpdate() call if set and if a workcell collision occured AuxUpdate idx = AUX_UPDATE_IDX_...
static ER_DllExport int convert_color_idx_to_rgba(int idx, float *rgba)
Convert a color idx to RGB color .
static ER_DllExport char * EasyRobVer(void)
EASY-ROB Product Version.
static ER_DllExport void inv_T(FRAME *To, FRAME *Ti)
Builds the inverse of a homogeneous 4x4 transformation matrix Ti. To = inv(Ti) = ( Ri' ,...
static ER_DllExport int PickTripplePlaneIntersectionCornerMeasure(int hold_first_two_planes)
Enables the user to measure the intersection corner of three planes by picking 3 planes or poly cente...
static ER_DllExport void mul_invT_invT(FRAME *To, FRAME *Ti1, FRAME *Ti2)
Multiplication of two homogeneous 4x4 transformation matrices. To = inv(Ti1) * inv(Ti2) Remarks inv(...
static ER_DllExport int * inq_device_link_ref_sys_type(void)
Linkage reference type of the current device The linkage reference type can be one of the following v...
static ER_DllExport int * inq_Get_c_path_owner_select()
Get current path owner selection flag.
static ER_DllExport double * inq_sing_tol(void)
Singularity tolerance for each axis [m,rad].
static ER_DllExport int * inq_fwd_kin_reason(void)
Reason for calculation the forward kinematics, return FWD_REASON_UNKNOWN ... FWD_REASON_CAD_EXPORT.
static ER_DllExport char * inq_Get_device_name_by_idx(int idx)
Get device name by device idx [1..n_devices] if idx is not valid, NULL is returned.
static ER_DllExport float * inq_ipo_path_ax_ori(void)
Programmed orientation acceleration in [deg/s^2].
static ER_DllExport int * inq_tool_render(void)
Render of cRobots Tool.
static ER_DllExport int CreateRobotTemplate_ext(char *rob_path_fln, char *rob_name, int cad_type, int n_cad_names, char **cad_fln_names, char **cad_names, frame *refpos, frame *pos, float *xyz_scale, bool overwrite=true)
Creates a robot template file with multiple geometries. The geometry can be parameterized by cad_type...
static ER_DllExport double * GetWayPoint(int idx)
Get way point.
static ER_DllExport float * inq_uc1(void)
Controller signal last sampling step see inq_uc()
static ER_DllExport float * inq_ax_max(void)
Max. cart. acceleration [m/s^2].
static ER_DllExport int PickDoublePlaneIntersectionLineMeasure(int hold_first_plane)
Enables the user to measure the intersection line of two planes by picking 2 planes or poly center....
static ER_DllExport float * inq_rob_tag_lag_time_idx(int idx)
tag_attributes, wait time when targte reached, 0-def [s]
Method class for the CAD-Preview.
Definition: ER_CAPI.H:8909
static ER_DllExport int * inq_track_color(void)
Tcp trace color.
static ER_DllExport float * inq_ipo_data_lead_time(void)
Time before the motion starts [s] for cRobot.
static ER_DllExport int ChkBodysCellLoaded(int confirm=0)
Check if Bodies are loaded If paramter confirm is set to 1, the user will be prompted to confirm upco...
static ER_DllExport int set_body_group_type(int grp_type)
Set group type for internal temporary geometry template Parameter grp_type is one of ROBOT_GRP,...
static ER_DllExport frame * inq_single_cmd_base(void)
Base transformation to shift the target location Has efffect when running an ERPL motion command such...
Method class for monitoring of travel ranges, speeds, etc.
Definition: ER_CAPI.H:5630
static ER_DllExport ER_UID * inq_device_link_ref_sys_grp_uid(void)
Linkage Unique ID of the reference device current device The Unique ID depends on the linkage referen...
static ER_DllExport int SetAxisEnable(int axisBit, int enable)
Set axis enable Parameter enable is 1 for enable or 0 for disable.
static ER_DllExport char * inq_device_sync_ref_sys_type_name(void)
Obsolete, use inq_device_link_ref_sys_type_name()
static ER_DllExport int Device_Sync_by_idx(int new_reference_type, int new_reference_device_idx=0, int *new_reference_jnt_link_idx=NULL)
Obsolete, use Device_Link_by_idx()
static ER_DllExport int zoom_cTag(int zoom_flag=ZOOM_FLAG_DEFAULT)
Zoom cTag to the center of the 3D Scene zoom_flag is a bitwise inclusive OR operator (|) of ZOOM_FLAG...
static ER_DllExport int * inq_ipo_path_path_motion_idx(void)
Path motion idx when interpolating to a target tag.
static ER_DllExport frame * inq_single_cmd_via_T(void)
Via Point location for circular motion Has efffect when running an ERPL motion command such as CIRC w...
static ER_DllExport float * inq_body_size(void *body_handle)
XYZ size vector of body givin by a handle The size vector values are a result of the original geometr...
static ER_DllExport int inq_config(void)
Return current robot configuration within [0..KIN_CONFIGS-1], see also inq_num_configs()
static ER_DllExport int moni_msg(char *fmt,...)
Output into the message file moni_msg.txt.
static ER_DllExport char * inq_UserDll_dll_name(int userdll_idx)
Access dll name for API UserDlls The number of currently loaded UserDll can be retrieved with inq_Use...
static ER_DllExport int Device_ReAttach_by_name(int new_reference_type, char *new_reference_device_name, int new_reference_jnt_idx, bool keep_world_position)
Attaches the current device to another device Attaches the current device to another device,...
static ER_DllExport double * GetConfigurationPose(void)
current configuration pose during FindPath Process return pointer, size nConfig
static ER_DllExport int * inq_ipo_path_turn(void)
Turn values for each joint takes effect when calculating the target joint based on inverse kinematics...
static ER_DllExport int SetAxisConstraints(int axisBit=0x3FF, int setting=0, float qConstraintMin=0, float qConstraintMax=0)
Set axis constraints Parameter setting is a bitwise inclusive OR operator (|) of AUTOPATH_CONSTRAINT_...
static ER_DllExport int Device_Link_by_name(int new_reference_type, char *new_reference_device_name=NULL, int *new_reference_jnt_link_idx=NULL)
Link current device to another device by name new_reference_type one of REF_NO_REF=0 or REF_JNT=9 ne...
static ER_DllExport int SetParameter(int ap_option, int ap_value)
Set Autopath calculation parameter Parameter ap_option is one of AUTOPATH_PARAMETER_DYNADJUST,...
static ER_DllExport char * inq_rob_tag_prefix_idx(int idx)
Tag_attributes, get tag prefix The complete tag name is tagprefix + tagname See inq_rob_tag_name_idx(...
static ER_DllExport void ** inq_dyn_cntrl_usr_ptr(void)
Access user pointer for dynamics controller in er_dyn.dll This allows the user to allocate individual...
static ER_DllExport int * inq_speed_chk_always()
Causes an AuxUpdate() call if set and if joint speeds are exceeded AuxUpdate idx = AUX_UPDATE_IDX_SPE...
static ER_DllExport float sssa(float s1, float s2, float s3)
Triangle calculation, calculates angle opposite of s1 Remarks See EASY-ROB-ERPL-eng....
static ER_DllExport int body_clear(void *grp_handle, void *body_handle)
Unload a body.
static ER_DllExport int * inq_rob_track_vis_attrib(void)
Tcp trace attributes visibility for cRobot.
static ER_DllExport float * inq_ipo_path_aq_ov(void)
programmed Joint acceleration override [%]
static ER_DllExport float * inq_body_obj_color_rgba(void *obj_handle_attributes)
RGBA Color of an object.
static ER_DllExport double * GetAxisConstraintsMin(void)
Get minimum axis constraints return pointer, size nConfig.
Method class for importing existing 3D geometries (IGP, STL, 3DS)
Definition: ER_CAPI.H:8161
static ER_DllExport void moni_s(char *s, short *v, int n)
Vector output into the message file moni_msg.txt.
static ER_DllExport int * inq_num_kin_user_data(void)
Number of Sets of Kin User Data See also inq_kin_user_data_name(), inq_kin_user_data()
static ER_DllExport frame * inq_bTmb(void)
Robot base to moveable base frame.
static ER_DllExport int set_callback_ProglineUpdate(int callback_fct_id, int(*callback_ProglineUpdate)(char *progline))
Defines callback fct pointer array for ProglineUpdate Parameter callback_fct_id is zero based in [0....
static ER_DllExport float * inq_ipo_path_vx_ori_ov_set(float ov)
Calc. vx_ori as percentage value of inq_vx_ori_max(), return inq_ipo_path_vx_ori()
static ER_DllExport int get_body_para(void *body_handle, float *para, int *num_para)
Body parameter The content of the parameter vector para depends of the "cad_type",...
static ER_DllExport int SetPoseStart(double *pose_start)
Set start configuration Remarks This pose must be valid - collision free, based on callback function...
static ER_DllExport int inq_body_n_obj(void *body_handle)
Number of object within body givin by a handle A body contains a number of objects Each object consis...
static ER_DllExport int GetWindowPos(int *x, int *y, int *cx, int *cy)
Get the position and size of EASY-ROB's OpenGL window.
Method class for converting external neutral and native CAD formats (STEP, IGES, JT-Open,...
Definition: ER_CAPI.H:8195
static ER_DllExport char * inq_rob_kin_controller_name(void)
Returns the Controller name for the cRobot.
static ER_DllExport frame * inq_bTw_dyn(void)
Actual Transformation from Robot base to Tcp, depending on actual joint data.
static ER_CAPI_USER_IO_3DPDF er_capi_user_io_3dpdf
Method class for 3D Pdf Export.
Definition: ER_CAPI.H:135
static ER_DllExport float * inq_cntrl_step(void)
Sample rate position controller for cRobot [s].
static ER_DllExport void moni_v(char *s, float *v, int n, float scal)
Vector output into the message file moni_msg.txt.
static ER_DllExport frame * inq_body_ref_off_pos(void *body_handle)
Return resulted position T_ref_off of a body givin by a handle Parameter body_handle must be valid an...
static ER_DllExport int UnloadTag(int confirm=1)
Unload current Tag If paramter confirm is set to 1, the user will be prompted to confirm this operati...
static ER_DllExport int inq_errorflg(void)
Parser error flag Remarks call this function after calling parser_calc()
static ER_DllExport frame * inq_iTb(void)
Attach position (reference position) to robot base If the robot is not attached, the attach position ...
Method class for access to geometry parameter: Location, polygons, vertices, attributes,...
Definition: ER_CAPI.H:7190
static ER_DllExport int * inq_rob_tag_confdata_idx(int idx)
Tag_attributes, robot configuration, 0-def.
static ER_DllExport int CruiseAuto(void)
Set Cruise mode to Auto.
static ER_DllExport float * inq_rob_tag_speed_ptp_ax_ov_idx(int idx)
tag_attributes, ptp_ax override speed 0-def [0-200%]
static ER_DllExport int * inq_kin_id(void)
Kinematics ID.
static ER_DllExport char * inq_kin_user_data_file(void)
Kinematics data file for user kinematics.
static ER_DllExport float * inq_ipo_prep_strt_q(void)
Robot joint data at start location.
static ER_DllExport int body_renewing(void *body_handle, int cad_mem_model, int renew_param)
Renews a body after modifying its vertices xyz values via API Parameter body_handle must be valid and...
static ER_DllExport void inv_R(FRAME *Ro, FRAME *Ri)
Builds the inverse of the 3x3 orientation matrix from a homogeneous 4x4 transformation matrix T....
static ER_DllExport int LoadCamera(void)
Opens Dialog to load a .cam Camera file.
static ER_DllExport int U3DPdf_ExportAPI_SetCallbackProgressExportU3DScene(void(*ptr_ProgressFctExportU3DScene)(double))
Defines a callback function for ExportU3DScene progress messages when saving the 3D PDF file Paramete...
Denavit Hartenberg Parameter T = Rot(z,theta)*Trans(z,d)*Trans(x,a)*Rot(x,alfa)
static ER_DllExport void mul_invT_T_invT(FRAME *To, FRAME *Ti1, FRAME *Ti2, FRAME *Ti3)
Tripple multiplication of homogeneous 4x4 transformation matrices. To = inv(Ti1) * Ti2 * inv(Ti3) Rem...
static ER_DllExport int Get_cPickedItem(void)
Returns picked item MP_HIT_INVALID ... MP_HIT_CADPREVIEW The picked item can be one of the following ...
static ER_DllExport void mul_invT_invT_invT(FRAME *To, FRAME *Ti1, FRAME *Ti2, FRAME *Ti3)
Tripple multiplication of homogeneous 4x4 transformation matrices. To = inv(Ti1) * inv(Ti2) * inv(Ti3...
static ER_DllExport int rob_kin_vortrans_q(float *qn, frame *bTt, frame *mbTt, int n_dofs)
Calling forward kinematics The forward kinematics calculates, depending on joint location q ,...
static ER_DllExport int ChkPrgMimicLoaded(int confirm=0)
Check if a robot Mimic file is loaded If paramter confirm is set to 1, the user will be prompted to c...
static ER_DllExport float * inq_sim_step(void)
Sample rate simulation step size [s].
static ER_DllExport void mul_T_T(FRAME *To, FRAME *Ti1, FRAME *Ti2)
Multiplication of two homogeneous 4x4 transformation matrices. To = Ti1 * Ti2 A frame FRAME is a homo...
static ER_DllExport float * inq_q_solut_passive(void)
Desired passive joint axis values.
static ER_DllExport float * inq_single_cmd_unit_scal_rot(void)
Defines units and scaling for rotational values Has efffect for all ERPL command using values ERPL co...
static ER_DllExport float * inq_single_cmd_unit_scal_trans(void)
Defines units and scaling for translational values Has efffect for all ERPL command using values ERPL...
static ER_DllExport frame * inq_wTwo_strt(void)
Start condition, Tool Offset frame: Robot Tcp' to TCP.
static ER_DllExport char * inq_Get_device_name_by_uid(ER_UID uid)
Get device name by device unique id if uid is not valid, NULL is returned.
static ER_DllExport int * inq_body_obj_lines(void *obj_handle, int idx)
Line segment indexes of an object Use er_cad_io.inq_body_obj_n_line() to get the number of lines of a...
static ER_DllExport int * inq_dialogs_warning_enable(void)
Suppresses the appearance of warning dialogs, if unset (0) Remarks Per default appearance is enabled...
static ER_DllExport char * inq_path_ref_sys_name(void)
Reference name of the cPath where the path is attached to The reference name (name of attach location...
static ER_DllExport int dialog_string(char *title, int n, char **ww, char **v, int len)
Opens dialog to enter strings This Dialog allows to enter the string v for several items in the strin...
static ER_DllExport float * inq_ipo_path_vq_ov(void)
programmed Joint speed override [%]
static ER_DllExport IPO_MODE * inq_ipo_data_ipo_mode(void)
Current interpolation mode The interpolation mode is one of JOINT=0 Motion type Synchro PTP CP=1 Moti...
static ER_DllExport float * GetStartPose(void)
Get current robot joint location start pose Remarks This pose must be set before,...
static ER_DllExport int Path_ReAttach_by_uid(int path_idx, int new_reference_type, ER_UID new_reference_device_uid, int new_reference_cad_grp_type=ROBOT_GRP, char *new_reference_cad_name=NULL, int new_reference_jnt_idx=0, bool keep_world_position=false)
Reattach a path to a device, givin by device unique ID Attaches the path given by path_idx to a devic...
static ER_DllExport float assa(float beta, float s1, float s2)
Triangle calculation, calculates angle between s1 and s2 Remarks See EASY-ROB-ERPL-eng....
static ER_CAPI_MOP er_capi_mop
Method class for trajectory planning and -execution.
Definition: ER_CAPI.H:2179
static ER_DllExport int Device_ReAttach_by_idx(int new_reference_type, int new_reference_device_idx, int new_reference_jnt_idx, bool keep_world_position)
Attaches the current device to another device Attaches the current device to another device,...
static ER_DllExport int AutoPathTerminate(AutoPath_SDK_ConfigurationSpace *apcs)
Terminate AutoPath call AutoPathFreeMem() first, see example AutoPathInit()
static ER_DllExport int SetParameter(int ap_option, int ap_value)
Set parameter Paramter ap_option is one of AUTOPATH_PARAMETER_DYNADJUST AUTOPATH_PARAMETER_ALGORITHM...
static ER_DllExport float * inq_model_z1(void)
Actual joint speed one sampling step before see inq_v_dyn(), inq_model_z2()
static ER_DllExport float * inq_rob_tag_speed_ori_ov_idx(int idx)
Tag_attributes, ori override speed, 0-def [0-200%].
static ER_DllExport float * inq_cntrl_aux3(void)
3rd Auxiliary controller parameter
static ER_CAPI_SYS_VIEW er_capi_sys_view
Method class for graphical update of the 3D scene, refreshing dialogs, etc.
Definition: ER_CAPI.H:8261
static ER_DllExport int inq_Set_device_name(char *device_name)
Sets current device by name of the robot Remarks A device name must be unique.
static ER_DllExport float inq_Calc_path_length(int path_idx, int tag_idx_strt, int tag_idx_end, int ret_angle=0)
Calculates the length of a path.
static ER_DllExport frame * inq_mbTt(void)
Moveable base to Tip.
static ER_DllExport float * inq_rob_tag_accel_cp_idx(int idx)
Tag_attributes, cp acceleration, 0-def, [m/s^2].
static ER_DllExport void mul_T_pos(float *po, FRAME *T, float *pi)
Multiplication of a 3x1 position with a homogeneous 4x4 transformation matrices. po = T * pi,...
static ER_DllExport int * inq_path_ref_sys_jnt_idx(void)
Reference joint idx of the cPath, if the reference type is REF_JNT The index of reference joint is re...
static ER_CAPI_USER_IO_FILE er_capi_user_io_file
Method class to load and save work cells-, robots-, tool-files, etc.
Definition: ER_CAPI.H:119
static ER_DllExport float * inq_coll_min_distance_pc(void)
Collision point 'pc' w.r.t. world.
static ER_DllExport int * inq_red_blue_collision(void)
Enables, disables red/blue collision.
static ER_DllExport float * inq_ipo_path_vxs_ori(void)
Orientation start speed in [deg/s].
static ER_CAPI_MOP_AUTOPATH_SDK er_capi_mop_autopath_sdk
Method class for collision free motion planning.
Definition: ER_CAPI.H:4158
static ER_DllExport int * inq_body_mark_selected(void *body_handle)
Enable/disable mark a body givin by a handle.
static ER_DllExport void chk_collision_export(void)
Enables and initializes collision check if disabled.
static ER_DllExport float * inq_dq(void)
Joint error see also inq_bdxw()
static ER_DllExport int * inq_robot_render(void)
Render of cRobot.
static ER_DllExport int copy_current_tag_data(void)
Copies cTag to tag_copy and to show tag 'c_tag' This method copies all cTag data to the "copyTag" The...
static ER_DllExport int swap_TagUp(void)
Swaps Tag pointer with the prev Tag.
static ER_CAPI_MOP_PREP er_capi_mop_prep
Method class for trajectory planning (preparation)
Definition: ER_CAPI.H:4146
static ER_DllExport int * inq_body_color_idx(void *body_handle)
Color idx of body givin by a handle The color idx is a positive value see set_body_rgba_color()
static ER_DllExport int inq_body_n_poly_total(void *body_handle)
Number of total polygons within body givin by a handle A body contains a number of objects....
static ER_DllExport char * inq_robot_name(void)
Name of cRobot.
static ER_DllExport void mul_invT_T(FRAME *To, FRAME *Ti1, FRAME *Ti2)
Multiplication of two homogeneous 4x4 transformation matrices. To = inv(Ti1) * Ti2 Remarks inv(T) is...
#define EXPORT_C
Definition: ER_CAPI.H:18
static ER_DllExport int LoadMimic(void)
Opens Dialog to load a .mmc Mimic file.
static ER_DllExport frame * inq_fTb(void)
Floor to robot base This frame describes the position of the robot base in relation to the floor or b...
static ER_DllExport void ** inq_kin_usr_ptr(void)
Access user pointer for user kinematics in er_kin.dll This allows the user to allocate individual mem...
Method class for manipulation of tags and access tag attributes.
Definition: ER_CAPI.H:6332
static ER_DllExport int data_update_all_devices(void)
Forces mathematical update for all devices, use before calling chk_limits(::AUX_UPDATE_IDX_COLLISION)...
static ER_DllExport int * inq_body_obj_ptrcolor(void *obj_handle_attributes)
Color pointer Idx of an object see inq_body_obj_attributes_handle() to retrieve the object attribute ...
static ER_DllExport float * inq_a_max(void)
Max. joint or axis acceleration [rad/s^2,m/s^2].
static ER_DllExport frame * inq_ipo_prep_ie_Ts_sync(void)
EasyEdit cTcp location w.r.t. Conveyor position.
static ER_DllExport float * inq_ipo_path_aqe(void)
Programmed Joint end acceleration in [deg/s^2], obsolete use inq_ipo_path_aq_decel_axis()
static ER_DllExport int rob_kin_jacobian_q(float *qn, frame *tTw, float *jac, int n_dofs, float delta_scale=1)
Calculation of Jacobian matrix This method calculates, depending on robots joint location q ,...
static ER_DllExport char * inq_kin_direction_activ(void)
'X'-,'Y'- or 'Z'- direction for active joints Remarks For a six axis robot the direction string coul...
static ER_DllExport int inq_rob_tag_color_set_idx(int idx, int color)
tag_attributes, set color of tag
static ER_DllExport char * AutoPathVer(void)
AutoPath Version.
Definition: ER_CAPI_TYPES.H:118
static ER_DllExport frame * inq_ipo_prep_strt_T(void)
Start TCP location.
Definition: ER_CAPI_TYPES.H:637
static ER_DllExport float * inq_model_theta_base(void)
symplified inertia
static ER_DllExport char * U3DPdf_ExportVer(void)
3D Export Version
static ER_DllExport int * inq_collision(void)
Enables, disables collision.
static ER_DllExport int AutoPathSetMem(AutoPath_SDK_ConfigurationSpace *apcs)
allocate memory for AutoPath_SDK_ConfigurationSpace data depending on nConfig see example AutoPathIni...
static ER_DllExport int PickDistancePoint(int hold_first_point=0)
Enables the user to measure the Distance between Points/Vertices. Parameter hold_first_point can be o...
static ER_DllExport int NewTagOnFrame_update(frame *T, int update_mode)
Creates a new Tag in current path at location of frame 'T' Parameter is a bitwise inclusive OR operat...
static ER_DllExport int UnloadMimic(int confirm=1)
Unload current robot Mimic file If paramter confirm is set to 1, the user will be prompted to confirm...
static ER_DllExport int AutoPathInit(AutoPath_SDK_ConfigurationSpace *apcs)
Initialize AutoPath Call this functions to setup the autopath configuration space Parameter apcs defi...
static ER_DllExport frame * GetRotView(int rot_view_type)
Return the rotation "View" transformation based on rot_view_type Parameter rot_view_type is one of ...
static ER_DllExport int * inq_track_ref_sys_type(void)
Reference type of the tcp trace The reference type (attach location) can be one of the following valu...
static ER_DllExport int zoom_cTcp(int zoom_flag=ZOOM_FLAG_DEFAULT)
Zoom cTcp (current robot tcp) to the center of the 3D Scene zoom_flag is a bitwise inclusive OR opera...
static ER_DllExport ER_UID * inq_path_ref_sys_grp_uid(void)
Unique ID of reference device/robot where the path is attached to The Unique ID depends on the attach...
static ER_DllExport float * Get_cPickResults(int result_idx)
Returns the picking result The result_idx can be one of the following values. PICK_RESULT_DEFAULT sam...
static ER_DllExport int move_to_ax_api(void *vrpd, int line_no, int step_no, char *prg_line, float *qs, int extax_mode=EXTAX_MODE_OFF, float *v_linext=NULL, int *q_linext_idx=NULL)
Moves to joint target data qs.
static ER_DllExport char * inq_body_coll_exl_list_mix(void *body_handle)
Collision exclude list of mixed group used for robot itself collision The string contains indices of ...
static ER_DllExport float * inq_turn_offset(void)
Range shift, default=0 for each axis // Index for Turn Range, default=0.
static ER_DllExport float * inq_sim_time(void)
Global simulation time [s].
static ER_DllExport char * AutoPathVer(void)
AutoPath Version.
static ER_DllExport char * inq_kin_chain_type_activ(void)
'C' in kin chain (default); '_' NOT in kin. chain; '-' separated and NOT in kin.chain Remarks For a ...
Method class for executing ERPL- and ERCL commands.
Definition: ER_CAPI.H:6030
static ER_DllExport int * inq_dialogs_error_enable(void)
Suppresses the appearance of error dialogs, if unset (0) Remarks Per default appearance is enabled.
static ER_DllExport int * inq_move_base(void)
Moveable base mode Used for special kinematics such as a CMM with a moving table as joint 1.
static ER_DllExport char * inq_body_name(void *body_handle)
Return name of a body givin by a handle Parameter body_handle must be valid and not 0 .
static ER_DllExport int * inq_rob_tag_circ_ori_mode_idx(int idx)
tag_attributes, orientation interpolation mode for CIRC motion type default is 5 - CIRC_QUATERNION
static ER_DllExport char * sys_user_unit()
Unit string defined in the environment file easy-rob.env, i.e. [mm].
static ER_DllExport float * inq_body_collision_tolerance(void *body_handle)
Collision tolerance value of body givin by a handle The collision tolerance in [mm] defines a 'skin' ...
static ER_DllExport void body_update(void *body_handle)
Update a body givin by a handle Parameter body_handle must be valid and not 0 Remarks This method mu...
static ER_DllExport int LoadAuto(char *fln)
Loads a file depending on file extension.
static ER_DllExport frame * inq_bTw(void)
Robot Base to TCP.
static ER_DllExport int Create_CAD(int cad_type, char *body_name=0, float *parameter=0)
Creates primitive CADs, such as CUBE, PYRAMID, ... Parameter cad_type for a primitive CAD geometry i...
static ER_DllExport int * inq_single_cmd_via_point_idx(void)
Indicates that a Via Point location is available when running a CIRC command Has efffect when running...
static ER_DllExport float * inq_rob_tag_speed_ori_idx(int idx)
Tag_attributes, ori speed, 0-def, [rad/s].
static ER_DllExport int SavePathes(void)
Opens a dialog to save a .tag File containing all pathes.
static ER_DllExport int camera_focus(float focus)
Set camera focus.
static ER_DllExport float * inq_ergl_material_light(int ergl_param=ERGL_UNDEF, int ergl_mode=ERGL_MODE_INQ)
Request OpenGL material or light attributes Remarks Parameter ergl_param defines the requested value...
static ER_DllExport int * inq_rob_track_vis(void)
Tcp trace visibility for cRobot.
static ER_DllExport int * inq_body_show_edges(void *body_handle)
Show body edges Allows to dis- or enable visualizazion of body edges.
static ER_DllExport int PickSnapToolTo(int SnapToMode=0)
Enables the user to snap a Tool to a polygon or a vertex. Parameter SnapToMode can be one of the foll...
static ER_DllExport float * inq_body_scale(void *body_handle)
XYZ scaling vector of body givin by a handle The scaling vector has positive values >0 and scales the...
static ER_DllExport char * inq_path_ref_sys_type_name(void)
The name of reference type where the path is attached to The reference type name (name of attach loca...
static ER_DllExport float * inq_rob_tag_speed_cp_ov_idx(int idx)
Tag_attributes, cp override speed, 0-def [0-200%].
static ER_DllExport int * inq_body_obj_n_point(void *obj_handle)
Number of points within an object.
static ER_DllExport int SaveRobot(void)
Opens a dialog to save a .rob Robot file.
static ER_DllExport frame * inq_kin_achs_T0_passiv(int passiv_jnt_no)
Homogeneous-Transformation to previous joint for each passive joint "Geometric Data from last".
Method class kinematics and transformations.
Definition: ER_CAPI.H:2604
static ER_DllExport frame * inq_pjntTmb(void)
Transformation from passive joint to moveable base frame.
Method class for helping functions, color conversion, etc.
Definition: ER_CAPI.H:8289
static ER_DllExport float * inq_rob_tag_accel_ptp_ax_ov_idx(int idx)
tag_attributes, ptp_ax override accel 0-def [0-200%]
static ER_DllExport void rob_kin_rot(int rotation_idx, double q, frame *T)
Set orientation of homogeneous 4x4 transformation matrix. T = f(q,rotation_idx) The rotation index ro...
const int START_CONDITION_RESET_ALL_ROBOTS
Start Condition Reset for all Robots + Environment.
Definition: ER_CAPI_TYPES.H:610
static ER_DllExport int inq_Get_n_tags()
Get number of tags in current path.
static ER_CAPI_ROB_ATRIBUTES er_capi_rob_attributes
Method class for robot/device attributes, travel ranges, home position, device name,...
Definition: ER_CAPI.H:2614
static ER_DllExport int * inq_kin_attach_dof_passiv(void)
Index of aJnt, where pJnt is attached to If 0, the passive joint is attached to the robot base.
static ER_DllExport int * inq_move_base_jnt(void)
Passive joint idx representing the moveable base.
static ER_CAPI_SYS er_capi_sys
Method class for mathematical calculations, simulation status, units.
Definition: ER_CAPI.H:104
static ER_DllExport int _info_line_msg_q(int moni, char *s, float *q, int no_auto_scal=0)
Vector output into Message Window, for each joint of current robot, scaled by DEG or m2mm If paramete...
static ER_DllExport float sasa(float s1, float beta, float s2)
Triangle calculation, calculates the angle at side s2 Remarks See EASY-ROB-ERPL-eng....
static ER_DllExport int ChkAnimExec(int confirm=0)
Check if animation is running.
static ER_DllExport int AbortRunProgram(void)
Abort running simulation.
static ER_DllExport int rob_kin_q_in_travel_range(float *q)
Transforms all revolute joints into valid travel range.
static ER_DllExport int dialog_get_file(char *fln, char *dialog_title)
Opens a dialog, for selecting an existing file.
Method class for creating primitive geometries such as cubes, cylinder, spheres, etc.
Definition: ER_CAPI.H:8132
static ER_CAPI_SYS_MATHEMATICS er_capi_sys_mathematics
Method class for mathematical calculations, multiplications of homogeneous matrices,...
Definition: ER_CAPI.H:8257
static ER_CAPI_ROB_DYN er_capi_rob_dyn
Method class for dynamics, controller parameter, sampling rates.
Definition: ER_CAPI.H:2618
static ER_DllExport int dialog_values(char *title, int n, char **ww, float *v, float *vmin, float *vmax)
Opens a Enter Value dialog This Dialog allows to enter the values for several items in the string arr...
static ER_DllExport float * inq_rob_tag_acc_set_acc_idx(int idx)
Tag_attributes, AccSet Acc, 100-def [20-100%] Set AccSet Acc to 20% for smooth acceleration Set AccSe...
static ER_DllExport int calc_TurnValue(float *q=NULL, int *turn_value=NULL)
Calculates turn value depending on robot joints q The turn_value depends on current robot joints and...
static ER_DllExport float * GetConfigurationPose(void)
Get current configuration pose Remarks Access the current configuration pose before checking the con...
Method class to load and save work cells-, robots-, tool-files, etc.
Definition: ER_CAPI.H:144
static ER_DllExport double * inq_sing_tolx(void)
translational singularity tolerance [m]
static ER_CAPI_SIM_ERPL er_capi_sim_erpl
ethod class for executing ERPL- and ERCL commands
Definition: ER_CAPI.H:5582
static ER_DllExport float * inq_ipo_data_old_q(void)
Joint data at last interpolation step.
static ER_DllExport float * sys_unit_to_m()
Scaling value to convert the user defined unit defined in the environment file easy-rob....
static ER_DllExport char * EasyRobProduct(void)
EASY-ROB Product.
static ER_DllExport int Device_Sync_by_name(int new_reference_type, char *new_reference_device_name=NULL, int *new_reference_jnt_link_idx=NULL)
Obsolete, use Device_Link_by_name()
static ER_DllExport char * inq_Get_c_tag_name()
Get current tag name = prefix + postfix.
static ER_DllExport float * inq_Get_c_path_angle_len()
Get angle length of complete path for current selected path.
static ER_DllExport char * inq_joint_passive_name_idx(int cjoint_idx)
Name of passive joint with cjoint_idx = [0..KIN_PASSIV_JNTS-1].
static ER_DllExport int * inq_rob_track_dyn_vis(void)
Dynamics Tcp trace visibility.
static ER_DllExport int * inq_ipo_data_ipo_step_loop(void)
Trajectory Execution is called sim_step or at ipo_step rate The sim_step rate is normally lower than ...
static ER_DllExport ER_UID * inq_body_grab(void *body_handle)
Grab status of body givin by a handle Obsolete: Only if the body belongs to BODY_GRP,...
static ER_DllExport int * inq_body_poly_invert(void *body_handle)
Polygon invert flag of body givin by a handle If the polygon invert flag is set, all polygons of body...
static ER_DllExport frame * inq_ipo_prep_inter_T(void)
Intermediate Location (ViaPoint) for circular motion.
static ER_CAPI_CAD_CONVERT er_capi_cad_convert
Method class for converting external neutral and native CAD formats (STEP, IGES, JT-Open,...
Definition: ER_CAPI.H:7167
static ER_DllExport int * inq_ipo_prep_n_dof(void)
Dof of robot.
static ER_DllExport int zoom_World(int zoom_flag=ZOOM_FLAG_DEFAULT)
Zoom complete 3D Scene zoom_flag is a bitwise inclusive OR operator (|) of ZOOM_FLAG_FIT_ROT_VIEW,...
static ER_DllExport float * inq_CruiseStep(int rot=0, int reset=0)
Modifies the Cruise step sensitivity while cruise, pan or zoom the 3D Scene with the mouse rot = 0 - ...
static ER_DllExport int * inq_robot_enabled(void)
Dis- or enable current robot.
static ER_DllExport int CruiseRotView(int pitch, int yaw, int roll=0)
Cruise 3D Scene about COI by pitch - lateral axis yaw - vertical axis, roll - longitudinal axis.
static ER_DllExport float * inq_coll_min_distance_xyz(void)
xyz component for shortest w.r.t. world coorsys
static ER_CAPI_USER_IO_CRUISE er_capi_user_io_cruise
Method class to manipulate the 3D Scene.
Definition: ER_CAPI.H:131
static ER_DllExport int chk_collision_devices_name(char *dev_name_1, char *dev_name_2)
Check for collision between two devices If dev_name_1 or dev_name_1 are not valid,...
static ER_DllExport char * inq_homepos_name(void)
Name of current homeposition.
static ER_DllExport int * inq_robot_ref_collision(void)
0-def, collision chk vs. reference device
static ER_DllExport int * inq_body_obj_polys(void *obj_handle, int idx)
Polygon indexes of an object Use er_cad_io.inq_body_obj_n_poly() to get the number of polygons of an ...
static ER_DllExport ER_UID inq_Get_device_uid_by_name(char *device_name)
Get device unique uid by device name if 'device name' is not valid, -1 is returned.
static ER_DllExport float * inq_ipo_path_aq_axis(void)
Programmed Joint acceleration for each axis [m/s^2],[deg/s^2] Remarks Get the number of active joint...
static ER_DllExport float * inq_ipo_path_vx(void)
Programmed cart. speed in [m/s].
static ER_DllExport int _info_line_msg_T_vec(int moni, char *s, frame *T)
Frame output into Message Window as Vector Pxyz, Rxyz If parameter moni is 1, the output is appended ...
static ER_DllExport float * inq_cntrl_kpv(void)
PV Factor for PPI Cascade Controller.
static ER_DllExport int inq_Get_n_devices(void)
Get number of current loaded robots in a workcell.
static ER_DllExport int dialog_yes_no(char *title)
Opens a Yes/No dialog.
static ER_DllExport float assa2(float beta, float s1, float s2)
Triangle calculation, calculates angle between s2 and s3 Remarks See EASY-ROB-ERPL-eng....
static ER_DllExport int * inq_stop_unreach(void)
Causes the robot to stop if target position is not reachable.
static ER_DllExport int * inq_stop_cart_space(void)
Causes the robot to stop if the cartesian space is exceeded.
static ER_DllExport int ChkTagsLoaded(int confirm=0)
Check if Tags are loaded If paramter confirm is set to 1, the user will be prompted to confirm upcomi...
static ER_DllExport double parser_calc(char *str, int *error)
Formel parser calculation Remarks call inq_errorflg() to get parser error.
static ER_DllExport int PickSnapTagTo(int SnapToMode=0)
Enables the user to snap a Tag to a polygon or a vertex. Parameter SnapToMode can be one of the follo...
static ER_CAPI_SYS_APIDLL er_capi_sys_apidll
Method class to access API Dll for inverse kinematics, robot trajectory planner and robot dynamics.
Definition: ER_CAPI.H:8281
static ER_DllExport int zoom_cRobot(int zoom_flag=ZOOM_FLAG_DEFAULT)
Zoom cRobot (current robot base) to the center of the 3D Scene zoom_flag is a bitwise inclusive OR op...
static ER_DllExport int GetParameter(int ap_option)
Get parameter Paramter ap_option is one of AUTOPATH_PARAMETER_DYNADJUST AUTOPATH_PARAMETER_ALGORITH...
static ER_DllExport int inq_body_group_type_current(void)
Return current group type of current selected geometry grp_type is one of ROBOT_GRP,...
static ER_DllExport frame * inq_ext_Tcp(void)
Transformation of external Tcp w.r.t. world coorsys.
static ER_DllExport int check_license(int opt_id)
Check Licenses for options and modules Parameter opt_id is one of ER_LIC_STD_BASIC ....
static ER_DllExport void ** inq_dyn_model_usr_ptr(void)
Access user pointer for dynamics model in er_dyn.dll This allows the user to allocate individual memo...
static ER_DllExport float * inq_t_max(void)
Max. joint or axis torque [Nm,N].
static ER_DllExport float * inq_Get_c_path_len()
Get length of complete path for current selected path.
static ER_DllExport int * inq_body_render(void *body_handle)
Get the render type of body givin by a handle The render type and is one of FLAT=6,...
static ER_DllExport int AbortPlanning(void)
Abort path planning use GetPlanningStatus()
static ER_DllExport int * inq_ipo_path_no_decel(void)
Programmed deceleration at target.
static ER_DllExport int * inq_ipo_path_AutoAccel(void)
if AutoAccel is set, the trajectory planner calculated the acceleration according to programmed speed
static ER_DllExport float * inq_homepos_idx(int chome_idx)
Joint values of homeposition with chome_idx = [0..KIN_HOMEPOSITIONS-1] see inq_num_home()
static ER_DllExport frame * inq_ipo_exec_Ts(void)
Desired interpolated cartesian location frame [m].
static ER_DllExport float * inq_model_vz1_a(void)
Discrete model: A Value of PT1 transfer function Depending on system step inq_system_step() dt and in...
static ER_DllExport int * inq_msgwindow_show_auto(void)
Suppresses the automatic appearance of the message window, if unset (0) Remarks Per default automati...
static ER_DllExport float * inq_turn_interval(void)
Range with constant turn_value, default=0 for each axis // Range shift, default=0 for each axis.
const int EXTAX_MODE_OFF
0-no tag_motion or external axis motion
Definition: ER_CAPI_TYPES.H:422
static ER_DllExport frame * inq_body_Tref_pos(void *body_handle, int grp_type, frame *Tref)
Reference position w.r.t. to inertia coorsys of body givin by a handle The reference position Tref is...
static ER_DllExport int LoadRobotAsm(void)
Opens Dialog to load a .ras Robot assembly file.
static ER_CAPI_SYS_UTILITIES er_capi_sys_utilities
Method class for helping functions, color conversion, etc.
Definition: ER_CAPI.H:8253
static ER_CAPI_USER_IO er_capi_user_io
Method class for interaction with EASY-ROB.
Definition: ER_CAPI.H:84
static ER_CAPI_CAD_IMPORT er_capi_cad_import
Method class for importing existing 3D geometries (IGP, STL, 3DS)
Definition: ER_CAPI.H:7163
static ER_DllExport float * inq_ipo_path_axe_ori(void)
Programmed orientation end acceleration in [deg/s^2].
static ER_DllExport int Import_CAD(int cad_type=0, char *fln_name=0, char *body_name=0, float *scale=0)
Import a geometry file or create a primitive geometry to the current device group cad_type can be one...
static ER_DllExport int Unload_allCAD(int confirm=1)
Unload all CAD Geometries in current selected grp.
static ER_DllExport int rob_kin_joint_trans(int joint_dof)
Get active robot joint type An active robot joint type can be rotational or prismatic See rob_kin_joi...
static ER_DllExport frame * inq_ipo_data_old_T(void)
TCP location at last interpolation step.
static ER_DllExport int inq_Set_device_idx(int device_idx)
Sets current device idx [1..n_devices].
static ER_DllExport int _info_line_msg_v(int moni, char *s, float *v, int n, float scal)
float Vector output into Message Window If parameter moni is 1, the output is appended to the monitor...
static ER_DllExport int U3DPdf_ExportAPI_SetCallbackMsg(int callback_fct_id, void(*ptr_MsgFct)(char *))
Defines a callback function for output messages during 3D PDF file Export Parameter callback_fct_id i...
static ER_DllExport float * inq_ipo_path_vx_ov_set(float ov)
Calc. vx as percentage value of inq_vx_max(), return inq_ipo_path_vx()
static ER_DllExport int swap_PathDown(void)
Swaps Path pointer with the next Path Changes the path order.
static ER_DllExport void _info_line(int mode, char *s)
String output into Information Dialog if Message Window is closed The output identifier mode can have...
const int ROBOT_GRP
Robot group type.
Definition: ER_CAPI_TYPES.H:94
static ER_DllExport int SetAccuracy(UINT accuracy)
Set accuracy.
static ER_DllExport void MsgBox(char *s)
Show Message Box with MB_OK button and MB_ICONSTOP icon.
static ER_DllExport float * inq_ipo_path_aq_decel_axis(void)
Programmed Joint deceleration for each axis [m/s^2],[deg/s^2].
static ER_DllExport char * inq_camera_name(void)
Return current camera name.
static ER_DllExport int Path_ReAttach_by_idx(int path_idx, int new_reference_type, int new_reference_device_idx, int new_reference_cad_grp_type=ROBOT_GRP, char *new_reference_cad_name=NULL, int new_reference_jnt_idx=0, bool keep_world_position=false)
Reattach a path to a device, givin by device idx Attaches the path given by path_idx to a device,...
static ER_DllExport int UnloadCell(int confirm=1)
Unload current loaded work cell If paramter confirm is set to 1, the user will be prompted to confirm...
static ER_DllExport int * inq_body_show_mesh(void *body_handle)
Show body meshes Allows to dis- or enable visualizazion of body meshes.
static ER_DllExport int NewTagOnPickPoint(int vertices=0)
Creates a new Tag at current picked location If vertices = 1 : keep cOrientation If vertices = 0 : us...
static ER_DllExport float * inq_TeachStep(int rot=0, int reset=0)
Modifies the Teach step sensitivity when moving object with the mouse rot = 0 - translation [m],...
static ER_DllExport float * inq_vx_ori_max(void)
Max. cart. orientation speed [rad/s].
static ER_DllExport void PathClone(int confirm=0)
Clone complete Path or selected Tags.
Method class for TCP trace, reference and visualization.
Definition: ER_CAPI.H:6201
static ER_DllExport frame * inq_body_world_pos(void *body_handle, int grp_type, frame *Tworld)
World position w.r.t. to inertia coorsys of body givin by a handle The world position Tworld is the r...
static ER_CAPI_MOP_AUTOPATH er_capi_mop_autopath
Method class for collision free motion planning.
Definition: ER_CAPI.H:4154
static ER_DllExport int Device_Sync_by_uid(int new_reference_type, ER_UID new_reference_device_uid=0, int *new_reference_jnt_link_idx=NULL)
Obsolete, use Device_Link_by_uid()
static ER_DllExport int GetNumberOfWayPoints(void)
Get number of calculated way points, including start and end pose call this method after FindPath() s...
static ER_CAPI_ROB_KIN er_capi_rob_kin
Method class forward-, Inverse kinematics, desired robot joints, tools, position w....
Definition: ER_CAPI.H:2610
static ER_DllExport frame * inq_body_off_pos(void *body_handle)
Return offset position T_off of a body givin by a handle Parameter body_handle must be valid and not ...
static ER_DllExport int UnloadPathAll(int confirm=1)
Unload all Pathes If paramter confirm is set to 1, the user will be prompted to confirm this operatio...
static ER_DllExport int GetPlanningStatus(void)
Get path planning status.
static ER_DllExport void rob_kin_rot_xyz(frame *T, float Rx, float Ry, float Rz)
Converts an euler represented rotation index ROT_XYZ into a frame. Rotation angle Rx,...
static ER_DllExport char * inq_kin_type_activ(void)
'T'- translational-, 'R'- revolute for active joints Remarks For a six axis robot with six rotationa...
static ER_DllExport void rob_kin_trans(frame *T, double x, double y, double z)
Converts a position into a frame. Location x, y, z are converted into a frame T , T->p = [x,...
static ER_DllExport int * inq_rob_tag_z_buffering_idx(int idx)
tag_attributes, tag z_buffering Tag z_buffering is one of COORSYS_Z_BUFFERING_OFF,...
static ER_DllExport char * GetCellfile(void)
Returns name of current loaded cell file.
static ER_DllExport int * inq_prgwindow_show_auto(void)
Suppresses the automatic appearance of the program window, if unset (0) Remarks Per default automati...
static ER_DllExport float * inq_cntrl_e1(void)
1st Controller Error
static ER_DllExport frame * inq_iTi_ref(void)
World to attach position (reference position) of robot This location is already updated,...
static ER_DllExport UINT * Accuracy(void)
AutoPath accuracy Valid *accuracy values are in [1..100] Remarks Disable AUTOPATH_PARAMETER_DYNADJUS...
static ER_DllExport float * inq_ipo_prep_dx(void)
6 dim difference Vector (=strt_T-end_T) see inq_ipo_prep_strt_T(), inq_ipo_prep_end_T()
static ER_DllExport int * inq_ipo_path_cp_phasen_synchron(void)
Setting for CP synchonization.
static ER_DllExport int * inq_body_collision(void *body_handle)
Collision flag of body givin by a handle The collision flag is one of 0-Off, 1-Concave,...
static ER_DllExport frame * inq_mbTw(void)
Moveable base to TCP.
static ER_DllExport float sasssa(float s1, float beta, float s2, float s3, float s4)
Quadrangle calculation, calculates angle between s2 of s3 Remarks See EASY-ROB-ERPL-eng....
static ER_DllExport int dialog_frame_ex(char *title, frame *T, int grfupdate, void(*callback_fct)(void *vptr), void *vptr)
Opens a Frame dialog with callback function This Dialog allows to enter a frame T If grfupdate is 1,...
static ER_DllExport int GetPlanningStatus(void)
Get path planning status The planning status is one of AUTOPATH_STATUS_MP_IDLE AUTOPATH_STATUS_MP_R...
static ER_DllExport int SavePathes_ext(char *new_pth_fln=NULL, int confirm_overwrite=1)
Saves a Tag or Path file by filename containing all pathes If new_pth_fln is NULL,...
static ER_DllExport int * inq_ipo_path_leading_position(void)
Leading position determine the dominant behavior between interpolation of position and orientation If...
static ER_DllExport int FindPath(void)
Start calculating a collision free path between start- and end pose Remarks A valid start and end po...
static ER_DllExport int delete_cTag()
Deletes cTag see also ER_CAPI_SYS_STATUS::UnloadTag()
static ER_DllExport int dialog_edit_file(char *fln)
Opens a file with an associated editor Opens a file with an associated editor. The editor is defined ...
static ER_CAPI_TARGETS_PATH er_capi_targets_path
Method class for creating, deleting and manipulating paths.
Definition: ER_CAPI.H:6324
static ER_DllExport int Device_ReAttach_by_uid(int new_reference_type, ER_UID new_reference_device_uid, int new_reference_jnt_idx, bool keep_world_position)
Attaches the current device to another device Attaches the current device to another device,...
Method class for trajectory execution.
Definition: ER_CAPI.H:4657
Homogeneous 4x4 transformation matrix, a Frame with 3x3 orthogonal noa-matrix (n = o x a) and 3x1 pos...
static ER_DllExport ER_UID * inq_track_ref_sys_grp_uid(void)
Unique ID of reference device/robot The Unique ID depends on the attach location.
static ER_DllExport int SetWindowPos(void *pWndInsertAfter, int x, int y, int cx, int cy, UINT nFlags)
Set the position and size of EASY-ROB's OpenGL window.
static ER_DllExport int * inq_stop_collision(void)
Causes the robot to stop if collision detected.
static ER_DllExport float rob_kin_to_DEG(int joint_dof)
Returns DEG if joint is rotational, else 1.
Method class for for 3D CAD Data import and -export, changing attributes and positions.
Definition: ER_CAPI.H:7149
static ER_DllExport int inq_UserDll_dll_status(int userdll_idx)
Get dll_status for API UserDlls The number of currently loaded UserDll can be retrieved with inq_User...
static ER_DllExport int SetPoseStart(int nConfig, float *pose_start)
Set specified robot joint location as start pose Remarks This pose must be collision free,...
static ER_DllExport void mul_invR_pos(float *po, FRAME *R, float *pi)
Multiplication of a 3x1 position with the transpose of a 3x3 orientation of a homogeneous 4x4 transfo...
static ER_DllExport frame * inq_kin_T_active(int active_jnt_no)
Homogeneous-Transformation from cRobot base to active Joint coorsys depending on current joint locati...
static ER_DllExport int ShellExecuteEdit(char *fln)
Opens the specified file with the assigned editor See configuration file config.dat.
static ER_DllExport int * inq_body_obj_color_den_idx(void *obj_handle)
Den_Color Idx an object.
static ER_DllExport frame * inq_ext_Tcp_base(void)
Transformation of external Tcp w.r.t. robot base.
static ER_DllExport frame * inq_single_cmd_base_prg(void)
Base Program transformation to shift the base frame Has efffect when running an ERPL motion command s...
static ER_DllExport int inq_num_configs(void)
Number of cRobot configurations within [1..KIN_CONFIGS].
static ER_DllExport float * inq_ipo_path_vq_ov_set(float ov)
Calc. vq_axis as percentage value of inq_v_max()
static ER_DllExport int rob_kin_inv(frame *bTt)
Calculate inverse kinematics solution IKP bTt - Robot Base to Tip (Flange), Results in inq_q_solut() ...
static ER_DllExport float * inq_rob_tag_speed_ptp_ov_idx(int idx)
Tag_attributes, ptp override speed, 0-def [0-200%].
static ER_DllExport int inq_Set_path_idx(int path_idx)
Set current path idx [1..n_paths].
static ER_DllExport int dialog_select(char *title, int n, int n_strt, char **ww, int dlg_mode=INPUT_LINE_SELECT_DEFAULT)
Opens a Selection dialog This Dialog allows to select one of several items in the string array ww dl...
static ER_DllExport float * inq_ipo_path_AccSet(void)
Acc Ramp [20-100%] 20% results in a smoother acceleration and deceleration, in case of higher payload...
static ER_DllExport int AutoPath_SetCallback_CheckConstraints(BOOL(*ptr_CheckConstraints)(int))
Defines a callback function to check constraints during AutoPath calculation Parameter action in Call...
static ER_DllExport char * GetPrgMimicfile(void)
Returns mimic file for cRobot A mimic file is a machine specific file, mostly used when running G-Cod...
static ER_DllExport int inq_Get_c_tag_idx()
Get current tag idx [1..n_tags] in current path.
static ER_DllExport int Get_cPickMode(void)
Return the current Picking Mode See also Get_cPickMode_Chk_1(), Get_cPickMode_Chk_2() Remarks The ex...
static ER_CAPI_TARGETS_TAG er_capi_targets_tag
Method class for manipulation of tags and access tag attributes.
Definition: ER_CAPI.H:6320
static ER_DllExport int UnloadRobot(int confirm=1)
Unload current Robot If paramter confirm is set to 1, the user will be prompted to confirm this opera...
static ER_DllExport int inq_Get_device_idx_by_uid(ER_UID uid)
Gets device idx by device unique id if the uid is not valid, -1 is returned.
static ER_DllExport ROB_DH * inq_rob_dh_passiv(void)
Denavit-Hartenberg-Transformation to next joint for each passive joint "Geometric Data to next" see i...
static ER_DllExport int * inq_body_obj_is_collided(void *obj_handle_attributes)
Collision flag of an object see inq_body_obj_attributes_handle() to retrieve the object attribute han...
static ER_DllExport int delete_path(int all_pths=0)
Delete cPath or all Pathes if all_pths=1, see also ER_CAPI_SYS_STATUS::UnloadPath(),...
Method class for start-, target data, motion time, etc.
Definition: ER_CAPI.H:4192
static ER_DllExport int rob_kin_inv_ext(frame *bTw, float *q_solut, int shortest_angle)
Calculate inverse kinematics solution IKP bTw - Robot Base to Wrist (TCP), Results in q_solut() This ...
static ER_DllExport double * GetStartPose(void)
Get Start Pose return pointer, size nConfig.
static ER_DllExport float * delta_T(float *dx, frame *Ts, frame *Ti)
Builds the difference between frame Ts and frame Ti Position dx[0..2] = Ts->p[0..2] - Ti->p[0....
static ER_DllExport int * inq_univ_trans_ilimit(void)
Number of maximum iterations Used for numerical solution for inverse kinematics. This value determine...
static ER_DllExport int ChkPrgRunning(int confirm=0)
Check if animation is running.
static ER_DllExport int Device_Link_by_uid(int new_reference_type, ER_UID new_reference_device_uid=0, int *new_reference_jnt_link_idx=NULL)
Link current device to another device by uid new_reference_type one of REF_NO_REF=0 or REF_JNT=9 new...
static ER_DllExport int * inq_body_joint_attach_idx(void *body_handle)
Robot joint attach idx In case the body belongs to a ROBOT_GRP, the joint attach idx is zero - body a...
static ER_DllExport float * inq_homepos(void)
Joint values of current homeposition.
static ER_DllExport int chk_rob_tag_idx(int idx)
Check if tag index is valid.
static ER_DllExport int UnloadProgram(int confirm=1)
Unload current robot Program If paramter confirm is set to 1, the user will be prompted to confirm th...
static ER_DllExport float * inq_v_solut(void)
Desired joint speed values.
static ER_DllExport int * inq_swe_calc(void)
Enables math. dependency for travel ranges see inq_swe_max_calc_md(), inq_swe_min_calc_md()
static ER_DllExport int Convert_CAD_ReStore(void)
Restore and reload converted CAD File into CAD Preview.
static ER_DllExport int * inq_rob_tag_turn_ax_idx(int idx)
tag_attributes, turn values depending on current robots turn interval see inq_rob_tag_turn_use_idx()
static ER_DllExport float * inq_rob_tag_accel_ptp_ov_idx(int idx)
Tag_attributes, ptp override accel, 0-def [0-200%].
static ER_DllExport frame * inq_achs_T0_activ(void)
Kinematics transformation from last joint for each active joint "Geometric Data from last" .
static ER_DllExport int camera_z_offset(float z_offset)
Set camera z_offset.
Method class for unloading objects (work cells, robots, tools, programs, etc.) simulation status.
Definition: ER_CAPI.H:8927
static ER_CAPI_SYS_UNITS er_capi_sys_units
Method class for setting and calculating units.
Definition: ER_CAPI.H:8273
Method class to create, attach, update devices, for kinematics calculations and for trajectory planni...
Definition: ER_CAPI.H:2169
static ER_DllExport int * inq_Get_c_path_visible()
Get current path visibility.
static ER_DllExport double * GetEndPose(void)
Get End Pose return pointer, size nConfig.
static ER_DllExport frame * inq_ipo_prep_bTsync0(void)
EasyEdit, Conveyor Zero-Position.
static ER_DllExport int Get_MouseMode(void)
Returns current mouse mode The current mouse mode is one of the following values MM_CRUISE MM_TCP_JO...
static ER_DllExport int LoadCell()
Opens Dialog to load a .cel Cel file.
static ER_DllExport int erc_onoff(int erc_on_off_idx, int enable)
Dis- and enabling miscellaneous settings The erc_on_off_idx is one of ERC_TRACK to ERC_COI_RENDER Th...
static ER_DllExport int dialog_start_device_manager(char *fln=NULL)
Starts Device Manager to load a file The selceted file is loaded into EASY-ROB immediatly.
static ER_DllExport char * inq_homepos_name_idx(int chome_idx)
Name of homeposition with chome_idx = [0..KIN_HOMEPOSITIONS-1] see inq_homepos_name()
static ER_DllExport void ** inq_status_output_usr_ptr(void)
Access user pointer for status output in er_dyn.dll This allows the user to allocate individual memor...
static ER_DllExport float * inq_model_d_base(void)
symplified viscose damping
static ER_DllExport int NewTagOnTcp(void)
Creates a new Tag in current path at Tcp of cRobot.
static ER_DllExport float Convert_CAD_SetTesselation(int Tesselation=CONVERT_CAD_TESSELATION_RESET)
Tesselation of an imported CAD model Parameter Tesselation is one of CONVERT_CAD_TESSELATION_RESET,...
static ER_DllExport int cTagClone(int create_new=0)
Clones current Tag in current path or creates new one at Tcp of cRobot If parameter create_new is 0,...
static ER_DllExport float * inq_ipo_data_ctime(void)
Current motion time [s] for cRobot The current motion time is the elapsed time on the way to the next...
static ER_DllExport int CruiseRobotBase(void)
Set Cruise mode to cRobot Base.
static ER_DllExport float * SetEndPose(void)
Set current robot joint location as end pose Remarks This pose must be collision free,...
static ER_DllExport char * get_commandline(void)
Get the command line when EASY-ROB was started See also EASY-ROB-ShortKeys-eng.pdf.
static ER_DllExport int dialog_color(char *title, int *color_idx)
Opens a Color dialog This Dialog allows select a color color_idx The color_idx can be one of the fol...
static ER_DllExport void incr_R(FRAME *Ri1, FRAME *Ri2, int res)
Orientation multiplication of two homogeneous 4x4 transformation matrices. Depending in res ,...
static ER_DllExport float * inq_ipo_exec_qs(void)
Desired interpolated joint data [rad] or [m].
static ER_DllExport void dh_to_frame(ROB_DH *rdh, frame *T)
Converts Denavit Hartenberg Parameter ROB_DH parameter into a homogeneous frame FRAME.
static ER_DllExport int * inq_rob_tag_n_extax_idx(int idx)
tag_attributes number of external axis
static ER_DllExport void ErrorExitBox(char *s)
Show Error Message Box with MB_OK button and MB_ICONSTOP icon and MB_SYSTEMMODAL.
static ER_DllExport int Init_ER_DLL_Window(int InitOptions)
Initialize EASY-ROB DLL Window Parameter InitOptions is currently not used.
static ER_DllExport void ** inq_pp_usr_ptr()
Access user pointer for post_processor in er_post.dll This allows the user to allocate individual mem...
static ER_CAPI_SYS_PREVIEW er_capi_sys_preview
Method class for the CAD-Preview.
Definition: ER_CAPI.H:8265
static ER_DllExport float * inq_cntrl_kpp(void)
P Factor for P-PI Cascade Controller.
static ER_DllExport frame * inq_bT0(void)
Robot Base to first joint of kinematics chain.
Method class for paths and tags.
Definition: ER_CAPI.H:6314
static ER_DllExport LIN_ORI_MODE * inq_ipo_path_lin_ori_mode(void)
Current Orientation mode for linear interpolation The orientation mode is a member of LIN_ORI_MODE an...
static ER_CAPI_SIM_TRACK er_capi_sim_track
Method class for TCP trace, reference and visualization.
Definition: ER_CAPI.H:5586
static ER_DllExport double * inq_achs_roty(void)
Kinematics angles for Y rotation [deg] for each active joint Calculated from "Geometric Data to next"...
static ER_DllExport float * inq_model_T_base(void)
symplified System constant Depending on inq_model_theta_base() theta and inq_model_d_base() d,...
static ER_DllExport void mul_invT_pos(float *po, FRAME *T, float *pi)
Multiplication of a 3x1 position with the inverse of a homogeneous 4x4 transformation matrices....
static ER_DllExport float * inq_cntrl_e2(void)
2nd Controller Error
static ER_DllExport int * inq_active_jnt_sign(void)
Sign for active joints +1 for positive jont direction -1 for negative joint direction.
static ER_DllExport int swap_PathUp(void)
Swaps Path pointer with the prev Path Changes the path order.
static ER_DllExport int chk_nom_values_export(int chk_bit_field=0)
Check if an Error occured The parameter chk_bit_field as a bitwise inclusive OR operator (|) of the f...
static ER_DllExport int zoom_cBody(int zoom_flag=ZOOM_FLAG_DEFAULT)
Zoom cBody to the center of the 3D Scene zoom_flag is a bitwise inclusive OR operator (|) of ZOOM_FLA...
static ER_DllExport float * inq_swe_max(void)
Max. positive travel ranges (joint limits) [rad,m].
Definition: ER_CAPI.H:3766
static ER_DllExport void vec_to_frame(float *vec, frame *T)
Converts an euler vector with ROT_XYZ representation into a frame. Vector vec is converted into a fra...
static ER_DllExport void rob_kin_R_mal_R(frame *Ti1, frame *Ti2)
Orientation multiplication of two homogeneous 4x4 transformation matrices. Ri1 = Ri1 * Ri2 Remarks s...
static ER_DllExport int * inq_ipo_path_tag_motion_idx(void)
Tag motion idx when interpolating to a target tag.
static ER_DllExport int inq_Add_path()
Add a new path in loaded workcell, returns the number of pathes .
static ER_CAPI_ROB er_capi_rob
Method class kinematics and transformations.
Definition: ER_CAPI.H:2175
static ER_DllExport void * inq_AutoPathDlg_Hwnd(void)
Handle form AutoPath Dialog .
static ER_DllExport float * inq_body_obj_points(void *obj_handle, int idx)
XYZ Vertex of an object Use er_cad_io.inq_body_obj_n_point() to get the number of point of an object.
static ER_DllExport frame * inq_body_obj_coorsys(void *obj_handle, int idx)
Coorsys of an object Use er_cad_io.inq_body_obj_n_coorsys() to get the number of coorsys of an object...
static ER_DllExport float * inq_ipo_prep_v_extax(void)
Speeds for external axis depending on setting ininq_ipo_prep_extax_jnt()
static ER_DllExport int dialog_string_single(char *title, char *header, char *footer, char *v, int len, int pw=0)
Opens dialog to enter a single string This Dialog allows to enter a string v.
static ER_DllExport int RefreshTagWindow(int mode)
Refresh Tag Window.
static ER_DllExport float * inq_q_strtpos(void)
Start condition joint axis location.
static ER_DllExport frame * inq_kin_T_passiv(int passiv_jnt_no)
Homogeneous-Transformation from cRobot base to passive Joint coorsys depending on current joint locat...
static ER_DllExport int * inq_device_ref_sys_jnt_idx(void)
Reference joint idx of the cDevice, if the reference type is REF_JNT The index of reference joint is ...
static ER_DllExport int reset_view(int zoom_flag=ZOOM_FLAG_DEFAULT)
Reset view to loading state zoom_flag is a bitwise inclusive OR operator (|) of ZOOM_FLAG_FIT_ROT_VIE...
static ER_DllExport int set_body_handle_current(void *body_handle)
Set a body as current selected body Parameter body_handle must be valid and not 0.
static ER_DllExport float * inq_swe_min_passive(void)
Minimum travel ranges for passive joints.
static ER_DllExport float * inq_coll_min_distance_p2(void)
Collision point 'p2' of 2nd colliding geometry.
static ER_DllExport int chk_run(void)
Checks the current running status.
static ER_DllExport int * inq_EasyRobDll_Activ(void)
Obsolete use inq_EasyRobDll_Active()
static ER_DllExport int U3DPdf_ExportAPI_SetCallbackProgress(void(*ptr_ProgressFct)(double))
Defines one single callback function for ExportU3DScene progress and Generate3DPdf progress messages ...
const int ERGL_UNDEF
no operation
Definition: ER_CAPI_TYPES.H:885
static ER_DllExport int * inq_ipo_prep_extax_jnt(void)
External Axis mode the external axis mode is one of 2 - speed jnt 1 - extax, 0 - no extax.
static ER_DllExport int Convert_CAD(char *cad_file, char *igp_file=0, int confirm=1)
Converts a CAD file (step, iges,...) to Igp format.
static ER_DllExport char * inq_device_ref_sys_name(void)
Reference name of the current device The reference type name (name of attach location) depends of one...
Method class for creating, deleting and manipulating paths.
Definition: ER_CAPI.H:6863
static ER_DllExport int CruisePickedPoint(void)
Set Cruise mode to picked Point.
static ER_DllExport int ChkToolRobotLoaded(int confirm=0)
Check if robot Tool is loaded If paramter confirm is set to 1, the user will be prompted to confirm u...
static ER_DllExport int inq_body_n_line_total(void *body_handle)
Number of total lines within body givin by a handle A body contains a number of objects....
static ER_DllExport float inq_camera_z_offset(void)
camera z_offset
static ER_DllExport frame * inq_ipo_prep_dTsync(void)
EasyEdit, Conveyor Delta-Position.
static ER_DllExport int AutoPathEnd(void)
AutoPath Termination Destroys Instance ... to be defined, not implemented yet, instance is always act...
Method class to manipulate the 3D Scene.
Definition: ER_CAPI.H:1348
static ER_DllExport frame * inq_bTt(void)
Robot Base to Tip (flange)
static ER_DllExport int * inq_cell_info_show(void)
Enable or disable the cell information Use inq_cell_info() to set cell information.
static ER_DllExport int get_warning_msg(int aux_update_idx, char *msg)
Warning message if one of the following error occurs AUX_UPDATE_IDX_SWE_EXCEEDED - At least one axis ...
static ER_DllExport int ShellExecuteOpen(char *prg, char *parameter=NULL, int nShowCmd=SW_SHOWNORMAL)
Performs an 'open' operation on a specified program file.
static ER_DllExport frame * inq_tTw(void)
Current Tool frame, Robot Tip (flange) to TCP.
static ER_DllExport int inq_num_passive_jnts(void)
Number of passive joints within [1..KIN_PASSIV_JNTS].
static ER_DllExport float * inq_cntrl_aux1(void)
1st Auxiliary controller parameter
static ER_DllExport int * inq_ipo_path_ptp_target_calculation_mode(void)
PTP calculation mode takes effect when calculating the target joint based on inverse kinematics,...
static ER_DllExport int * inq_body_obj_max_point_in_poly(void *obj_handle)
Maximum number of points in a polygon within an object.
static ER_DllExport char * inq_joint_name_idx(int cjoint_idx)
Name of joint with cjoint_idx = [0..KIN_DOFS-1].
enum _CIRC_ORI_IPO_MODE CIRC_ORI_IPO_MODE
static ER_DllExport frame * inq_ipo_data_new_T(void)
TCP location at current interpolation step.
static ER_DllExport int Unload_cCAD(int confirm=1)
Unload current selected CAD geometry.
static ER_DllExport int * inq_robot_itself_collision(void)
0-def, collision chk vs. itself device
static ER_DllExport int * inq_cart_limits_joint_idx_active(void)
Bitfield to determine the active joints building the bounding box to check the cartesian limits see i...
static ER_DllExport CIRC_ORI_IPO_MODE * inq_ipo_path_circ_ori_ipo_mode(void)
Orientation interpolation mode for circular interpolation, when CIRC_ORI_MODE is CIRC_QUATERNION Cont...
static ER_DllExport int * inq_rob_tag_turn_use_idx(int idx)
tag_attributes, turn flag, 0-do not use turn values (def), 1-use turns If use turns is anabled,...
static ER_DllExport int SaveTool_ext(char *new_tol_fln=NULL, int confirm_overwrite=1)
Saves a tool file by filename If new_tol_fln is NULL, the name of the tool is used....
static ER_DllExport int * inq_num_tool(void)
Number of available tools [1..KIN_TOOLS].
static ER_DllExport float * inq_rob_tag_q_cR_idx(int idx)
Temporary joint location for cRobot This Joint location is saved when the cRobot reaches this Tag See...
Method class for dynamics, controller parameter, sampling rates.
Definition: ER_CAPI.H:3937
static ER_DllExport char * inq_kin_direction_passiv(void)
'X'-,'Y'- or 'Z'- direction for passive joints Remarks For a two passive joints the direction string...
static ER_DllExport int * inq_body_obj_n_poly(void *obj_handle)
Number of polygons within an object.
static ER_DllExport float * inq_ipo_path_zone(void)
Programmed zone value [mm].
static ER_DllExport int dialog_open_ext(int dialog_idx, int dlg_mode, int param=0, int chk_ext=-1)
Opens an EASY-ROB non modal dialog The method allows to open or close non modal dialog or request its...
static ER_DllExport int * inq_ipo_path_tag_via_motion_idx(void)
Tag motion idx when interpolating to a via target tag.
static ER_DllExport int * inq_show_collision_line(void)
Enable, disables show collision line with min. distance value.
static ER_DllExport int * inq_num_home(void)
Number of predefined hompositions [1..KIN_HOMEPOSITIONS].
static ER_DllExport float * inq_ipo_path_ax_ori_ov_set(float ov)
Calc. ax_ori as percentage value of inq_vx_ori_max(), return inq_ipo_path_ax_ori()
const int INPUT_LINE_SELECT_DEFAULT
default, see ER_CAPI_USER_IO_DIALOG::dialog_select()
Definition: ER_CAPI_TYPES.H:235
static ER_DllExport char * inq_kin_chain_type_passiv(void)
'C' in kin chain (default); '_' NOT in kin. chain; '-' separated and NOT in kin.chain Remarks For a ...
static ER_DllExport int LoadTool(void)
Opens Dialog to load a .tol Tool file.
static ER_DllExport float * inq_cart_limits_min(void)
Min. fix cartesian xyz limits w.r.t. RBase [m] see inq_cart_limits_joint_idx_active(),...
static ER_DllExport float * inq_ipo_path_vxs(void)
Cart. start speed in [m/s].
static ER_DllExport int U3DPdf_ExportAPI_SetCallbackProgressGenerate3DPdf(void(*ptr_ProgressFctGenerate3DPdf)(double))
Defines a callback function for Generate3DPdf progress messages when saving the 3D PDF file Parameter...
static ER_DllExport void mul_invT_T_T(FRAME *To, FRAME *Ti1, FRAME *Ti2, FRAME *Ti3)
Tripple multiplication of homogeneous 4x4 transformation matrices. To = inv(Ti1) * Ti2 * Ti3 Remarks ...
static ER_DllExport double * inq_sing_tolq(void)
Rotational singularity tolerance [rad].
static ER_DllExport float * inq_vx_max(void)
Max. cart. speed [m/s].
static ER_DllExport int circ_center_point(float *p1, float *p2, float *p3, frame *pTc, float *radius, float *phi, float *dphi=NULL)
Circle calculation from three points p1 over p2 to p3. Calculates center of circle,...
static ER_DllExport frame * inq_body_ref_pos(void *body_handle)
Return reference position T_ref of a body givin by a handle Parameter body_handle must be valid and n...
Method class for collision free path planning.
Definition: ER_CAPI.H:4737
static ER_DllExport float inq_coll_min_distance(void)
Shortest distance when no collision.
static ER_DllExport int * inq_body_obj_color_idx(void *obj_handle)
Color idx for an object.
static ER_DllExport int SaveRobot_ext(char *new_rob_fln=NULL, int confirm_overwrite=1)
Saves a robot file by filename If new_rob_fln is NULL, the name of the robot is used....
static ER_DllExport int * inq_device_sync_ref_sys_type(void)
Obsolete, use inq_device_link_ref_sys_type()
static ER_DllExport int * inq_body_obj_n_coorsys(void *obj_handle)
Number of coorsys within an object.
static ER_DllExport int * inq_rob_tag_no_decel_idx(int idx)
Tag_attributes, No decelaration at target If deceleration flag is 0, the motion decelerates at the ta...
static ER_DllExport int Tool_Device_by_name(char *tool_device_name)
Sets tool data to the device specified by name The current device takes over the current tool data of...
static ER_DllExport int PickDistanceTagMeasure(int hold_first_point=0)
Enables the user to measure the Distance between Tags. Parameter hold_first_point can be one of the f...
static ER_DllExport int LoadProgramFile(char *prg_fln)
Sets program file name. Sets program file for current device, will be executed when the simulation st...
static ER_DllExport frame * inq_Get_c_tag_frame_strt()
Get current start tag location w.r.t. wobj frame location.
static ER_DllExport float * inq_model_z2(void)
Actual joint speed two sampling steps before see inq_v_dyn(), inq_model_z1()
static ER_DllExport float * inq_cntrl_aux2(void)
2nd Auxiliary controller parameter
Method class to access API Dll for inverse kinematics, robot trajectory planner and robot dynamics Th...
Definition: ER_CAPI.H:9582
static ER_DllExport frame * inq_iBase(void)
Program shift w.r.t. world coorsys This method takes effect when executing a motion command given by ...
static ER_DllExport float * inq_ipo_exec_as(void)
Desired interpolated joint acceleration data [rad/s^2] or [m/s^2].
static ER_DllExport int * inq_device_ref_sys_type(void)
Reference type of the current device The reference type (attach location) can be one of the following...
static ER_DllExport float * inq_ipo_data_new_q(void)
Joint data at current interpolation step.
static ER_DllExport ER_UID * inq_device_ref_sys_grp_uid(void)
Unique ID of reference device/robot The Unique ID depends on the attach location.
static ER_DllExport int * inq_ext_Tcp_idx(void)
Enable/disable external Tcp for cRobot Set *inq_ext_Tcp_idx()=1 to enable external TCP Use inq_ext_Tc...
static ER_DllExport int GetWayPointDof(void)
Get dof or number of values for each way point Remarks dof coincides normally with the number of rob...
static ER_DllExport int GetParameter(int ap_option)
Get Autopath calculation parameter Parameter ap_option is one of AUTOPATH_PARAMETER_DYNADJUST,...
Method for collision free path planning.
Definition: ER_CAPI.H:5193
static ER_DllExport int * inq_rob_kin_controller_rot_idx(void)
Returns the Controller rotation index for the cRobot. The Controller index is one of ROT_XYZ = RotX *...
static ER_DllExport float * inq_q_solut(void)
Desired active joint axis values.
static ER_DllExport int set_commandline(char *cmdline)
Set the command line The given command will be executed immediatly See also EASY-ROB-ShortKeys-eng....
static ER_DllExport char * inq_config_name_idx(int cconfig_idx)
Name of configuration with cconfig_idx = [0..KIN_CONFIGS-1].
static ER_DllExport char * inq_kin_move_base_type_passiv(void)
'B' passive Jnt is move base; '-' passive Jnt is NOT a move base Remarks A "B" denotes that the pass...
static ER_DllExport int * inq_modified_cell(void)
Flag if cell file is modified.
static ER_DllExport int inq_Set_tag_idx(int tag_idx)
Set current tag idx [1..n_tags] in current path.
static ER_DllExport int * inq_ipo_path_use_tag_attributes(void)
Using tag attributes A tag attribute can keep data such as speeds, acceleration, zone,...
static ER_DllExport float * inq_rob_tag_accel_ori_idx(int idx)
Tag_attributes, orientation acceleration, 0-def, [rad/s^2].
static ER_DllExport char * inq_swe_min_calc_md(int joint_idx)
Equation to calculate math. dependency for negative travel ranges for an active joint Takes effect if...
static ER_DllExport void frame_to_vec(float *vec, frame *T)
Converts a frame into an euler vector with ROT_XYZ representation. Frame T is converted into a vector...
static ER_DllExport double * inq_achs_length(void)
Kinematics lengths in Z direction [m] for each active joint Calculated from "Geometric Data to next" ...
static ER_DllExport int inq_body_n_coorsys_total(void *body_handle)
Number of coorsys within body givin by a handle.
static ER_DllExport int * inq_body_bface_culling(void *body_handle)
Enable/disable backface culling of body givin by a handle.
static ER_DllExport float * inq_ipo_path_vqe(void)
Programmed Joint end speed in [deg/s].
const int AUTOPATH_AXIS_BIT_DOF6
axisBit Axis 1..6
Definition: ER_CAPI_TYPES.H:485
static ER_DllExport int AbortPlanning(void)
Abort path planning.
static ER_DllExport void mul_invT_invT_T(FRAME *To, FRAME *Ti1, FRAME *Ti2, FRAME *Ti3)
Tripple multiplication of homogeneous 4x4 transformation matrices. To = inv(Ti1) * inv(Ti2) * Ti3 Rem...
static ER_CAPI_USER_IO_PICK er_capi_user_io_pick
Method class to "pick" objects such as devices, tags, polygon, vertices, measure distances,...
Definition: ER_CAPI.H:127
static ER_DllExport char * inq_body_file_name(void *body_handle)
File name of body givin by a handle.
static ER_DllExport int dialog_frame(char *title, frame *T)
Opens a Frame dialog This Dialog allows to enter a frame T A frame FRAME is a homogeneous 4x4 transf...
static ER_DllExport int initialize_view(int zoom_flag=ZOOM_FLAG_DEFAULT)
Initialize View zoom_flag is a bitwise inclusive OR operator (|) of ZOOM_FLAG_FIT_ROT_VIEW,...
static ER_DllExport int GetWayPointConfiguration(int idx)
Get calculatated configuration idx in way point See GetNumberOfWayPoints(), GetWayPointDof(),...
static ER_DllExport int SetPoseEnd(double *pose_end)
Set end configuration Remarks This pose must be valid - collision free, based on callback function "...
static ER_DllExport void * inq_body_handle_byidx(void *grp_handle, int body_idx)
Return body handle by body idx Parameter grp_handle must be valid and not 0 Parameter body_idx is in ...
static ER_DllExport int CruisePanView(int dlr, int dud)
Pan 3D Scene by dlr-delta left right, dud-delta up down dlr > 0 pan right, < 0 pan left dud > 0 pan u...
static ER_DllExport int SetAxisPriority(int axisBit, int priority)
Set axis priority Parameter priority is in [1..99].
static ER_DllExport char * inq_config_workdir(void)
Returns folder string for current working directory.
static ER_DllExport int inq_Get_c_path_idx()
Get current path idx [1..n_paths] .
static ER_CAPI_USER_IO_DIALOG er_capi_user_io_dialog
Method class, supplies dialogs, i.e. to enter and show values.
Definition: ER_CAPI.H:123
static ER_DllExport float * inq_ipo_path_ax(void)
Programmed cart acceleration in [m/s^2].
static ER_DllExport int Shift_cTagOnPickPoint(int vertices=0)
Shifts cTag to the current picked location If vertices = 1 : keep cOrientation If vertices = 0 : use ...
static ER_DllExport float * inq_rob_tag_ov_pro_idx(int idx)
Tag_attributes, programmed override, 0-def [0-200%].
static ER_DllExport void grf_update_export(int chk=0)
Forces a graphical update of the 3D Scene This grahpical update includes a mathematical update for a...
static ER_DllExport int chk_collision_devices_tupel_list(int n_dev_tupel_list, COLL_DEVICE_TUPEL *dev_tupel_list, int setting=0)
Check for collision in device tupel list To get more detailled collision results, use get_collision_p...
static ER_DllExport float * inq_ax_ori_max(void)
Max. cart. orientation acceleration [rad/s^2].
static ER_DllExport int dialog_checkbox(char *title, int n, char **ww, int *iv, char **ww_on=NULL, char **ww_off=NULL)
Opens CheckBox dialog This Dialog allows to check or uncheck the status for several items in the stri...
Definition: ER_CAPI_TYPES.H:649
static ER_DllExport int CruisecBody(void)
Set Cruise mode to cBody.
static ER_DllExport int PickBody(void)
Enables the user to pick a body/geometry. Remarks The exported function EXPORT_C AuxUpdate(int idx) ...
static ER_DllExport float * inq_ipo_path_vq_axis(void)
Programmed Joint speed for each axis [m/s],[deg/s].
static ER_DllExport float * GetWayPoint(int idx)
Get calculatated way point See GetNumberOfWayPoints(), GetWayPointDof(), GetWayPointConfiguration()
static ER_DllExport COLL_PAIR * get_collision_pair(int coll_pair_idx)
Get one collision pair The parameter coll_pair_idx is the index for the required collision pair in [0...
static ER_DllExport float * inq_ipo_path_ov_pro(void)
Programmed override [%] , range: 1-1000.
static ER_DllExport float * inq_ipo_data_dt_ipo(void)
Interpolation step size [s] for cRobot.
static ER_DllExport int SetAxisConstraints(int axisBit=AUTOPATH_AXIS_BIT_DOF6, int setting=0, double qConstraintMin=0, double qConstraintMax=0)
Set axis constraints Parameter setting is a bitwise inclusive OR operator (|) of AUTOPATH_CONSTRAINT_...
static ER_DllExport int * inq_body_show_normals(void *body_handle)
Show normals of body givin by a handle Allows to dis- or enable visualizazion of body normals.
static ER_DllExport void moni_i(char *s, int *v, int n)
Vector output into the message file moni_msg.txt.
static ER_DllExport frame ** inq_univ_trans_T(void)
Address to Target location base to tip, obsolete Used for numerical solution for inverse kinematics.
static ER_DllExport int * inq_chome_idx(void)
idx of current homeposition [0..KIN_HOMEPOSITIONS-1]
static ER_DllExport frame * inq_mbTt_dyn(void)
Actual Transformation movable base to Tip, depending on actual joint data.
static ER_DllExport void moni_T(char *s, frame *T)
Frame output into the message file moni_msg.txt.
static ER_DllExport int camera_name(char *name)
Set camera by geometry name.
static ER_CAPI_TARGETS er_capi_targets
Method class for paths and tags.
Definition: ER_CAPI.H:96
static ER_DllExport int * inq_body_obj_n_line(void *obj_handle)
Number of lines within an object.
static ER_DllExport int * inq_warnings(void)
Warning vector for inverse kinematics For each solution a warning value, which is one of WARN_OK,...
static ER_DllExport int color_idx2rgb_vad(int idx, float *rgba)
Converts a color idx 'idx' to RGBA Color ('A'-Alfa value)
static ER_DllExport CIRC_ORI_MODE * inq_ipo_path_circ_ori_mode(void)
Current Orientation mode for circular interpolation The orientation mode is a member of CIRC_ORI_MODE...
static ER_DllExport int LoadMimicFile(char *mimic_file)
Sets mimic file name. Set mimic file for current device, will be used when the simulation starts.
static ER_DllExport int body_save_position(void *body_handle, int grp_type)
Saves body position as start condition Parameter grp_type is one of ROBOT_GRP, TOOL_GRP or BODY_GRP O...
static ER_DllExport ROB_DH * inq_rob_dh0_passiv(void)
Denavit-Hartenberg-Transformation to previous joint for each passive joint "Geometric Data from last"...
static ER_DllExport ER_UID inq_EasyRobDll_Hwnd_ex(void)
Get EASY-ROB Handle from HWND, GetSafeHwnd()
static ER_DllExport int zoom_CadPreview(int zoom_flag=ZOOM_FLAG_DEFAULT)
Zoom complete 3D Scene in the CadPreview zoom_flag is a bitwise inclusive OR operator (|) of ZOOM_FLA...
static ER_DllExport int Device_Create(char *robot_name)
Creates a new device with one rotational axis in z direction.
static ER_DllExport int ChkRobotCellLoaded(int confirm=0)
Check if cell is loaded or at if least one robot is available If paramter confirm is set to 1,...
static ER_DllExport int body_merge(void *body_handle, char *igp_fln, int merge_attributes)
merges body and save to ascii or binary igp file Parameter merge_attributes is a bitwise inclusive OR...
static ER_DllExport int U3DPdf_ExportAPI(int pdf_flag, char *s=NULL)
Control 3D PDF and HTML Export To open the created 3D Pdf file, Adobe Reader up to version XI is requ...
static ER_DllExport int FindPath(void)
Start motion planner, find a collision free path between start and end pose In each step,...
static ER_DllExport float sass(float s1, float beta, float s2)
Triangle calculation, calculates the opposite site of angle beta Using cosine rule c^2 = a^2 + b^2 -...
static ER_DllExport int ChkErcCmd(char *cmd)
Check if the command cmd starts with the key 'ERC'.
static ER_DllExport void mul_R_R(FRAME *Ro, FRAME *Ri1, FRAME *Ri2)
Orientation multiplication of two homogeneous 4x4 transformation matrices. Ro = Ri1 * Ri2 A frame FRA...
static ER_DllExport int StopContRunProgram(void)
Stop/Pause or continue running simulation.
static ER_DllExport int * inq_cart_limits_joint_idx_passive(void)
Bitfield to determine the passive joints building the bounding box to check the cartesian limits see ...
static ER_DllExport int move_to_api(void *vrpd, int line_no, int step_no, char *prg_line, frame *via_T, frame *Ts, int extax_mode=EXTAX_MODE_OFF, float *q_linext=NULL, float *v_linext=NULL, int *q_linext_idx=NULL)
Moves to cartesian target location Ts For circular interpolation the via target location via_T is co...
static ER_DllExport ER_UID inq_Get_device_uid_by_idx(int idx)
Get device unique uid by device idx if idx is not valid, -1 is returned.
static ER_DllExport int swap_TagDown(void)
Swaps Tag pointer with the next Tag .
static ER_DllExport int SetAxisEnable(int axisBit, int enable)
Set axis enable.
static ER_DllExport float * inq_uc(void)
Controller signal see inq_uc1()
static ER_DllExport int LoadToolFileRun(char *fln)
Load a tool file '.tol' while program is running.
static ER_DllExport float inq_coll_min_distance_c(void)
Collision distance when collision (dist < collision tolerance)
static ER_DllExport int Tool_Device_by_uid(ER_UID tool_device_uid)
Sets tool data to the device specified by unique id The current device takes over the current tool da...
static ER_DllExport void rob_kin_set_warnings(int warn)
Predefine or set the warning for all inverse solution Use for the API for inverse kinematics Paramete...
static ER_DllExport int * inq_ipo_prep_extax_mode(void)
External Axis mode.
static ER_DllExport int * inq_EasyRobDll_Active(void)
Check if EASY-ROB Application is still active.
static ER_DllExport void track_reset(int dyn=0)
Deletes the Tcp trace for the current device.
static ER_DllExport char * inq_rob_tag_extaxtype_idx(int idx)
tag_attributes, type 'R' or 'T' of controlled joint [] Contains the type of the controlled joint of t...
static ER_DllExport float * inq_cntrl_uc_kiv1(void)
Controller Signal.
static ER_DllExport frame * inq_Get_c_wobj_frame()
Get current wobj location w.r.t. path reference system.
static ER_DllExport int * inq_robot_type(void)
Type of device, i.e. Robot, Tool, etc.
static ER_DllExport float * inq_ipo_path_vq(void)
Programmed Joint speed in [deg/s], obsolete use inq_ipo_path_vq_axis()
static ER_DllExport frame * inq_tTw_data_idx(int ctool_idx)
Tool data for ctool_idx.
static ER_CAPI_SIM_COLLISION er_capi_sim_collision
Method class for collision, tolerances, etc.
Definition: ER_CAPI.H:5574
static ER_DllExport int * inq_rob_tag_color_idx(int idx)
tag_attributes, color of tag Use inq_rob_tag_color_set_idx() to change the color
static ER_DllExport int * inq_track_ref_sys_jnt_idx(void)
Reference joint idx of the cTcp trace, if the reference type is REF_JNT The index of reference joint ...
static ER_DllExport int * inq_single_cmd_c_device_idx(void)
Current device idx ERPL command: ERC CURRENT_DEVICE SET 'robotname’, see ERPL Manual EASY-ROB-ERPL-en...
static ER_DllExport frame * inq_rob_tag_T_cRBase_idx(int idx)
Temporary Tcp location w.r.t to cRobot Base This Tcp location w.r.t to cRobot Base is saved when the ...
Method class for setting and calculating units.
Definition: ER_CAPI.H:9246
Method class for trajectory planning (preparation)
Definition: ER_CAPI.H:4556
EXPORT_C ER_CAPI * _inq_er_capi(void)
Address to ER_CAPI method class.
static ER_DllExport frame ** inq_pjntTmb_ref(void)
Reference, points to inq_pjntTmb() per default.
static ER_DllExport int Get_cPickMode_Chk_1(void)
Returns the current Chk_1 box status in the Navigator Window The content depends on the current Picki...
static ER_DllExport char * inq_cell_info(void)
Cell Information The cell information will be displayed in the lower left corner of the opengl scene ...
static ER_DllExport int PickDistanceDeviceMeasure(int hold_first_point=0)
Enables the user to measure the Distance between Devices. Parameter hold_first_point can be one of th...
static ER_DllExport int * inq_stop_speed(void)
Causes the robot to stop if joint speeds are exceeded.
static ER_DllExport int * inq_kin_connect_dof_passiv(void)
Dof array where passive joints are connected to [-num_pJnts, ... , 0 , num_aJnts] Remarks A negative...
static ER_DllExport int Get_cPickMode_Chk_2(void)
Returns the current Chk_2 box status in the Navigator Window The content depends on the current Picki...
static ER_DllExport void mul_T_invT(FRAME *To, FRAME *Ti1, FRAME *Ti2)
Multiplication of two homogeneous 4x4 transformation matrices. To = Ti1 * inv(Ti2) Remarks inv(T) is...
static ER_DllExport frame * inq_mbTw_dyn(void)
Actual Transformation movable base to Tcp, depending on actual joint data.
static ER_CAPI_MOP_EXEC er_capi_mop_exec
Method class for trajectory execution.
Definition: ER_CAPI.H:4150
static ER_DllExport int * inq_turn_enable(void)
Turns enabled The turn_enable is set automatically for PTP motion and if the PTP calculation mode is ...
static ER_DllExport char * GetPrgfile(void)
Returns program file for cRobot.
static ER_DllExport float * inq_swe_max_passive(void)
Maximum travel ranges for passive joints.
Method class for collision, tolerances, etc.
Definition: ER_CAPI.H:5854
static ER_DllExport char * GetSystemPath(void)
EasyEdit SystemPath obsolete.
static ER_DllExport int inq_camera_enable(void)
Camera enable.
static ER_DllExport void * inq_body_group_handle(int grp_type)
Return group handle of current Device Parameter grp_type is one of ROBOT_GRP, TOOL_GRP or BODY_GRP.
static ER_DllExport int PickSnapDeviceTo(int SnapToMode=0)
Enables the user to snap a Device to a polygon or a vertex. Parameter SnapToMode can be one of the fo...
static ER_DllExport float * inq_q(int soln)
Solution array as a result of inverse kinematics calculation The inverse kinematics IKP calculates fo...
static ER_DllExport float * inq_rob_tag_length_idx(int idx)
tag_attributes, tag length [m] Tag size for visualization
static ER_DllExport double * inq_univ_trans_mask(void)
Cartesian mask Used for numerical solution for inverse kinematics. The cartesian mask allows to mask ...
static ER_DllExport char * inq_rob_tag_user_string_idx(int idx)
tag_attributes, user defined Tag string To store miscellaneous user data
static ER_DllExport int PickTag(void)
Enables the user to pick a tag. Remarks The exported function EXPORT_C AuxUpdate(int idx) is called ...
const int COLOR_USE_USER
USER color are saved with cel or rob file.
Definition: ER_CAPI_TYPES.H:777
static ER_DllExport frame * inq_bBase(void)
Program shift w.r.t. robot base This method takes effect when executing a motion command given by val...
enum _CIRC_ORI_MODE CIRC_ORI_MODE
static ER_DllExport frame * inq_Get_c_wobj_frame_ref()
Get wobj location w.r.t. to world system.
static ER_DllExport int inq_Get_c_device_idx(void)
Get current device idx [1..n_devices].
static ER_DllExport int PickPolyCenter(void)
Enables the user to pick the center of a polygon. Remarks The exported function EXPORT_C AuxUpdate(i...
static ER_DllExport float * inq_ipo_path_vqs(void)
Joint start speed in [deg/s].
static ER_DllExport int * inq_config_ext(void)
Return pointer of current robot configuration within [0..KIN_CONFIGS-1], see also inq_config() and in...
static ER_CAPI_DEVICES er_capi_devices
Method class to create, attach, update devices, for kinematics calculations and for trajectory planni...
Definition: ER_CAPI.H:88
static ER_DllExport int vec_to_frame_idx(float *vec, frame *T, int rotation_idx)
Converts an euler vector or quaternion into a frame. Vector vec is converted into a frame T A frame ...
static ER_DllExport float * inq_cruise_coi_pos(void)
COI Center Of Interest w.r.t. WORLD Origin.
static ER_DllExport float * GetAxisConstraintsMin(void)
Get axis constraints min. values Remarks Axis constraints can be set before, using SetAxisConstraint...
static ER_DllExport float * inq_bdxw(void)
Cartesian Error in Tcp w.r.t. robot base see also inq_dq()
static ER_DllExport float * inq_rob_tag_accel_ptp_idx(int idx)
Tag_attributes, ptp acceleration, 0-def, [rad/s^2] Remarks use inq_rob_tag_accel_ptp_ov_idx() instea...
static ER_DllExport frame * inq_tTw_data_strt_idx(int ctool_no)
Start condition, Tool data for ctool_idx.
static ER_DllExport void rob_kin_user_msg(char *s)
Displays message to the message window.
static ER_DllExport void * inq_body_handle_byname(void *grp_handle, char *name)
Return body handle by body name Parameter grp_handle must be valid and not 0 Parameter name is a vali...
static ER_DllExport int CruiseRobotTcp(int robot_tcp_idx)
Set Cruise mode to cRobot Tcp.
static ER_DllExport int dialog_save_file(char *fln, char *dialog_title)
Opens a dialog, for entering or selecting a file to save.
static ER_DllExport double * inq_achs_rotx(void)
Kinematics angles for X rotation [deg] for each active joint Calculated from "Geometric Data to next"...
static ER_DllExport int set_callback_AuxUpdate(int callback_fct_id, int(*callback_AuxUpdate)(int idx, int sub_idx))
Defines callback fct pointer array for AuxUpdate Parameter callback_fct_id is zero based in [0....
Method class to "pick" objects such as devices, tags, polygon, vertices, measure distances,...
Definition: ER_CAPI.H:923
static ER_DllExport void * inq_EasyRobDll_Hwnd(void)
Get EASY-ROB Handle from CWnd class.
static ER_DllExport int PickDistancePolyCenter(int hold_first_point=0)
Enables the user to measure the Distance between Polygons. Parameter hold_first_point can be one of t...
static ER_DllExport int GetNumberOfWayPoints(void)
Get number of calculated way points See GetWayPointDof(), GetWayPointDof()
Method class containing all other ER_CAPI_* classes.
Definition: ER_CAPI.H:78
static ER_DllExport float * inq_ipo_prep_end_q(void)
Robot joint data at target location.
static ER_DllExport int chk_limits(int idx)
Check if an Error occured The parameter idx can be one of the following values. AUX_UPDATE_IDX_SWE_EX...
static ER_DllExport int * inq_rob_track_dyn_bits(void)
Set the Dynamics Tcp trace attribute Bits.
static ER_DllExport int inq_body_n_point_total(void *body_handle)
Number of total points/vertices within body givin by a handle A body contains a number of objects....
Method class for 3D Pdf Export.
Definition: ER_CAPI.H:1596
const int CONVERT_CAD_TESSELATION_RESET
Reset to origin Tesselation.
Definition: ER_CAPI_TYPES.H:809
static ER_DllExport int Shift_cTagOnFrame(frame *T)
Shifts cTag to location of frame 'T'.
static ER_DllExport int ClearAllWayPoints(void)
Clear all way points.
static ER_DllExport int UnloadPath(int confirm=1)
Unload current Path If paramter confirm is set to 1, the user will be prompted to confirm this operat...
static ER_DllExport int * inq_invkin_sub(void)
Inverse kinematics Sub-ID for cRobot.
static ER_DllExport frame * inq_kin_achs_T_passiv(int passiv_jnt_no)
Homogeneous-Transformation to next joint for each passive joint "Geometric Data to next" see inq_kin_...
static ER_DllExport char * inq_kin_calc_passiv(int passiv_jnt_no)
Formula for mathematical dependency for passive joints.
static ER_DllExport int * inq_accel_chk_always()
Causes an AuxUpdate() call if set and if joint accels are exceeded AuxUpdate idx = AUX_UPDATE_IDX_ACC...
static ER_DllExport int NewTagOnFrame(frame *T)
Creates a new Tag in current path at location of frame 'T', without grf_update and TagDlg update.
static ER_DllExport int chk_collision_devices_idx(int dev_idx_1, int dev_idx_2)
Check for collision between two devices The device index dev_idx_1 , dev_idx_2 must be in [1....
static ER_DllExport int * inq_robot_collision(void)
1-def, robot is in collision queue, if robot_collision disabled, no collision check
Method class for interaction with EASY-ROB.
Definition: ER_CAPI.H:113
static ER_DllExport double * GetAxisConstraintsMax(void)
Get maximum axis constraints return pointer, size nConfig.
static ER_DllExport ER_UID inq_Get_c_device_uid(void)
Get current device unique id.
static ER_DllExport char * get_system_folder_file(int request_idx=SYS_SYSTEM_FOLDER_DIRECTORY_UNDEF)
Supplies requested system path or file. Parameter request_idx is one of SYS_SYSTEM_FOLDER_DIRECTORY_U...
static ER_DllExport float * inq_system_step(void)
Sample rate system model for cRobot [s].
static ER_DllExport float * inq_a_dyn(void)
Actual dynamics joint acceleration values and inq_v_dyn(), inq_q_dyn()
static ER_DllExport char * inq_Get_c_wobj_name()
Get current wobj name.
static ER_DllExport int * inq_track_ref_sys_grp(void)
Reference group of tcp trace The reference group depends on the attach location. e....
static ER_DllExport int * inq_ipo_path_path_via_motion_idx(void)
Path motion idx when interpolating to a via target tag.
static ER_DllExport int PickTripplePlaneCircleMeasure(int hold_first_two_planes)
Enables the user to measure a circle segment with three plane. Parameter hold_first_two_planes can be...
static ER_DllExport int GetResults(int ap_result)
Get Autopath Result Parameter ap_result is one of AUTOPATH_RESULT_CHECKS, AUTOPATH_RESULT_SECONDS,...
static ER_DllExport int * inq_ipo_prep_sync(void)
EasyEdit, Conveyor synchonization flag.
static ER_DllExport float * inq_a_solut(void)
Desired joint accel values.
static ER_DllExport double rob_kin_atan2(double y, double x)
Calculates math function atan2 If x=y=0, this function return 0.
static ER_DllExport float * inq_body_transparency(void *body_handle)
Transparency (alfa) value of body givin by a handle The transparency value is between 0 and 1....
static ER_DllExport int _info_line_msg_M(int moni, char *s, float *M, int n, int m, float scal=1)
float Matrix (nxm) output into Message Window If parameter moni is 1, the output is appended to the m...
Method class forward-, Inverse kinematics, desired robot joints, tools, position w....
Definition: ER_CAPI.H:2627
static ER_DllExport frame * inq_rob_tag_frame_strt_idx(int idx)
tag_attributes, tag start location w.r.t. it work object frame A tag start location is the start cond...
const int ZOOM_FLAG_DEFAULT
Zoom flag default setting.
Definition: ER_CAPI_TYPES.H:233
static ER_DllExport float * inq_cntrl_kiv(void)
I Factor for PPI Cascade Controller.
static ER_DllExport int _info_line_msg_lM(int moni, char *s, double *M, int n, int m, double scal=1)
double Matrix (nxm) output into Message Window If parameter moni is 1, the output is appended to the ...
static ER_CAPI_CAD_CREATE er_capi_cad_create
Method class for creating primitive geometries such as cubes, cylinder, spheres, etc.
Definition: ER_CAPI.H:7159
static ER_DllExport int inq_body_number(void *grp_handle)
Get number of geometries in the group Parameter grp_handle must be valid and not 0.
static ER_DllExport float * inq_rob_tag_speed_ptp_idx(int idx)
Tag_attributes, ptp speed, 0-def, [rad/s] Remarks use inq_rob_tag_speed_ptp_ov_idx() instead.
static ER_DllExport float * inq_ipo_path_aq(void)
Programmed Joint acceleration in [deg/s^2], obsolete use inq_ipo_path_aq_axis()
static ER_DllExport int _info_line_msg_i(int moni, char *s, int *vi, int n, int scal)
int Vector output into Message Window If parameter moni is 1, the output is appended to the monitorin...
static ER_DllExport char * inq_swe_max_calc_md(int joint_idx)
Equation to calculate math. dependency for positive travel ranges for an active joint Takes effect if...
static ER_DllExport float * inq_cart_limits_max(void)
Max. fix cartesian xyz limits w.r.t. RBase [m] see inq_cart_limits_joint_idx_active(),...
static ER_DllExport char * inq_robot_type_s(int type_idx=0)
Name of current robot type see inq_robot_type()
static ER_DllExport int get_hardware_id(char *hw_id)
Supplies unique HardwareID or DongleID.
static ER_DllExport int inq_Get_n_paths()
Get number of paths in loaded workcell .
static ER_DllExport int * inq_stop_collision(void)
Enables, disables stop on collision.
static ER_DllExport float * inq_ipo_data_gtime(void)
global Simulation time [s] for complete work cell
static ER_DllExport float * inq_kin_user_data(int idx=0)
Special kinematics User Data See also inq_num_kin_user_data(), inq_kin_user_data_name()
static ER_DllExport float * SetStartPose(void)
Set current robot joint location as start pose Remarks This pose must be collision free,...
static ER_DllExport frame * inq_achs_T_activ(void)
Kinematics transformation to the next joint for each active joint "Geometric Data to next" .
static ER_DllExport int camera_position(float *pos=NULL)
Set camera xyz position.
static ER_DllExport int inq_body_cad_mem_model(void *body_handle)
Get the cad memory model of body givin by a handle The cad memory model and is one of ER_CAD_MEM_VBO,...
static ER_DllExport int * inq_invkin(void)
Inverse kinematics ID for cRobot.
static ER_DllExport void incr_T(FRAME *Ti1, FRAME *Ti2, int res)
Multiplication of two homogeneous 4x4 transformation matrices. Depending in res , the result is copie...
static ER_DllExport int SavePath(void)
Opens a dialog to save a .tag File with the current path.
static ER_DllExport float * inq_body_obj_normals(void *obj_handle, int idx)
Normal vector of polygon of an object Use er_cad_io.inq_body_obj_n_poly() to get the number of polygo...
static ER_DllExport double * inq_univ_trans_weight(void)
Joint weight Used for numerical solution for inverse kinematics. The joint weight allows to weight ea...
static ER_CAPI_MOP_PATH er_capi_mop_path
Method class for path specifications, motion type (PTP, LIN, CIRC), speeds, acceleration,...
Definition: ER_CAPI.H:4142
static ER_DllExport int * inq_single_cmd_ext_Tcp_idx(void)
External Tcp is active or disabled ERPL command: ERC EXT_TCP ON or OFF, see ERPL Manual EASY-ROB-ERPL...
static ER_DllExport int inq_num_active_jnts(void)
Number of active joints within [1..KIN_DOFS].
static ER_DllExport float * inq_ipo_data_lag_time(void)
Time after the current move [s] for cRobot.
static ER_DllExport int inq_body_n_obj_vbo(void *body_handle)
Get the number of objects loaded into the grafics board Remarks Each body consists of several objec...
static ER_DllExport int set_body_rgba_color(void *body_handle, float *rgba_color, int color_use=COLOR_USE_USER, int color_idx2change=0)
Set the RGB color of body givin by a handle Furthermore the object color can be exchanged Parameter c...
static ER_DllExport int * inq_rob_track_dyn_vis_attrib(void)
Dynamics Tcp trace attributes visibility for cRobot.
static ER_DllExport void ** inq_ipo_cp_usr_ptr(void)
Access user pointer for linear interpolation in er_ipo.dll This allows the user to allocate individua...
static ER_DllExport int PickCruise(void)
Enables cruise mode.
static ER_DllExport int * inq_device_ref_sys_grp(void)
Reference group of current device The reference group depends on the attach location....
static ER_DllExport int SaveCell_ext(char *new_cel_fln=NULL, int confirm_overwrite=1, int reset_pos=0, int save_pos=1)
Saves a cell file by filename If new_cel_fln is NULL, the user will be prompted to enter or select a ...
static ER_DllExport int AfxMessageBox(char *s, unsigned int nType=MB_ICONSTOP)
Show Message Box Parameter mb represents the style of the message box and is a combination of MB_OK,...
static ER_DllExport int rob_kin_chk_travel_range(float *q)
Checks if all joint data are inside a valid travel range.
static ER_DllExport float * inq_ipo_path_ax_ov_set(float ov)
Calc. ax as percentage value of inq_ax_max()
static ER_DllExport frame * inq_Get_c_tag_frame()
Get current tag location w.r.t. wobj frame location.
static ER_DllExport char * inq_body_coll_exl_list(void *body_handle)
Collision exclude list of same group used for robot itself collision The string contains indices of b...
static ER_DllExport int GetResults(int ap_result)
Get results Paramter ap_result is one of AUTOPATH_RESULT_CHECKS AUTOPATH_RESULT_SECONDS AUTOPATH_R...
const int CONVERT_CAD_DEFAULT
CONVERT_CAD_MSG_WARNING, CONVERT_CAD_HEAL, CONVERT_CAD_SEW.
Definition: ER_CAPI_TYPES.H:805
static ER_DllExport float * inq_ipo_exec_vs(void)
Desired interpolated joint speed data [rad/s] or [m/s].
static ER_DllExport char * inq_kin_type_passiv(void)
'T'- translational-, 'R'- revolute for passive joints Remarks For a two passive joints the type stri...
static ER_DllExport int * inq_ipo_data_ipo_in_position(void)
Indicator, cRobot has reached its target position.
static ER_DllExport int GetDlgParameter(int ap_dlg_option)
Get Autopath dialog parameter Parameter ap_dlg_option is one of AUTOPATH_DLG_PARAMETER_API_CONTROL,...
static ER_DllExport int get_collision_workcell_msg(char *msg)
Collision message in case of detected collision Call chk_collision_workcell() first to detect workcel...
static ER_DllExport int * inq_rob_tag_lin_ori_mode_idx(int idx)
tag_attributes, orientation interpolation mode for LIN motion type default is 4 - LIN_QUATERNION
static ER_DllExport float * sys_m_to_unit()
Scaling value to convert the internal unit 'm' to the user defined unit defined in the environment fi...
static ER_DllExport float * inq_v_max(void)
Max. joint or axis speeds [rad/s,m/s].
static ER_DllExport frame * inq_ipo_prep_end_T(void)
Target TCP location.
static ER_DllExport ER_UID * inq_rob_tag_uid_cR_idx(int idx)
Temporary unique robot id of cRobot This Unique robot ID of the cRobot is saved when the cRobot reach...
static ER_DllExport int * inq_path_ref_sys_grp(void)
Reference group where the path is attached to The reference group depends on the attach location....
static ER_DllExport int SetAxisPriority(int axisBit, int priority)
Set axis priority.
static ER_DllExport void * inq_body_obj_handle(void *body_handle, int i_obj)
Handle to object within a body Use inq_body_n_obj() to retreive the number of objects within a body.
static ER_DllExport int ChkPrgLoaded(int confirm=0, int set_prg_dev=0)
Check if a robot Program file is loaded If paramter confirm is set to 1, the user will be prompted to...
static ER_DllExport float * inq_ipo_path_vxe_ori(void)
Programmed orientation end speed in [deg/s].
static ER_DllExport float asss(float beta, float s1, float s2)
Triangle calculation, calculates 3rd side s3 Remarks See EASY-ROB-ERPL-eng.pdf "parser functions".
static ER_DllExport float * inq_q_dyn(void)
Actual dynamics joint axis values see inq_v_dyn() = d(inq_q_dyn())/dt.
static ER_DllExport int convert_color_rgb_to_idx(float *rgb, int *idx)
Convert a RGB color to color idx .
static ER_DllExport int * inq_track_dyn_color(void)
Dynamics Tcp trace color.
static ER_DllExport float * inq_rob_tag_accel_cp_ov_idx(int idx)
Tag_attributes, cp override accel, 0-def [0-200%].
static ER_DllExport char * inq_device_ref_sys_type_name(void)
Reference type name of the current device The reference type name (name of attach location) depends o...
static ER_DllExport int * inq_body_color_sub_idx(void *body_handle)
Color sub idx of body givin by a handle The color sub idx is a positive value see inq_body_color_idx(...
static ER_DllExport float * inq_rob_kin_v_usr0(void)
1st User Vector for Testing
static ER_DllExport int * inq_ctool_idx(void)
Get current tool idx [0..KIN_TOOLS-1].
Method class for path specifications, motion type (PTP, LIN, CIRC), speeds, acceleration,...
Definition: ER_CAPI.H:4282
static ER_DllExport void mul_T_invT_invT(FRAME *To, FRAME *Ti1, FRAME *Ti2, FRAME *Ti3)
Tripple multiplication of homogeneous 4x4 transformation matrices. To = Ti1 * inv(Ti2) * inv(Ti3) Rem...
static ER_DllExport int body_reset_position(void *body_handle, int grp_type)
Resets body position to start condition Parameter grp_type is one of ROBOT_GRP, TOOL_GRP or BODY_GRP ...
static ER_DllExport void ** inq_ipo_circ_usr_ptr(void)
Access user pointer for circular interpolation in er_ipo.dll This allows the user to allocate individ...
static ER_DllExport int ClearAllWayPoints(void)
Clears all calculated way points See GetNumberOfWayPoints(), GetWayPointDof(), GetWayPoint(),...
static ER_DllExport int * inq_ipo_data_skip_call_inv_kin(void)
Decides if the inverse kinematics has been already called by the user defined trajectory planner,...
static ER_DllExport void ** inq_UserDll_usr_ptr(int userdll_idx)
access user pointer for API UserDlls The number of currently loaded UserDll can be retrieved with inq...
static ER_DllExport int inq_UserDll_number()
Get number of loaded API UserDlls Each API UserDll is defined in the configuration file config....
static ER_DllExport int * inq_rob_tag_leading_pos_idx(int idx)
tag_attributes, Leading behavior for CP motion 2 - VAR the slowest is dominant, default 1 - Pos the p...
static ER_DllExport int chk_collision_devices_uid(ER_UID dev_uid_1, ER_UID dev_uid_2)
Check for collision between two devices If dev_uid_1 or dev_uid_2 are not valid, -1 is returned In ca...
static ER_DllExport int SaveCell(void)
Opens dialogto save a .cel Cell file.
static ER_DllExport int inq_body_cad_type(void *body_handle)
Return cad_type of a body givin by a handle Parameter body_handle must be valid and not 0 The cad_typ...
static ER_DllExport float rob_kin_to_RAD(int joint_dof)
Returns RAD if joint is rotational, else 1.
static ER_DllExport int dialog_open(int dialog_idx, int dlg_mode)
Opens an EASY-ROB non modal dialog The method allows to open or close non modal dialog or request its...
static ER_DllExport int Pick3PointCircleMeasure(int vertices=1, int second_circle_measure=0)
Enables the user to measure a circle segment with three points. Parameter vertices can be one of the ...
const int ERGL_MODE_INQ
return address of requested 'ergl_param' data
Definition: ER_CAPI_TYPES.H:926
static ER_DllExport int RunProgram(char *prgline=NULL, int confirm=1)
Run complete program or single ERPL-/ERCL command If parameter prgline is NULL, the current loaded pr...
static ER_DllExport double * inq_achs_offsets1(void)
Kinematics lengths in X direction [m] for each active joint Calculated from "Geometric Data to next" ...
static ER_CAPI_SYS_STATUS er_capi_sys_status
Method class for unloading objects (work cells, robots, tools, programs, etc.) simulation status.
Definition: ER_CAPI.H:8269
static ER_DllExport int PickDoublePlaneEdgeFollowerMeasure(int hold_first_plane)
Enables the user to start the edge follower by picking 2 planes or poly center. Parameter hold_first_...
static ER_DllExport int * inq_body_is_pickable(void *body_handle)
Enable/disable pickability of body givin by a handle.
static ER_DllExport char * inq_track_ref_sys_name(void)
Reference name of the tcp trace The reference type name (name of attach location) depends of one of t...
static ER_CAPI_MOP_DATA er_capi_mop_data
Method class for start-, target data, motion time, etc.
Definition: ER_CAPI.H:4138
static ER_DllExport int * inq_stop_accel(void)
Causes the robot to stop if joint accels are exceeded.
static ER_DllExport float * inq_rob_tag_extax_idx(int idx)
tag_attributes external axis value [] See inq_rob_tag_n_extax_idx(), inq_rob_tag_extaxjnt_idx(),...
static ER_DllExport double * inq_achs_offsets2(void)
Kinematics lengths in Y direction [m] for each active joint Calculated from "Geometric Data to next" ...
static ER_DllExport int color_rgb2idx_vad(float *rgba)
Converts RGBA Color ('A'-Alfa value) to a color idx 'idx'.
static ER_DllExport int Tool_Device_by_idx(int tool_device_idx)
Sets tool data to the device specified by idx The current device takes over the current tool data of ...
static ER_DllExport char * inq_track_ref_sys_type_name(void)
Reference type name of the tcp trace The reference type name (name of attach location) depends of one...
static ER_DllExport void mul_T_invT_T(FRAME *To, FRAME *Ti1, FRAME *Ti2, FRAME *Ti3)
Tripple multiplication of homogeneous 4x4 transformation matrices. To = Ti1 * inv(Ti2) * Ti3 Remarks ...
static ER_DllExport int * inq_ipo_path_ptp_phasen_synchron(void)
Setting for PTP synchonization.
Method class for mathematical calculations, simulation status, units.
Definition: ER_CAPI.H:8247
static ER_DllExport float * inq_rob_tag_lead_time_idx(int idx)
tag_attributes, wait time before move begins, 0-def [s]
static ER_DllExport int Convert_CAD_Unload(void)
Unload CAD Import Kernel.
static ER_DllExport int frame_to_vec_idx(float *vec, frame *T, int rotation_idx)
Converts a frame into an euler vector or quaternion. Frame T is converted into a vector vec A frame ...
static ER_DllExport ER_UID * inq_device_sync_ref_sys_grp_uid(void)
Obsolete, use inq_device_link_ref_sys_grp_uid()
static ER_DllExport double * inq_joint_offset(void)
cRobot joint offsets for each active joint in [m] or [rad]
static ER_DllExport int * inq_rob_tag_auto_accel_idx(int idx)
Tag_attributes, auto acceleration, 0-def If auto accel is enabled for a tag, the accelerations for pt...
static ER_DllExport int LoadRobot(void)
Opens Dialog to load a .rob Robot or Device file.
static ER_DllExport int _info_line_msg_T(int moni, char *s, frame *T)
Frame output into Message Window If parameter moni is 1, the output is appended to the monitoring fil...
static ER_DllExport int U3DHtml_ExportAPI(int html_flag, char *sn=NULL, char *sv=NULL)
Control 3D HTML Export To open the created 3D Html file, a suitable browser (Edge,...
static ER_DllExport int * inq_cSimView(void)
Return current simulation "View" number [0.. NUM_SIM_VIEWS-1].
static ER_DllExport int PickSnapBodyTo(int SnapToMode=0)
Enables the user to snap a Body to a polygon or a vertex. Parameter SnapToMode can be one of the foll...
static ER_DllExport int rob_kin_joint_rot(int joint_dof)
Get active robot joint type An active robot joint type can be rotational or prismatic See rob_kin_joi...
static ER_DllExport int LoadProgram(void)
Opens Dialog to load a .prg Program file.
static ER_DllExport char * EasyRobPlatform(void)
EASY-ROB Platform, x86 or x64.
static ER_DllExport int * inq_body_mark_selected_color_idx(void *body_handle)
Inquire the color_idx to mark a body givin by a handle.
static ER_DllExport int StartCondition_ResetSave(int start_condition=START_CONDITION_RESET_ALL_ROBOTS)
Reset or Save the Start Conditions for the current or all robots Parameter start_condition is bitwise...
static ER_DllExport frame * inq_rob_tag_frame_idx(int idx)
tag_attributes, tag location w.r.t. it work object frame see
static ER_DllExport int SetPrgId(int PrgId)
Set program interpreter ID The program interpreter ID is one of ERPL = 0, BM_T1 = 1,...
static ER_DllExport void * inq_body_obj_attributes_handle(void *body_handle, int i_obj)
Handle to object attributes within a body Use inq_body_n_obj() to retreive the number of objects belo...
static ER_DllExport int SaveTool(void)
Opens a dialog to save a .tol Tool File.
static ER_CAPI_SIM_MONITORING er_capi_sim_monitoring
Method class for monitoring of travel ranges, speeds, etc.
Definition: ER_CAPI.H:5570
static ER_DllExport int body_update_cad_file(void *body_handle=0, int use_vbo=0)
Updates a body Unloads and reloads a body from file Parameter /p use_vbo determines if VBO (vertex bu...
static ER_DllExport double * inq_univ_trans_tol_m(void)
Square of cartesian position tolerance [m^2] Used for numerical solution for inverse kinematics....
static ER_DllExport void * inq_body_group_handle_current(void)
Get current group handle Depending on cDevice and the current selected geometry.
static ER_DllExport int GetPrgId(void)
Program interpreter ID for program interpreter The program interpreter ID is one of ERPL = 0,...
static ER_DllExport void extract_fln_with_ext(char *fln, char *fln_with_ext)
Extract the file name with extension from a complete file name including drive and path.
static ER_DllExport char ** inq_kin_user_data_name(int idx=0)
Special User Data Names See also inq_num_kin_user_data(), inq_kin_user_data()
static ER_DllExport int UnloadTool(int confirm=1)
Unload current Tool If paramter confirm is set to 1, the user will be prompted to confirm this operat...
static ER_DllExport int CruiseZoomView(int dzoom)
Zoom in or our the 3D Scen dzoom is > 0 to zoom in, or < 0 to zoom out .
static ER_DllExport int CloseApplication(int confirm=0)
Close EASY-ROB application If paramter confirm is set to 1, the user will be prompted to confirm this...
static ER_DllExport char * inq_tool_name(void)
Get current tool name.
static ER_DllExport int * inq_unreach_chk_always()
Causes an AuxUpdate() call if set and if unreachable target location AuxUpdate idx = AUX_UPDATE_IDX_U...
static ER_DllExport frame * inq_camera_position(void)
Return camera frame position.
static ER_DllExport int UnloadCADPreview(int confirm=1)
Unload the geometry in the CAD Preview.
static ER_DllExport float * inq_model_N(void)
Gear ratio.
static ER_DllExport float * inq_ipo_prep_t_bahn(void)
Required motion time for current move, calculated in ipo_preparation.
enum _LIN_ORI_MODE LIN_ORI_MODE
static ER_DllExport int Path_ReAttach_by_name(int path_idx, int new_reference_type, char *new_reference_device_name, int new_reference_cad_grp_type=ROBOT_GRP, char *new_reference_cad_name=NULL, int new_reference_jnt_idx=0, bool keep_world_position=false)
Reattach a path to a device, givin by device name Attaches the path given by path_idx to a device,...
static ER_DllExport int U3DPdf_ExportAPI_SetCallbackSaveStatus(void(*ptr_SaveStatusFct)(int))
Defines a callback function for status messages when saving the 3D PDF file Parameter save_status in ...
static ER_DllExport char * inq_UserDll_user_name(int userdll_idx)
Access user name for API UserDlls The number of currently loaded UserDll can be retrieved with inq_Us...
static ER_DllExport frame * inq_Get_c_wobj_frame_strt()
Get current start wobj frame w.r.t. path reference system.
static ER_DllExport float * inq_rob_tag_acc_set_ramp_idx(int idx)
Tag_attributes, AccSet Ramp, 100-def [20-100%] Set AccSet Ramp to 20% for smooth acceleration Set Acc...
static ER_CAPI_CAD er_capi_cad
Method class for for 3D CAD Data import and -export, changing attributes and positions.
Definition: ER_CAPI.H:100
Method class to access API UserDll Option API UserDll allows the user to develop user defined dlls....
Definition: ER_CAPI.H:9449
static ER_DllExport float * inq_swe_min(void)
Max. negative travel ranges (joint limits) [rad,m].
static ER_DllExport int chk_collision_workcell()
Check Workcell Collision Test all devices versus all other devices, including environemnt geometries ...
static ER_DllExport int get_number_of_collision_pairs(void)
Get number of collision pairs in case a collsion occurred. The maximum number of stored collision pai...
static ER_DllExport int SavePath_ext(char *new_pth_fln=NULL, int confirm_overwrite=1)
Saves a Tag or Path file by filename with the current path If new_pth_fln is NULL,...
static ER_DllExport int inq_Set_device_uid(ER_UID device_uid)
Sets current device unique id.
static ER_DllExport frame * inq_tTw_strt(void)
Start condition, Tool frame: Robot Tip to TCP.
static ER_CAPI_CAD_IO er_capi_cad_io
Method class for access to geometry parameter: Location, polygons, vertices, attributes,...
Definition: ER_CAPI.H:7155
static ER_DllExport float * inq_ipo_path_aq_ov_set(float ov)
Calc. aq_axis as percentage value of inq_a_max()
static ER_DllExport int _info_line_msg_lv(int moni, char *s, double *v, int n, double scal)
double Vector output into Message Window If parameter moni is 1, the output is appended to the monito...
static ER_DllExport double * inq_univ_trans_tol_rad(void)
Square of cartesian orientation tolerance [rad^2] Used for numerical solution for inverse kinematics....
static ER_DllExport int get_license_priority()
Get license priority As valid license priority is one of ER_LIC_PRIORITY_UNDEF, ER_LIC_PRIORITY_LMNGR...
static ER_DllExport int SetDlgParameter(int ap_dlg_option, int ap_dlg_value)
Set Autopath dialog parameter Parameter ap_dlg_option is one of AUTOPATH_DLG_PARAMETER_API_CONTROL,...
static ER_DllExport int GetWayPointDof(void)
Get dof of calculated way points.
static ER_DllExport int PickPoint(void)
Enables the user to pick a point or a vertex. Remarks The exported function EXPORT_C AuxUpdate(int i...
static ER_DllExport void TagClone(void)
Multiple clone of current Tag Clone all selected Tags.
static ER_DllExport int * inq_rob_tag_motype_idx(int idx)
Tag_attributes, motion type.
static ER_DllExport int CreateRobotTemplate(char *rob_path_fln, char *rob_name, int cad_type, char *cad_fln, char *cad_name, frame *refpos, frame *pos, float *xyz_scale, bool overwrite=true)
Creates a robot template file with one geometry. The geometry can be parameterized by cad_type which ...
static ER_DllExport float * inq_rob_tag_speed_cp_idx(int idx)
Tag_attributes, cp speed, 0-def, [m/s] .
static ER_DllExport int * inq_single_cmd_interpolation(void)
Interpolation enabled or disabled If interpolation is disabled, the robot will jump to the target,...
static ER_DllExport int zoom_cBase(int zoom_flag=ZOOM_FLAG_DEFAULT)
Zoom cBase (current robot base) to the center of the 3D Scene zoom_flag is a bitwise inclusive OR ope...
static ER_DllExport int inq_Get_device_idx_by_name(char *device_name)
Get device idx by device name if 'device name' is not valid, -1 is returned.
static ER_DllExport int * inq_cnfg_soln(void)
Return robot configuration solution IDs Remarks All values should be different, i....
static ER_DllExport char * inq_Get_c_path_name()
Get current path name.
static ER_DllExport int * inq_body_show_transparent(void *body_handle)
Show body transparency Allows to dis- or enable body transparency see inq_body_transparency()
static ER_CAPI_SYS_USERDLL er_capi_sys_userdll
Method class to access API UserDll.
Definition: ER_CAPI.H:8277
static ER_DllExport int * inq_path_ref_sys_type(void)
Reference type where the path is attached to The reference type (attach location) can be one of the f...
static ER_DllExport void mul_R_pos(float *po, FRAME *R, float *pi)
Multiplication of a 3x1 position with the 3x3 orientation of a homogeneous 4x4 transformation matrice...
static ER_DllExport void rob_kin_frame_ident(frame *T)
Set the homogeneous 4x4 transformation matrix T to identity. T = Ident A frame FRAME is a homogeneous...
static ER_DllExport char * inq_robot_fln_name(void)
File name of cRobot.
static ER_DllExport float * inq_rob_kin_v_usr1(void)
2nd User Vector for Testing
static ER_DllExport int Convert_CAD_Setting(int Setting=CONVERT_CAD_DEFAULT)
Set conversion settings Parameter Setting is a bitwise inclusive OR operator (|) of CONVERT_CAD_DEFAU...
static ER_DllExport int * inq_turn_value(void)
Index for Turn Range, default=0 The turn_value depends on current robot joints and the defined turn_i...
static ER_DllExport int inq_body_idx(void *body_handle)
Idx of body givin by a handle The returned list idx is zero based [0.. number of bodies-1] see inq_bo...
static ER_DllExport void reset_ipo_path_turn(void)
Unset Turns for each joint.
static ER_DllExport float * inq_rob_tag_accel_ori_ov_idx(int idx)
Tag_attributes, ori override accel, 0-def [0-200%].
static ER_DllExport float * inq_coll_min_distance_p1(void)
Collision point 'p1' of 1st colliding geometry.
static ER_DllExport int zoom_COI(int zoom_flag=ZOOM_FLAG_DEFAULT)
Zoom COI ( Center Of Interest) to the center of the 3D Scene zoom_flag is a bitwise inclusive OR oper...
Method class for graphical update of the 3D scene, refreshing dialogs, etc.
Definition: ER_CAPI.H:8841
static ER_DllExport float * inq_rob_tag_zone_idx(int idx)
Tag_attributes, programmed zone value [mm,%].
static ER_DllExport int SetPoseEnd(int nConfig, float *pose_end)
Set specified robot joint location as end pose Remarks This pose must be collision free,...
static ER_DllExport int _info_line_msg(int moni, char *fmt,...)
Output into Message Window, same as printf(...) If parameter moni is 1, the output is appended to the...
static ER_DllExport float * inq_ipo_path_vx_ori(void)
Programmed orientation speed in [deg/s].
static ER_DllExport void mul_T_T_invT(FRAME *To, FRAME *Ti1, FRAME *Ti2, FRAME *Ti3)
Tripple multiplication of homogeneous 4x4 transformation matrices. To = Ti1 * Ti2 * inv(Ti3) Remarks ...
static ER_DllExport void mul_T_T_T(FRAME *To, FRAME *Ti1, FRAME *Ti2, FRAME *Ti3)
Tripple multiplication of homogeneous 4x4 transformation matrices. To = Ti1 * Ti2 * Ti3 A frame FRAME...
static ER_DllExport int CruiseWorld(void)
Set Cruise mode to World Coorsys.
static ER_DllExport frame * inq_ipo_prep_center_T(void)
Center if circular motion, calculated from start-, via-, end point.
static ER_DllExport int Set_MouseMode(int mouse_mode)
Sets new mouse mode, return old mouse mode mouse_mode is the requested mouse mode,...
static ER_DllExport void ** inq_ipo_jnt_usr_ptr(void)
Access user pointer for joint interpolation in er_ipo.dll This allows the user to allocate individual...
static ER_DllExport void rob_kin_T_mal_T(frame *Ti1, frame *Ti2)
Multiplication of two homogeneous 4x4 transformation matrices. Ti1 = Ti1 * Ti2 Remarks same as incr_...
static ER_DllExport frame * inq_iTb_strt(void)
Start condition, Attach position (reference position) to robot base.
static ER_DllExport int * inq_kin_connect_dof_activ(void)
Dof array where active joints are connected to [-num_pJnts, ... , 0 , num_aJnts, tip] Remarks A nega...
static ER_DllExport ER_UID * inq_Get_c_path_robot_uid()
Get unique robot ID, current path belongs to, zero if free.
static ER_DllExport int * inq_device_link_ref_sys_jnt_link_idx(void)
Linkage joint index vector, if the linkage reference type is REF_JNT and valid unique ID exist The jo...
static ER_DllExport char * inq_device_link_ref_sys_type_name(void)
Linkage reference type name of the current device The linkage reference type name depends on the inq_...
static ER_DllExport int UnloadBody(int confirm=1)
Unload Body group If paramter confirm is set to 1, the user will be prompted to confirm this operatio...
const int SYS_SYSTEM_FOLDER_DIRECTORY_UNDEF
Request Idx undefined.
Definition: ER_CAPI_TYPES.H:932
static ER_DllExport double * inq_achs_rotz(void)
Kinematics angles for Z rotation [deg] for each active joint Calculated from "Geometric Data to next"...
static ER_DllExport float * inq_ipo_path_axe(void)
Programmed cart end acceleration in [m/s^2].
static ER_DllExport int AuxUpdate(int idx, int sub_idx=0)
Forces an AuxUpdate() call Parameter idx is one of AUX_UPDATE_IDX_SIMUPDATE to AUX_UPDATE_IDX_SWE_PAS...
static ER_DllExport int * inq_rob_tag_extaxjnt_idx(int idx)
tag_attributes, idx of controlled axis [] Contains the idx of the controlled joint of the cRobot See ...
static ER_DllExport float * GetEndPose(void)
Get current robot joint location end pose Remarks This pose must be set before, use SetEndPose()
static ER_DllExport int * inq_status_output_tag_idx(void)
Identifier if robot move to a tag location or to a location givin by numbers >0 - move to a Tag else ...
static ER_DllExport int * inq_swe_chk_always()
Causes an AuxUpdate() call if set and if active or passive travel ranges are exceeded AuxUpdate idx =...
static ER_DllExport int AutoPathFreeMem(AutoPath_SDK_ConfigurationSpace *apcs)
free memory of AutoPath_SDK_ConfigurationSpace data see example AutoPathInit()
static ER_DllExport int SaveRobotAsm(void)
Opens a dialog to save a .ras Robot Assembly file.
static ER_DllExport int * inq_status_output_type(void)
Control for status output data see STATUS_OUTPUT_TYPE SIM_STEP=1, TARGET_POSE=2, IPO_STEP=3.
static ER_DllExport int * inq_cart_space_chk_always()
Causes an AuxUpdate() call if set and if cartesian space is exceeded AuxUpdate idx = AUX_UPDATE_IDX_C...
static ER_CAPI_SIM_CAMERA er_capi_sim_camera
Method class for camera settings.
Definition: ER_CAPI.H:5578
static ER_DllExport int * inq_stop_swe(void)
Causes the robot to stop if travel ranges (joint limits) are exceeded.
static ER_DllExport float * inq_ipo_path_vxe(void)
Cart. end speed in [m/s].
Method class for trajectory planning and -execution and for motion planning AUTOPATH.
Definition: ER_CAPI.H:4132
static ER_DllExport float inq_camera_focus(void)
Return camera focus.
static ER_DllExport void * inq_body_handle_current(void *grp_handle=0)
Return body handle If parameter grp_handle is 0, the body handle of the current group is returned.
Method class for camera settings.
Definition: ER_CAPI.H:5959
static ER_DllExport float * inq_ipo_prep_dq(void)
Robot joint difference array (=strt_q - end_q) see inq_ipo_prep_strt_q(), inq_ipo_prep_end_q()
static ER_DllExport int * inq_device_sync_ref_sys_jnt_sync_idx(void)
Obsolete, use inq_device_link_ref_sys_jnt_link_idx()
static ER_DllExport float * inq_model_vz1_v(void)
Discrete model: V Factor of PT1 transfer function Depending on system step inq_system_step(),...
static ER_DllExport char * inq_rob_tag_name_idx(int idx)
Tag_attributes, get tag name (=postfix) The complete tag name is tagprefix + tagname See inq_rob_tag_...
static ER_DllExport void moni_lv(char *s, double *v, int n, float scal)
Vector output into the message file moni_msg.txt.
static ER_DllExport float sasssa2(float s1, float beta, float s2, float s3, float s4)
Quadrangle calculation, calculates angle between s3 of s4 Remarks See EASY-ROB-ERPL-eng....
Method class for simulation settings.
Definition: ER_CAPI.H:5564
static ER_DllExport int Shift_cTagOnTcp(void)
Shifts cTag to the Tcp of cRobot The cTag will jump to the cRobot Tcp.
static ER_DllExport int PickRobot(void)
Enables the user to pick a robot or a device. Remarks The exported function EXPORT_C AuxUpdate(int i...
static ER_DllExport int * inq_tool_collision(void)
1-def, tool is in collision queue, if tool_collision disabled, no collision check
static ER_DllExport int set_body_para(void *body_handle, float *para)
Set or modify body parameter The content of the parameter vector para depends of the "cad_type" see i...
static ER_DllExport int AutoPath_SetCallback_CheckConstraints(BOOL(*ptr_CheckConstraints)(int, void *))
Defines a callback function to check constraints during AutoPath calculation The callback function is...
static ER_DllExport int * inq_rob_tag_render_idx(int idx)
tag_attributes, tag render Tag render is one of COORSYS_RENDER_STYLE_COORSYS_XYZ=0,...
static ER_DllExport void prg_data_single_cmd_reset(void)
Reset program data for single command execution such as program base, via point for circular movement...
Definition: ER_CAPI_TYPES.H:562
static ER_DllExport void cpy_R(FRAME *Ro, FRAME *Ri)
Copies the Orientation from frame Ri into frame Ro A frame FRAME is a homogeneous 4x4 transformation...
static ER_DllExport float * GetAxisConstraintsMax(void)
Get axis constraints max. values Remarks Axis constraints can be set before, using SetAxisConstraint...
static ER_DllExport char * inq_move_base_name(void)
Name for moveable base.
static ER_DllExport int dialog_get_file_ext(char *path, char *file, char *dialog_title)
Opens a dialog, for selecting an existing file This method opens EASY-ROBs 'Selection Dialog' contain...
static ER_DllExport int rob_kin_vortrans(frame *bTt)
Calling forward kinematics The input joint values are in inq_q_solut() See also rob_kin_vortrans_q()
static ER_DllExport frame * inq_wTwo(void)
Tool Offset frame, Robot Tcp' to TCP.
Method class for mathematical calculations, multiplications of homogeneous matrices,...
Definition: ER_CAPI.H:8327
static ER_DllExport int * inq_rob_track_bits(void)
Set the Tcp trace attribute Bits.
static ER_DllExport int Device_Link_by_idx(int new_reference_type, int new_reference_device_idx=0, int *new_reference_jnt_link_idx=NULL)
Link current device to another device by idx new_reference_type one of REF_NO_REF=0 or REF_JNT=9 new...
static ER_DllExport int SaveRobotAsm_ext(char *new_ras_fln=NULL, int confirm_overwrite=1)
Saves a robot Assembly file by filename If new_ras_fln is NULL, the name of the robot assembly is use...
static ER_DllExport ROB_DH * inq_rob_dh_activ(void)
Denavit-Hartenberg-Transformation to the next joint for each active joint "Geometric Data to next".