diff --git a/examples/get_simulation_time.rs b/examples/get_simulation_time.rs index b2f46d3..205cac7 100644 --- a/examples/get_simulation_time.rs +++ b/examples/get_simulation_time.rs @@ -27,7 +27,7 @@ fn main() -> Result<(), RemoteAPIError> { time = client.sim_get_simulation_time()?; } - client.sim_stop_simulation()?; + client.sim_stop_simulation(None)?; Ok(()) } diff --git a/examples/p_controller.rs b/examples/p_controller.rs index f211676..a20c9db 100644 --- a/examples/p_controller.rs +++ b/examples/p_controller.rs @@ -1,15 +1,14 @@ use std::f64::consts::PI; use coppeliasim_zmq_remote_api::{ - sim::Sim, RemoteAPIError, RemoteApiClient, RemoteApiClientParams, + sim::{Sim, self}, RemoteAPIError, RemoteApiClient, RemoteApiClientParams, }; /* based on pController.py -# Make sure to have CoppeliaSim running, with following scene loaded: -# +# Make sure to have CoppeliaSim running, # scenes/messaging/pControllerViaRemoteApi.ttt # # Do not launch simulation, but run this script @@ -26,6 +25,10 @@ fn main() -> Result<(), RemoteAPIError> { host: "localhost".to_string(), ..RemoteApiClientParams::default() })?; + let path = client.sim_get_string_param(sim::STRINGPARAM_SCENEDEFAULTDIR)?; + + client.sim_load_scene(format!("{path}/messaging/pControllerViaRemoteApi.ttt"))?; + let joint_handle = client.sim_get_object("/Cuboid[0]/joint".to_string(), None)?; let mut join_angle = client.sim_get_joint_position(joint_handle)?; @@ -73,7 +76,7 @@ fn main() -> Result<(), RemoteAPIError> { &joint_handle, )?; - client.sim_stop_simulation()?; + client.sim_stop_simulation(Some(true))?; println!("Program ended"); Ok(()) diff --git a/examples/sim_ik_example.rs b/examples/sim_ik_example.rs index 855fd1d..957857c 100644 --- a/examples/sim_ik_example.rs +++ b/examples/sim_ik_example.rs @@ -25,6 +25,9 @@ fn main() -> Result<(), RemoteAPIError> { host: "localhost".to_string(), ..RemoteApiClientParams::default() })?; + let path = std::env::var("CARGO_MANIFEST_DIR").unwrap(); + + client.sim_load_scene(format!("{path}/scenes/redundantRobot.ttt"))?; // Must call require before usint sim_ik functions client.require(sim::Plugin::SimIK)?; diff --git a/examples/simple_test.rs b/examples/simple_test.rs index f4f2e96..c2ad8d1 100644 --- a/examples/simple_test.rs +++ b/examples/simple_test.rs @@ -70,7 +70,7 @@ fn main() -> Result<(), RemoteAPIError> { client.sim_test_cb(10, format!("{fn_cb}@func"), 20)?; client.sim_test_cb(10, format!("{closure_cb}@func"), 20)?; - client.sim_stop_simulation()?; + client.sim_stop_simulation(Some(false))?; // if you need to make sure we really stopped: while client.sim_get_simulation_state()? != sim::SIMULATION_STOPPED { std::thread::sleep(std::time::Duration::from_secs_f64(0.1)) @@ -87,10 +87,10 @@ fn main() -> Result<(), RemoteAPIError> { println!("{}", message); client.sim_add_log(sim::VERBOSITY_SCRIPTINFOS, message)?; } - client.sim_stop_simulation()?; + client.sim_stop_simulation(Some(true))?; //Remove the dummies created earlier: - client.sim_remove_objects(handles)?; + client.sim_remove_objects(handles, None)?; //Restore the original idle loop frequency: client.sim_set_int32_param(sim::INTPARAM_IDLE_FPS, default_idle_fps)?; diff --git a/examples/synchronous_image_transmission.rs b/examples/synchronous_image_transmission.rs index 1831ea1..e11dc9e 100644 --- a/examples/synchronous_image_transmission.rs +++ b/examples/synchronous_image_transmission.rs @@ -1,5 +1,5 @@ use coppeliasim_zmq_remote_api::{ - sim::Sim, RemoteAPIError, RemoteApiClient, RemoteApiClientParams, + sim::{self, Sim}, RemoteAPIError, RemoteApiClient, RemoteApiClientParams, }; /* Based on synchronousImageTransmission.cpp example @@ -21,6 +21,10 @@ fn main() -> Result<(), RemoteAPIError> { ..RemoteApiClientParams::default() })?; + let path = client.sim_get_string_param(sim::STRINGPARAM_SCENEDEFAULTDIR)?; + + client.sim_load_scene(format!("{path}/messaging/synchronousImageTransmissionViaRemoteApi.ttt"))?; + let vision_sensor_handle = client.sim_get_object("/VisionSensor".to_string(), None)?; let passive_vision_sensor_handle = @@ -40,7 +44,7 @@ fn main() -> Result<(), RemoteAPIError> { client.sim_step()?; } - client.sim_stop_simulation()?; + client.sim_stop_simulation(Some(false))?; println!("Program ended"); diff --git a/src/remote_api_objects/sim/sim_api.rs b/src/remote_api_objects/sim/sim_api.rs index fd4b20f..96a3fdf 100644 --- a/src/remote_api_objects/sim/sim_api.rs +++ b/src/remote_api_objects/sim/sim_api.rs @@ -1,457 +1,650 @@ use crate::RemoteApiClientInterface; -#[doc=r#"The list of API functions below allows you to access many CoppeliaSim parameters. There are however too many parameters in CoppeliaSim to have a specific API function for each one of them. Auxiliary parameters can be accessed via a set of given functions that use object parameter IDs. Refer also to the global parameter IDs. +#[doc=r#####"The list of API functions below allows you to access many CoppeliaSim parameters. There are however too many parameters in CoppeliaSim to have a specific API function for each one of them. Auxiliary parameters can be accessed via a set of given functions that use object parameter IDs. Refer also to the global parameter IDs. All units going to, or coming from the API are in meters, kilograms, seconds and radians or a combination of those (unless otherwise explicitly indicated). -"#] +"#####] pub trait Sim : RemoteApiClientInterface { requests!{ "sim", -(r#"Deprecated. See sim.setJointTargetForce instead."#,sim_set_joint_max_force,"setJointMaxForce",(object_handle:i64,force_or_torque:f64)->()), -(r#"Deprecated. See sim.getJointTargetForce instead."#,sim_get_joint_max_force,"getJointMaxForce",(joint_handle:i64)->f64), -(r#"Deprecated. Use sim.createPrimitiveShape instead"#,sim_create_pure_shape,"createPureShape",(primitive_type:i64,options:i64,sizes:Vec,mass:f64),opt(precision:Vec)->i64), -(r#"Deprecated. See sim.removeObjects instead -"#,sim_remove_object,"removeObject",(object_handle:i64)->()), -(r#"Deprecated. Use sim.getVisionSensorDepth instead"#,sim_get_vision_sensor_depth_buffer,"getVisionSensorDepthBuffer",(sensor_handle:i64),opt(pos:Vec,size:Vec)->(Vec,Vec)), -(r#"Deprecated. Use sim.getVisionSensorImg instead"#,sim_get_vision_sensor_char_image,"getVisionSensorCharImage",(sensor_handle:i64),opt(pos:Vec,size:Vec)->(Vec,Vec)), -(r#"Deprecated. Use sim.setVisionSensorImg instead"#,sim_set_vision_sensor_char_image,"setVisionSensorCharImage",(sensor_handle:i64,image:Vec)->()), -(r#"Deprecated. Use sim.getObjectSel instead"#,sim_get_object_selection,"getObjectSelection"->Vec), -(r#"Deprecated. Use sim.setObjectSel instead"#,sim_set_object_selection,"setObjectSelection",(object_handles:Vec)->()), -(r#"Gets the value of a string signal. See also the other signal functions."#,sim_get_string_signal,"getStringSignal",(signal_name:String)->Option>), -(r#"Gets the value of an integer signal. See also the other signal functions."#,sim_get_int32_signal,"getInt32Signal",(signal_name:String)->Option), -(r#"Gets the value of a double signal. See also the other signal functions."#,sim_get_float_signal,"getFloatSignal",(signal_name:String)->Option), -(r#"Allows to have CoppeliaSim wait for a threaded code section to be executed without interruption. Locking is cumulative. See also sim.releaseLock"#,sim_acquire_lock,"acquireLock"->()), -(r#"Adds a drawing object that will be displayed in the scene. Drawing objects are containers that hold several items of a given type. This can be used for several different applications (simulation of paint, simulation of welding seam, display of 3D objects, etc.). Drawing objects created in a simulation script will be automatically removed at simulation end. See also sim.addDrawingObjectItem, sim.removeDrawingObject and the point cloud functionality."#,sim_add_drawing_object,"addDrawingObject",(object_type:i64,size:f64,duplicate_tolerance:f64,parent_object_handle:i64,max_item_count:i64),opt(color:Vec)->i64), -(r#"Adds an item (or clears all items) to a previously inserted drawing object. See also sim.addDrawingObject and sim.removeDrawingObject"#,sim_add_drawing_object_item,"addDrawingObjectItem",(drawing_object_handle:i64,item_data:Vec)->i64), -(r#"Adds a non-central force to a shape object that is dynamically enabled. Added forces are cumulative, applied relative to the center of mass, and are reset to zero after sim.handleDynamics was called (or by using the following flag: sim.handleflag_resetforcetorque). See also sim.addForceAndTorque."#,sim_add_force,"addForce",(shape_handle:i64,position:Vec,force:Vec)->()), -(r#"Adds a force and/or torque to a shape object that is dynamically enabled. Forces are applied at the center of mass. Added forces and torques are cumulative, and are reset to zero after sim.handleDynamics was called (or by using the following flags: sim.handleflag_resetforce and/or sim.handleflag_resettorque). See also sim.addForce."#,sim_add_force_and_torque,"addForceAndTorque",(shape_handle:i64),opt(force:Vec,torque:Vec)->()), -(r#"Adds or updates a graph curve. A graph curve is persistent, but can be removed with sim.destroyGraphCurve. See also the other functions related to graphs."#,sim_add_graph_curve,"addGraphCurve",(graph_handle:i64,curve_name:String,dim:i64,stream_ids:Vec,default_values:Vec,unit_str:String),opt(options:i64,color:Vec,curve_width:i64)->i64), -(r#"Adds or updates a graph stream. A graph stream is persistent, but can be removed with sim.destroyGraphCurve. See also the other functions related to graphs."#,sim_add_graph_stream,"addGraphStream",(graph_handle:i64,stream_name:String,unit:String),opt(options:i64,color:Vec,cyclic_range:f64)->i64), -(r#" -Adds an item to a collection. See also the other functions related to collections. "#,sim_add_item_to_collection,"addItemToCollection",(collection_handle:i64,what:i64,object_handle:i64,options:i64)->()), -(r#"Adds a log message that will be output in the console or status bar."#,sim_add_log,"addLog",(verbosity_level:i64,log_message:String)->()), -(r#"Adds a particle object that will be simulated and displayed in the scene. Particle objects are containers that hold several items (particles) of a given type. This can be used for several different applications (e.g. simulation of air/water jets) See also sim.addParticleObjectItem and sim.removeParticleObject"#,sim_add_particle_object,"addParticleObject",(object_type:i64,size:f64,density:f64,params:Vec,life_time:f64,max_item_count:i64),opt(color:Vec)->i64), -(r#"Adds an item (or clears all items) to a previously inserted particle object. See also sim.addParticleObject and sim.removeParticleObject"#,sim_add_particle_object_item,"addParticleObjectItem",(object_handle:i64,item_data:Vec)->()), -(r#""#,sim_add_referenced_handle,"addReferencedHandle",(object_handle:i64,referenced_handle:i64)->()), -(r#"Inserts a new script. Use with care when simulation is running. See also sim.associateScriptWithObject."#,sim_add_script,"addScript",(script_type:i64)->i64), -(r#"Adjusts parameters of a view. See also the sim.floatingViewAdd and sim.cameraFitToView functions."#,sim_adjust_view,"adjustView",(view_handle_or_index:i64,associated_viewable_object_handle:i64,options:i64),opt(view_label:String)->i64), -(r#"Reorients the bounding box of a shape, while keeping the shape frame in place. The shape's inertia properties are unaffected. See also sim.relocateShapeFrame"#,sim_align_shape_bb,"alignShapeBB",(shape_handle:i64,pose:Vec)->i64), -(r#"Converts CoppeliaSim's alpha-beta-gamma angles to Yaw-Pitch-Roll angles. See also sim.yawPitchRollToAlphaBetaGamma and the section about positions, orientations and transformations"#,sim_alpha_beta_gamma_to_yaw_pitch_roll,"alphaBetaGammaToYawPitchRoll",(alpha_angle:f64,beta_angle:f64,gamma_angle:f64)->(f64,f64,f64)), -(r#"Announces a change in the scene. This is required for the undo/redo function to operate properly when performing changes via the API. Only call this function directly after a change was made through a dialog element (e.g. a checkbox was checked/unchecked) and that change was reported to the scene (e.g. with sim.writeCustomDataBlock). What this call will do is following: the whole scene will be serialized (saved) to memory as a "scene image" and compared to a previously memorized "scene image". If both images are same, then the last image is discarded, otherwise only the changes between the two images are memorized. A call to this function has no effect (and doesn't generate any error) when called during simulation or when in edit mode."#,sim_announce_scene_content_change,"announceSceneContentChange"->i64), -(r#"Sets the associated object of a child script. Use with care when simulation is running. See also sim.addScript and sim.setScriptText. "#,sim_associate_script_with_object,"associateScriptWithObject",(script_handle:i64,object_handle:i64)->()), -(r#"Closes an auxiliary console window. See also sim.auxiliaryConsoleOpen."#,sim_auxiliary_console_close,"auxiliaryConsoleClose",(console_handle:i64)->i64), -(r#"Opens an auxiliary console window for text display. This console window is different from the application main console window. Console window handles are shared across all simulator scenes. See also sim.auxiliaryConsolePrint, sim.auxiliaryConsoleClose and sim.addLog."#,sim_auxiliary_console_open,"auxiliaryConsoleOpen",(title:String,max_lines:i64,mode:i64),opt(position:Vec,size:Vec,text_color:Vec,background_color:Vec)->i64), -(r#" -Prints to an auxiliary console window. See also sim.auxiliaryConsoleOpen. "#,sim_auxiliary_console_print,"auxiliaryConsolePrint",(console_handle:i64,text:String)->i64), -(r#"Shows or hides an auxiliary console window. See also sim.auxiliaryConsoleOpen and sim.auxiliaryConsoleClose."#,sim_auxiliary_console_show,"auxiliaryConsoleShow",(console_handle:i64,show_state:bool)->i64), -(r#"Broadcasts a message to all scripts, except for the emitting script. Messages are received synchronously via the sysCall_msg callback function"#,sim_broadcast_msg,"broadcastMsg",(message:serde_json::Value),opt(options:i64)->()), -(r#"Builds an identity transformation matrix. See also the other matrix/transformation functions"#,sim_build_identity_matrix,"buildIdentityMatrix"->Vec), -(r#"Builds a transformation matrix based on a position vector and Euler angles. See also the section about positions, orientations and transformations"#,sim_build_matrix,"buildMatrix",(position:Vec,euler_angles:Vec)->Vec), -(r#"Deprecated. See sim.poseToMatrix instead"#,sim_build_matrix_q,"buildMatrixQ",(position:Vec,quaternion:Vec)->Vec), -(r#"Builds a pose based on a position vector and Euler angles or axes. See also the section about positions, orientations and transformations"#,sim_build_pose,"buildPose",(position:Vec,euler_angles_or_axis:Vec),opt(mode:i64,axis2:Vec)->Vec), -(r#"Calls a script function (from a plugin, the main client application, or from another script). This represents a user callback inside of a script. The target script must be initialized for this call to succeed, e.g. when calling simulation scripts, then simulation must be running. See also sim.getScriptFunctions and sim.executeScriptString"#,sim_call_script_function,"callScriptFunction",(function_name:String,script_handle:i64),opt(in_arg:serde_json::Value)->serde_json::Value), -(r#"Shifts and adjusts a camera associated with a view to fill the view entirely with the specified objects or models. See also the sim.adjustView and sim.floatingViewAdd functions."#,sim_camera_fit_to_view,"cameraFitToView",(view_handle_or_index:i64),opt(object_handles:Vec,options:i64,scaling:f64)->i64), -(r#" -Changes the color of an entity, and returns its original color. Currently only takes into account collections and shapes. See also sim.restoreEntityColor. "#,sim_change_entity_color,"changeEntityColor",(entity_handle:i64,new_color:Vec),opt(color_component:i64)->Vec), -(r#"Checks whether two entities are colliding. The collidable flags of the entities are overridden if the entities are objects. If the entities are both the same collection (i.e. with the same collection handle), then same objects will not be checked against themselve"#,sim_check_collision,"checkCollision",(entity1_handle:i64,entity2_handle:i64)->(i64,Vec)), -(r#"Checks whether two entities are colliding, and will return all intersections between the two entities. The collidable flags of the entities are overridden if the entities are objects. See also sim.checkCollision."#,sim_check_collision_ex,"checkCollisionEx",(entity1_handle:i64,entity2_handle:i64)->(i64,Vec)), -(r#"Checks the minimum distance between two entities. The measurable flags of the entities are overridden if the entities are objects. If the entities are both the same collection (i.e. with the same collection handle), then same objects will not be checked against themselve."#,sim_check_distance,"checkDistance",(entity1_handle:i64,entity2_handle:i64),opt(threshold:f64)->(i64,Vec,Vec)), -(r#"Checks whether the provided points collide with the OC tree voxels. See also sim.insertVoxelsIntoOctree and the other OC tree related functions."#,sim_check_octree_point_occupancy,"checkOctreePointOccupancy",(octree_handle:i64,options:i64,points:Vec)->(i64,i64,i64,i64)), -(r#"Checks whether the proximity sensor detects the indicated entity. Detection is silent (no visual feedback) compared to sim.handleProximitySensor. Also, the detectable flags of the entity are overridden if the entity is an object. See also sim.readProximitySensor and sim.checkProximitySensorEx."#,sim_check_proximity_sensor,"checkProximitySensor",(sensor_handle:i64,entity_handle:i64)->(i64,f64,Vec,i64,Vec)), -(r#"Checks whether the proximity sensor detects the indicated entity. This is the extended functionality version of sim.checkProximitySensor. Detection is silent (no visual feedback) compared to sim.handleProximitySensor. Also, the detectable flags of the entity are overridden if the entity is an object. see also sim.readProximitySensor and sim.checkProximitySensorEx2."#,sim_check_proximity_sensor_ex,"checkProximitySensorEx",(sensor_handle:i64,entity_handle:i64,mode:i64,threshold:f64,max_angle:f64)->(i64,f64,Vec,i64,Vec)), -(r#"Checks whether the proximity sensor detects the indicated points, segments or triangles. Detection is silent (no visual feedback). See also sim.readProximitySensor and sim.checkProximitySensorEx."#,sim_check_proximity_sensor_ex2,"checkProximitySensorEx2",(sensor_handle:i64,vertices:Vec,item_type:i64,item_count:i64,mode:i64,threshold:f64,max_angle:f64)->(i64,f64,Vec,Vec)), -(r#"Checks whether the vision sensor detects the indicated entity. Detection is silent (no visual feedback) compared to sim.handleVisionSensor. The vision callback functions will be called on the acquired image. Also, the visibility state of the entity is overridden if the entity is an object. See also sim.readVisionSensor and sim.checkVisionSensorEx."#,sim_check_vision_sensor,"checkVisionSensor",(sensor_handle:i64,entity_handle:i64)->(i64,Vec,Vec)), -(r#"Checks whether the vision sensor detects the indicated entity. This is the extended functionality version of sim.checkVisionSensor. Detection is silent (no visual feedback) compared to sim.handleVisionSensor. The vision callback functions will be called on the acquired image. Also, the visibility state of the entity is overridden if the entity is an object. See also sim.readVisionSensor. "#,sim_check_vision_sensor_ex,"checkVisionSensorEx",(sensor_handle:i64,entity_handle:i64,return_image:bool)->Vec), -(r#"Clears a double signal (removes it). See also the other signal functions."#,sim_clear_float_signal,"clearFloatSignal",(signal_name:String)->()), -(r#"Clears an integer signal (removes it). See also the other signal functions."#,sim_clear_int32_signal,"clearInt32Signal",(signal_name:String)->()), -(r#"Clears a string signal (removes it). See also the other signal functions."#,sim_clear_string_signal,"clearStringSignal",(signal_name:String)->()), -(r#"Closes current scene, and switches to another open scene. If there is no other open scene, a new scene is then created. Can only be called from an add-on, or from the sanbox script, when called from Lua. See also sim.loadScene and sim.saveScene."#,sim_close_scene,"closeScene"->i64), -(r#"Combines two RGB images. See also sim.transformImage."#,sim_combine_rgb_images,"combineRgbImages",(img1:Vec,img1_res:Vec,img2:Vec,img2_res:Vec,operation:i64)->Vec), -(r#"Computes and applies the mass and inertia matrix for a shape, based on its convex representation. When calling this function while the simulation is running, one should then call sim.resetDynamicObject, for the changes to take effect. See also sim.getShapeMassAndInertia and sim.convexDecompose."#,sim_compute_mass_and_inertia,"computeMassAndInertia",(shape_handle:i64,density:f64)->i64), -(r#"Calculates the convex decomposition of a shape using the HACD or V-HACD algorithms. See also sim.getQHull, sim.getDecimatedMesh, sim.ungroupShape and sim.computeMassAndInertia."#,sim_convex_decompose,"convexDecompose",(shape_handle:i64,options:i64,int_params:Vec,float_params:Vec)->i64), -(r#"Copies and pastes objects. See also sim.removeObjects, sim.removeModel, sim.saveModel and sim.loadModel"#,sim_copy_paste_objects,"copyPasteObjects",(object_handles:Vec),opt(options:i64)->Vec), -(r#"Duplicates a table, i.e. makes a deep copy. See also the other packing/unpacking related functions."#,sim_copy_table,"copyTable",(original:Vec)->Vec), -(r#" -Creates a new collection. A collection created in a child script, a customization script or int the main script will be automatically destroyed when the script ends. See also the other functions related to collections."#,sim_create_collection,"createCollection",opt(options:i64)->i64), -(r#"Creates a dummy. "#,sim_create_dummy,"createDummy",(size:f64)->i64), -(r#"Creates a force sensor. "#,sim_create_force_sensor,"createForceSensor",(options:i64,int_params:Vec,float_params:Vec)->i64), -(r#"Creates a heightfield shape. See also sim.createPrimitiveShape, sim.createShape and sim.addParticleObject."#,sim_create_heightfield_shape,"createHeightfieldShape",(options:i64,shading_angle:f64,x_point_count:i64,y_point_count:i64,x_size:f64,heights:Vec)->i64), -(r#"Creates a joint. See also sim.setJointInterval."#,sim_create_joint,"createJoint",(joint_type:i64,joint_mode:i64,options:i64),opt(sizes:Vec)->i64), -(r#"Creates an empty OC tree. See also sim.removeObjects and the other OC tree related functions."#,sim_create_octree,"createOctree",(voxel_size:f64,options:i64,point_size:f64)->i64), -(r#"Creates a path."#,sim_create_path,"createPath",(ctrl_pts:Vec),opt(options:i64,subdiv:i64,smoothness:f64,orientation_mode:i64,up_vector:Vec)->i64), -(r#"Creates an empty point cloud. See also sim.removeObjects, sim.setPointCloudOptions and the other point cloud related functions."#,sim_create_point_cloud,"createPointCloud",(max_voxel_size:f64,max_pt_cnt_per_voxel:i64,options:i64,point_size:f64)->i64), -(r#"Creates a primitive shape. See also sim.createShape and sim.createHeightfieldShape"#,sim_create_primitive_shape,"createPrimitiveShape",(primitive_type:i64,sizes:Vec),opt(options:i64)->i64), -(r#"Creates a proximity sensor. "#,sim_create_proximity_sensor,"createProximitySensor",(sensor_type:i64,sub_type:i64,options:i64,int_params:Vec,float_params:Vec)->i64), -(r#"Creates a mesh shape. See also sim.createPrimitiveShape, sim.createHeightfieldShape and sim.getShapeMesh, and see sim.importMesh for a usage example."#,sim_create_shape,"createShape",(options:i64,shading_angle:f64,vertices:Vec,indices:Vec,normals:Vec,texture_coordinates:Vec,texture:Vec,texture_resolution:Vec)->i64), -(r#"Creates a planar shape, that will be textured with a new, or imported texture. See also sim.getTextureId, sim.readTexture, sim.writeTexture and sim.setShapeTexture."#,sim_create_texture,"createTexture",(file_name:String,options:i64),opt(plane_sizes:Vec,scaling_uv:Vec,xy_g:Vec,fixed_resolution:i64,resolution:Vec)->(i64,i64,Vec)), -(r#"Creates a vision sensor. "#,sim_create_vision_sensor,"createVisionSensor",(options:i64,int_params:Vec,float_params:Vec)->i64), -(r#" -Removes a collection. See also the other functions related to collections."#,sim_destroy_collection,"destroyCollection",(collection_handle:i64)->()), -(r#"Destroys a graph stream or curve. See also the other functions related to graphs."#,sim_destroy_graph_curve,"destroyGraphCurve",(graph_handle:i64,curve_id:i64)->()), -(r#"Duplicates a graph stream or curve, and freezes it. See also the other functions related to graphs."#,sim_duplicate_graph_curve_to_static,"duplicateGraphCurveToStatic",(graph_handle:i64,curve_id:i64),opt(curve_name:String)->i64), -(r#"Executes some code in a specific script (from a plugin, the main client application, or from another script). The target script must be initialized for this call to succeed, e.g. when calling simulation scripts, then simulation must be running. See also sim.callScriptFunction. -Data exchange between a plugin and a script happens via a stack. Reading and writing arguments from/to the stack gives you a maximum of flexibility, and you wil be able to exchange also complex data structures. But it can also be tedious and error prone. Use instead the helper classes located in programming/include/simStack. -"#,sim_execute_script_string,"executeScriptString",(string_to_execute:String,script_handle:i64)->(i64,serde_json::Value)), -(r#"Exports a mesh to a file. See also sim.importMesh and sim.getShapeMesh"#,sim_export_mesh,"exportMesh",(fileformat:i64,path_and_filename:String,options:i64,scaling_factor:f64,vertices:Vec,indices:Vec)->()), -(r#"Adds a floating view to current page. See also the sim.floatingViewRemove, sim.adjustView and sim.cameraFitToView functions."#,sim_floating_view_add,"floatingViewAdd",(pos_x:f64,pos_y:f64,size_x:f64,size_y:f64,options:i64)->i64), -(r#"Removes a floating view previously added with sim.floatingViewAdd. "#,sim_floating_view_remove,"floatingViewRemove",(floating_view_handle:i64)->i64), -(r#"Generates an extrusion shape from a path. See also the other path related functions."#,sim_generate_shape_from_path,"generateShapeFromPath",(path:Vec,section:Vec),opt(options:i64,up_vector:Vec)->i64), -(r#"Generates a 3D text model."#,sim_generate_text_shape,"generateTextShape",(txt:String),opt(color:Vec,height:f64,centered:bool,alphabet_location:String)->i64), -(r#"Generates a time optimal trajectory, based on the TOPPRA library. See also the other path related functions."#,sim_generate_time_optimal_trajectory,"generateTimeOptimalTrajectory",(path:Vec,path_lengths:Vec,min_max_vel:Vec,min_max_accel:Vec),opt(traj_pt_samples:i64,boundary_condition:String,timeout:f64)->(Vec,Vec)), -(r#"Generates alternative manipulator configurations, for a same end-effector pose, for a manipulator that has revolute joints with a range larger than 360 degrees. The original submitted configuration will be part of the returned configurations."#,sim_get_alternate_configs,"getAlternateConfigs",(joint_handles:Vec,input_config:Vec),opt(tip_handle:i64,low_limits:Vec,ranges:Vec)->Vec), -(r#"Retrieves all API functions and variables that match a specific word. Useful for script code auto-completion functionality. See also sim.getApiInfo. -"#,sim_get_api_func,"getApiFunc",(script_handle:i64,api_word:String)->Vec), -(r#"Returns the call tip (or info text) for an API function. See also sim.getApiFunc. -"#,sim_get_api_info,"getApiInfo",(script_handle:i64,api_word:String)->String), -(r#"Retrieves 3 values from an array parameter. See the array parameter identifiers. See also the other simulator parameter related functions."#,sim_get_array_param,"getArrayParam",(parameter:i64)->Vec), -(r#""#,sim_get_auto_yield_delay,"getAutoYieldDelay"->f64), -(r#"Retrieves a bool parameter. See the bool parameter identifiers. See also the other simulator parameter related functions."#,sim_get_bool_param,"getBoolParam",(parameter:i64)->bool), -(r#"Returns the position or distance along a path that is closest to a specified point in space. See also the other path related functions."#,sim_get_closest_pos_on_path,"getClosestPosOnPath",(path:Vec,path_lengths:Vec,abs_pt:Vec)->f64), -(r#"Retrieves the object handles that compose a collection. See also the other functions related to collections."#,sim_get_collection_objects,"getCollectionObjects",(collection_handle:i64)->Vec), -(r#"Returns the distance between two configurations points. See also the other path related functions."#,sim_get_config_distance,"getConfigDistance",(config_a:Vec,config_b:Vec),opt(metric:Vec,types:Vec)->f64), -(r#"Retrieves contact point information of a dynamic simulation pass. "#,sim_get_contact_info,"getContactInfo",(dynamic_pass:i64,object_handle:i64,index:i64)->(Vec,Vec,Vec,Vec)), -(r#"Retrieves a decimated mesh (i.e. a simplified mesh). See also sim.convexDecompose and sim.getQHull."#,sim_get_decimated_mesh,"getDecimatedMesh",(vertices_in:Vec,indices_in:Vec,decimation_percentage:f64)->(Vec,Vec)), -(r#" -Retrieves a bool value from the physics engine properties. See also the other engine properties setter and getter API functions."#,sim_get_engine_bool_param,"getEngineBoolParam",(param_id:i64,object_handle:i64)->bool), -(r#" -Retrieves a double value from the physics engine properties. See also the other engine properties setter and getter API functions."#,sim_get_engine_float_param,"getEngineFloatParam",(param_id:i64,object_handle:i64)->f64), -(r#" -Retrieves an int32 value from the physics engine properties. See also the other engine properties setter and getter API functions."#,sim_get_engine_int32_param,"getEngineInt32Param",(param_id:i64,object_handle:i64)->i64), -(r#"Retrieves the Euler angles from a transformation matrix. See also the section about positions, orientations and transformations"#,sim_get_euler_angles_from_matrix,"getEulerAnglesFromMatrix",(matrix:Vec)->Vec), -(r#"Retrieves the explicit handling flags for a scene object. See also sim.setExplicitHandling."#,sim_get_explicit_handling,"getExplicitHandling",(object_handle:i64)->i64), -(r#"Retrieves a string that describes additional environment or object properties, mainly used by extension plugins."#,sim_get_extension_string,"getExtensionString",(object_handle:i64,index:i64),opt(key:String)->String), -(r#"Retrieves a floating point parameter. See the floating-point parameter identifiers. See also the other simulator parameter related functions."#,sim_get_float_param,"getFloatParam",(parameter:i64)->f64), -(r#"Retrieves all events that allow to reconstruct a scene's (mostly) visual content remotely"#,sim_get_genesis_events,"getGenesisEvents"->Vec), -(r#""#,sim_get_graph_curve,"getGraphCurve",(graph_handle:i64,graph_type:i64,curve_index:i64)->(String,i64,Vec,Vec,Vec,Vec,i64,i64)), -(r#""#,sim_get_graph_info,"getGraphInfo",(graph_handle:i64)->(i64,Vec,Vec,i64)), -(r#"Retrieves an integer parameter. See the integer parameter identifiers. See also the other simulator parameter related functions."#,sim_get_int32_param,"getInt32Param",(parameter:i64)->i64), -(r#""#,sim_get_is_real_time_simulation,"getIsRealTimeSimulation"->i64), -(r#"Retrieves joint dependency information, when the joint is in dependent mode. See also sim.setJointDependency and sim.getJointMode."#,sim_get_joint_dependency,"getJointDependency",(joint_handle:i64)->(i64,f64,f64)), -(r#"Retrieves the force or torque applied to a joint along/about its active axis. This function retrieves meaningful information only if the joint is prismatic or revolute, and is dynamically enabled. With the Bullet, MuJoCo and Newton engine, this function returns the force or torque applied to the joint motor (torques from joint limits are not taken into account). With the ODE and Vortex engine, this function returns the total force or torque applied to a joint along/about its z-axis. See also sim.setJointTargetForce and sim.readForceSensor."#,sim_get_joint_force,"getJointForce",(joint_handle:i64)->f64), -(r#"Retrieves the interval parameters of a joint. See also sim.setJointInterval."#,sim_get_joint_interval,"getJointInterval",(object_handle:i64)->(bool,Vec)), -(r#"Retrieves the operation mode of a joint. See also sim.setJointMode and sim.getObjectInt32Param with sim.jointintparam_dynctrlmode"#,sim_get_joint_mode,"getJointMode",(joint_handle:i64)->(i64,i64)), -(r#"Retrieves the linear/angular position of a joint. This function cannot be used with spherical joints (use sim.getObjectChildPose instead). See also sim.setJointPosition"#,sim_get_joint_position,"getJointPosition",(object_handle:i64)->f64), -(r#"Retrieves the force or torque that a joint can exert. See also sim.setJointTargetForce and sim.getJointTargetVelocity."#,sim_get_joint_target_force,"getJointTargetForce",(joint_handle:i64)->f64), -(r#"Retrieves the target linear/angular position of a joint. See also sim.setJointTargetPosition"#,sim_get_joint_target_position,"getJointTargetPosition",(object_handle:i64)->f64), -(r#"Retrieves the target linear/angular velocity of a non-spherical joint. See also sim.setJointTargetVelocity"#,sim_get_joint_target_velocity,"getJointTargetVelocity",(object_handle:i64)->f64), -(r#" -Retrieves the type of a joint -"#,sim_get_joint_type,"getJointType",(object_handle:i64)->i64), -(r#"Retrieves the linear or angular velocity of a joint. The velocity is a measured velocity (i.e. from one simulation step to the next), and is available for all joints in the scene."#,sim_get_joint_velocity,"getJointVelocity",(joint_handle:i64)->f64), -(r#"Retrieves and clears the information string generated by last API call"#,sim_get_last_info,"getLastInfo"->String), -(r#" -Retrieves various parameters of a light object. See also sim.setLightParameters. "#,sim_get_light_parameters,"getLightParameters",(light_handle:i64)->(i64,Vec,Vec,Vec)), -(r#"Retrieves the object handle of the dummy linked to this one. See also sim.setLinkDummy."#,sim_get_link_dummy,"getLinkDummy",(dummy_handle:i64)->i64), -(r#"Retrieves persistent data block tags that match a specific pattern. See also sim.getPersistentDataTags"#,sim_get_matching_persistent_data_tags,"getMatchingPersistentDataTags",(pattern:String)->Vec), -(r#"Inverts a transformation matrix. See also the section about positions, orientations and transformations"#,sim_get_matrix_inverse,"getMatrixInverse",(matrix:Vec)->Vec), -(r#"Retrieves the properties of a model. See also sim.setModelProperty, sim.getObjectProperty and sim.getObjectSpecialProperty."#,sim_get_model_property,"getModelProperty",(object_handle:i64)->i64), -(r#"Retrieves a named bool parameter. Accepted values are true, false, on, off, 1 or 0. See also the other simulator named parameter related functions."#,sim_get_named_bool_param,"getNamedBoolParam",(name:String)->bool), -(r#"Retrieves a named double parameter. See also the other simulator named parameter related functions."#,sim_get_named_float_param,"getNamedFloatParam",(name:String)->f64), -(r#"Retrieves a named int parameter. See also the other simulator named parameter related functions."#,sim_get_named_int32_param,"getNamedInt32Param",(name:String)->i64), -(r#"Retrieves a named string or buffer parameter. See also the other simulator named parameter related functions."#,sim_get_named_string_param,"getNamedStringParam",(param_name:String)->Vec), -(r#"Retrieves the navigation and selection mode for the mouse. See also sim.setNavigationMode."#,sim_get_navigation_mode,"getNavigationMode"->i64), -(r#"Retrieves an object handle based on its path and alias. See also sim.isHandle, and sim.getObjectUid."#,sim_get_object,"getObject",(path:String),opt(options:serde_json::Value)->i64), -(r#"Retrieves the alias or path of an object based on its handle. See also sim.setObjectAlias."#,sim_get_object_alias,"getObjectAlias",(object_handle:i64),opt(options:i64)->String), -(r#""#,sim_get_object_alias_relative,"getObjectAliasRelative",(handle:i64,base_handle:i64),opt(options:i64)->String), -(r#"Retrieves the handle of an object's child object. See also sim.getObjectParent and sim.getObjectsInTree."#,sim_get_object_child,"getObjectChild",(object_handle:i64,index:i64)->i64), -(r#"Retrieves the intrinsic or internal transformation of an object. For a joint, this is the transformation caused by the joint movement, mainly. For joints and force sensors, this will also include a possible error transformation caused by the physics engine (a physics engine can cause joints and force sensors to come apart, when constraints can't be perfectly resolved). See also sim.setObjectChildPose and the section about positions, orientations and transformations"#,sim_get_object_child_pose,"getObjectChildPose",(object_handle:i64)->Vec), -(r#" -Retrieves the color of a scene object. See also other rendering related functions. "#,sim_get_object_color,"getObjectColor",(object_handle:i64,index:i64,color_component:i64)->Vec), -(r#"Retrieves a floating-point array parameter of a scene object. See also the other object parameter related functions"#,sim_get_object_float_array_param,"getObjectFloatArrayParam",(object_handle:i64,parameter_id:i64)->Vec), -(r#"Retrieves a floating-point parameter of a scene object. See also the other object parameter related functions"#,sim_get_object_float_param,"getObjectFloatParam",(object_handle:i64,parameter_id:i64)->f64), -(r#"Retrieves an object handle based on its unique identifier. See also sim.getObjectUid."#,sim_get_object_from_uid,"getObjectFromUid",(uid:i64),opt(options:serde_json::Value)->()), -(r#"Retrieves an int32 parameter of a scene object. See also the other object parameter related functions"#,sim_get_object_int32_param,"getObjectInt32Param",(object_handle:i64,parameter_id:i64)->i64), -(r#"Retrieves the transformation matrix of an object. See also sim.setObjectMatrix and the section about positions, orientations and transformations"#,sim_get_object_matrix,"getObjectMatrix",(object_handle:i64),opt(relative_to_object_handle:i64)->Vec), -(r#"Retrieves the orientation (Euler angles) of an object. See also sim.setObjectOrientation and the section about positions, orientations and transformations"#,sim_get_object_orientation,"getObjectOrientation",(object_handle:i64),opt(relative_to_object_handle:i64)->Vec), -(r#"Retrieves the handle of an object's parent object. See also sim.setObjectParent and sim.getObjectChild."#,sim_get_object_parent,"getObjectParent",(object_handle:i64)->i64), -(r#"Retrieves the pose of an object. See also sim.setObjectPose and the section about positions, orientations and transformations"#,sim_get_object_pose,"getObjectPose",(object_handle:i64),opt(relative_to_object_handle:i64)->Vec), -(r#"Retrieves the position of an object. See also sim.setObjectPosition and the section about positions, orientations and transformations"#,sim_get_object_position,"getObjectPosition",(object_handle:i64),opt(relative_to_object_handle:i64)->Vec), -(r#"Retrieves the main properties of a scene object. See also sim.setObjectProperty, sim.getObjectSpecialProperty and sim.getModelProperty."#,sim_get_object_property,"getObjectProperty",(object_handle:i64)->i64), -(r#"Retrieves the quaternion of an object. See also sim.setObjectQuaternion and the section about positions, orientations and transformations"#,sim_get_object_quaternion,"getObjectQuaternion",(object_handle:i64),opt(relative_to_object_handle:i64)->Vec), -(r#"Retrieves the handles of selected objects. See also sim.setObjectSel"#,sim_get_object_sel,"getObjectSel"->Vec), -(r#"Retrieves the size factor of a scene object. The size factor is different from the real object size. Use this to be able to adapt to scaling operations. See also the other size and scaling functions."#,sim_get_object_size_factor,"getObjectSizeFactor",(object_handle:i64)->f64), -(r#"Retrieves the special properties of a scene object. See also sim.setObjectSpecialProperty, sim.getObjectProperty and sim.getModelProperty."#,sim_get_object_special_property,"getObjectSpecialProperty",(object_handle:i64)->i64), -(r#"Retrieves a string parameter of a scene object. See also the other object parameter related functions"#,sim_get_object_string_param,"getObjectStringParam",(object_handle:i64,parameter_id:i64)->Vec), -(r#" -Retrieves the type of an object -"#,sim_get_object_type,"getObjectType",(object_handle:i64)->i64), -(r#"Retrieves the unique identifier of an object: throughout a CoppeliaSim session, there won't be two identical unique identifiers. Unique identifiers are however not persistent (i.e. are not saved with the object). See also sim.getObjectfromUid."#,sim_get_object_uid,"getObjectUid",(object_handle:i64)->i64), -(r#"Retrieves the linear and/or angular velocity of an object, in absolute coordinates. The velocity is a measured velocity (i.e. from one simulation step to the next), and is available for all objects in the scene. See also sim.getVelocity."#,sim_get_object_velocity,"getObjectVelocity",(object_handle:i64)->(Vec,Vec)), -(r#"Retrieves object handles. Use this in a loop where index starts at 0 and is incremented to get all object handles in the scene. See also sim.getObjectsInTree."#,sim_get_objects,"getObjects",(index:i64,object_type:i64)->i64), -(r#"Retrieves object handles in a given hierarchy tree. See also sim.getObjects."#,sim_get_objects_in_tree,"getObjectsInTree",(tree_base_handle:i64),opt(object_type:i64,options:i64)->Vec), -(r#"Retrieves voxel positions from an OC tree. See also the other OC tree related functions."#,sim_get_octree_voxels,"getOctreeVoxels",(octree_handle:i64)->Vec), -(r#"Retrieves the current page index (view). See also sim.setPage."#,sim_get_page,"getPage"->i64), -(r#"Returns an interpolated configuration from a path. See also the other path related functions."#,sim_get_path_interpolated_config,"getPathInterpolatedConfig",(path:Vec,path_lengths:Vec,t:f64),opt(method:serde_json::Value,types:Vec)->Vec), -(r#"Returns the lengths of a path in 1, 2 or 3D Cartesian space, even if more coordinates are provided. Each path point will have a corresponding length value (taken as the distance from the path's first point, along the path). See also the other path related functions."#,sim_get_path_lengths,"getPathLengths",(path:Vec,dof:i64),opt(dist_callback:String)->(Vec,f64)), -(r#"Retrieves all persistent data block tags or names. See also sim.getMatchingPersistentDataTags and sim.persistentDataRead"#,sim_get_persistent_data_tags,"getPersistentDataTags"->Vec), -(r#"Returns auxiliary information about a loaded plugin. See also sim.setPluginInfo and sim.getPluginName. -"#,sim_get_plugin_info,"getPluginInfo",(plugin_name:String,info_type:i64)->String), -(r#"Retrieves a plugin name based on an index"#,sim_get_plugin_name,"getPluginName",(index:i64)->String), -(r#"Gets various properties of a point cloud. See also sim.setPointCloudOptions and the other point cloud related functions."#,sim_get_point_cloud_options,"getPointCloudOptions",(point_cloud_handle:i64)->(f64,i64,i64,f64)), -(r#"Retrieves point positions from a point cloud. See also the other point cloud related functions."#,sim_get_point_cloud_points,"getPointCloudPoints",(point_cloud_handle:i64)->Vec), -(r#"Inverts a pose. See also the section about positions, orientations and transformations"#,sim_get_pose_inverse,"getPoseInverse",(pose:Vec)->Vec), -(r#"Retrieves the convex hull mesh from the specified vertices. See also sim.convexDecompose and sim.getDecimatedMesh."#,sim_get_q_hull,"getQHull",(vertices_in:Vec)->(Vec,Vec)), -(r#"Deprecated. See sim.matrixToPose instead"#,sim_get_quaternion_from_matrix,"getQuaternionFromMatrix",(matrix:Vec)->Vec), -(r#"Generates a random value in the range between 0 and 1. The value is generated from an individual generator attached to the calling script (i.e. scripts do not share a common generator as is the case with Lua's math.random function). sim.getRandom has however also been wrapped inside of two new Lua functions, in order to mimic Lua's math.random and math.randomseed: +(r#######"Deprecated. See [sim_get_joint_target_force](#method.sim_get_joint_target_force) instead."#######,sim_get_joint_max_force,"getJointMaxForce",(joint_handle:i64)->f64), +(r#######"Deprecated. See [sim_set_joint_target_force](#method.sim_set_joint_target_force) instead."#######,sim_set_joint_max_force,"setJointMaxForce",(object_handle:i64,force_or_torque:f64)->()), +(r#######"Deprecated. Use [sim_create_primitive_shape](#method.sim_create_primitive_shape) instead"#######,sim_create_pure_shape,"createPureShape",(primitive_type:i64,options:i64,sizes:Vec,mass:f64),opt(precision:Vec)->i64), +(r#######"Deprecated. See [sim_remove_objects](#method.sim_remove_objects) instead +"#######,sim_remove_object,"removeObject",(object_handle:i64)->()), +(r#######"Deprecated. Use [sim_get_vision_sensor_depth](#method.sim_get_vision_sensor_depth) instead"#######,sim_get_vision_sensor_depth_buffer,"getVisionSensorDepthBuffer",(sensor_handle:i64),opt(pos:Vec,size:Vec)->(Vec,Vec)), +(r#######"Deprecated. Use [sim_get_vision_sensor_img](#method.sim_get_vision_sensor_img) instead"#######,sim_get_vision_sensor_char_image,"getVisionSensorCharImage",(sensor_handle:i64),opt(pos:Vec,size:Vec)->(Vec,Vec)), +(r#######"Deprecated. Use [sim_set_vision_sensor_img](#method.sim_set_vision_sensor_img) instead"#######,sim_set_vision_sensor_char_image,"setVisionSensorCharImage",(sensor_handle:i64,image:Vec)->()), +(r#######"Deprecated. Use [sim_get_object_sel](#method.sim_get_object_sel) instead"#######,sim_get_object_selection,"getObjectSelection"->Vec), +(r#######"Deprecated. Use [sim_set_object_sel](#method.sim_set_object_sel) instead"#######,sim_set_object_selection,"setObjectSelection",(object_handles:Vec)->()), +(r#######"Gets the value of a string signal"#######,sim_get_string_signal,"getStringSignal",(signal_name:String)->Option>), +(r#######"Gets the value of an integer signal"#######,sim_get_int32_signal,"getInt32Signal",(signal_name:String)->Option), +(r#######"Gets the value of a double signal"#######,sim_get_float_signal,"getFloatSignal",(signal_name:String)->Option), +(r#######"Calls a script function (from a plugin, the main client application, +or from another script). This represents a user callback inside of a script. The +target script must be initialized for this call to succeed, e.g. when calling simulation scripts, +then simulation must be running"#######,sim_call_script_function,"callScriptFunction",(function_name:String,script_handle:i64,in_args:serde_json::Value)->serde_json::Value), +(r#######"Allows to have CoppeliaSim wait for a threaded code section to be executed without +interruption. Locking is cumulative"#######,sim_acquire_lock,"acquireLock"->()), +(r#######"Adds a drawing object that will be displayed in the scene. Drawing objects are containers +that hold several items of a given type. This can be used for several different applications +(simulation of paint, simulation of welding seam, display of 3D objects, etc.). Drawing objects +created in a simulation script will be automatically +removed at simulation end"#######,sim_add_drawing_object,"addDrawingObject",(object_type:i64,size:f64,duplicate_tolerance:f64,parent_object_handle:i64,max_item_count:i64),opt(color:Vec)->i64), +(r#######"Adds an item (or clears all items) to a previously inserted drawing object"#######,sim_add_drawing_object_item,"addDrawingObjectItem",(drawing_object_handle:i64,item_data:Vec)->i64), +(r#######"Adds a non-central force to a shape object that is dynamically enabled. Added forces are cumulative, +applied relative to the center of mass, and are reset to zero after [sim_handle_dynamics](#method.sim_handle_dynamics) +was called (or by using the following flag: sim.handleflag_resetforcetorque)"#######,sim_add_force,"addForce",(shape_handle:i64,position:Vec,force:Vec)->()), +(r#######"Adds a force and/or torque to a shape object that is dynamically enabled. +Forces are applied at the center of mass. Added forces and torques are cumulative, and are reset to zero +after [sim_handle_dynamics](#method.sim_handle_dynamics) was called (or by using the following +flags: sim.handleflag_resetforce and/or sim.handleflag_resettorque)"#######,sim_add_force_and_torque,"addForceAndTorque",(shape_handle:i64),opt(force:Vec,torque:Vec)->()), +(r#######"Adds or updates a graph curve. A graph curve is persistent, but can be removed with +[sim_destroy_graph_curve](#method.sim_destroy_graph_curve) +"#######,sim_add_graph_curve,"addGraphCurve",(graph_handle:i64,curve_name:String,dim:i64,stream_ids:Vec,default_values:Vec,unit_str:String),opt(options:i64,color:Vec,curve_width:i64)->i64), +(r#######"Adds or updates a graph stream. A graph stream is persistent, but can be removed +with [sim_destroy_graph_curve](#method.sim_destroy_graph_curve) +"#######,sim_add_graph_stream,"addGraphStream",(graph_handle:i64,stream_name:String,unit:String),opt(options:i64,color:Vec,cyclic_range:f64)->i64), +(r#######"Adds an item to a collection +"#######,sim_add_item_to_collection,"addItemToCollection",(collection_handle:i64,what:i64,object_handle:i64,options:i64)->()), +(r#######"Adds a log message that will be output in the console or status bar"#######,sim_add_log,"addLog",(verbosity_level:i64,log_message:String)->()), +(r#######"Adds a particle object that will be simulated and displayed in the scene. Particle objects +are containers that hold several items (particles) of a given type. This can be used for +several different applications (e.g. simulation of air/water jets)"#######,sim_add_particle_object,"addParticleObject",(object_type:i64,size:f64,density:f64,params:Vec,life_time:f64,max_item_count:i64),opt(color:Vec)->i64), +(r#######"Adds an item (or clears all items) to a previously inserted particle object"#######,sim_add_particle_object_item,"addParticleObjectItem",(object_handle:i64,item_data:Vec)->()), +(r#######""#######,sim_add_referenced_handle,"addReferencedHandle",(object_handle:i64,referenced_handle:i64),opt(tag:String,opts:serde_json::Value)->()), +(r#######"Adjusts parameters of a view"#######,sim_adjust_view,"adjustView",(view_handle_or_index:i64,object_handle:i64,options:i64),opt(view_label:String)->i64), +(r#######"Reorients the bounding box of a shape, while keeping the shape frame in place. +The shape's inertia properties are unaffected"#######,sim_align_shape_bb,"alignShapeBB",(shape_handle:i64,pose:Vec)->i64), +(r#######"Converts CoppeliaSim's alpha-beta-gamma angles to Yaw-Pitch-Roll angles"#######,sim_alpha_beta_gamma_to_yaw_pitch_roll,"alphaBetaGammaToYawPitchRoll",(alpha_angle:f64,beta_angle:f64,gamma_angle:f64)->(f64,f64,f64)), +(r#######"Announces a change in the scene. This is required for the undo/redo function to operate properly +when performing changes via the API. Only call this function directly after a change was made through +a dialog element (e.g. a checkbox was checked/unchecked) and that change was reported to the scene. +What this call will do is following: the whole scene will be serialized (saved) to memory as a +"scene image" and compared to a previously memorized "scene image". If both images +are same, then the last image is discarded, otherwise only the changes between the two images are memorized. +A call to this function has no effect (and doesn't generate any error) when called during simulation or when in edit mode."#######,sim_announce_scene_content_change,"announceSceneContentChange"->i64), +(r#######"Closes an auxiliary console window"#######,sim_auxiliary_console_close,"auxiliaryConsoleClose",(console_handle:i64)->i64), +(r#######"Opens an auxiliary console window for text display. This console window is different from +the application main console window. Console window handles are shared across all simulator scenes"#######,sim_auxiliary_console_open,"auxiliaryConsoleOpen",(title:String,max_lines:i64,mode:i64),opt(position:Vec,size:Vec,text_color:Vec,background_color:Vec)->i64), +(r#######"Prints to an auxiliary console window"#######,sim_auxiliary_console_print,"auxiliaryConsolePrint",(console_handle:i64,text:String)->i64), +(r#######"Shows or hides an auxiliary console window"#######,sim_auxiliary_console_show,"auxiliaryConsoleShow",(console_handle:i64,show_state:bool)->i64), +(r#######"Broadcasts a message to all scripts, except for the emitting script. Messages are received +synchronously via the sysCall_msg callback function +"#######,sim_broadcast_msg,"broadcastMsg",(message:serde_json::Value),opt(options:i64)->()), +(r#######"Builds an identity transformation matrix"#######,sim_build_identity_matrix,"buildIdentityMatrix"->Vec), +(r#######"Builds a transformation matrix based on a position vector and +Euler angles +"#######,sim_build_matrix,"buildMatrix",(position:Vec,euler_angles:Vec)->Vec), +(r#######"Builds a pose based on a position vector and Euler angles or +axes"#######,sim_build_pose,"buildPose",(position:Vec,euler_angles_or_axis:Vec),opt(mode:i64,axis2:Vec)->Vec), +(r#######"Shifts and adjusts a camera associated with a view to fill the view entirely with +the specified objects or models"#######,sim_camera_fit_to_view,"cameraFitToView",(view_handle_or_index:i64),opt(object_handles:Vec,options:i64,scaling:f64)->i64), +(r#######"Changes the color of an entity, and returns its original +color. Currently only takes into account collections +and shapes +"#######,sim_change_entity_color,"changeEntityColor",(entity_handle:i64,new_color:Vec),opt(color_component:i64)->Vec), +(r#######"Checks whether two entities are colliding. The collidable flags of the entities +are overridden if the entities are objects. If the entities are both the same collection +(i.e. with the same collection handle), then same objects will not be checked against themselve"#######,sim_check_collision,"checkCollision",(entity1_handle:i64,entity2_handle:i64)->(i64,Vec)), +(r#######"Checks whether two entities are colliding, and will return all intersections between +the two entities. The collidable flags of the entities are overridden if the entities +are objects"#######,sim_check_collision_ex,"checkCollisionEx",(entity1_handle:i64,entity2_handle:i64)->(i64,Vec)), +(r#######"Checks the minimum distance between two entities. The measurable flags of the +entities are overridden if the entities are objects. If the entities are both +the same collection (i.e. with the same collection handle), then same objects +will not be checked against themselve"#######,sim_check_distance,"checkDistance",(entity1_handle:i64,entity2_handle:i64),opt(threshold:f64)->(i64,Vec,Vec)), +(r#######"Checks whether the provided points collide with the OC tree voxels"#######,sim_check_octree_point_occupancy,"checkOctreePointOccupancy",(octree_handle:i64,options:i64,points:Vec)->(i64,i64,i64,i64)), +(r#######"Checks whether the proximity sensor detects the indicated entity. Detection is silent (no visual +feedback) compared to [sim_handle_proximity_sensor](#method.sim_handle_proximity_sensor). +Also, the detectable flags of the entity are overridden if the entity is an object"#######,sim_check_proximity_sensor,"checkProximitySensor",(sensor_handle:i64,entity_handle:i64)->(i64,f64,Vec,i64,Vec)), +(r#######"Checks whether the proximity sensor detects the indicated entity. Detection is silent (no visual feedback) +compared to [sim_handle_proximity_sensor](#method.sim_handle_proximity_sensor). Also, the detectable flags +of the entity are overridden if the entity is an object"#######,sim_check_proximity_sensor_ex,"checkProximitySensorEx",(sensor_handle:i64,entity_handle:i64,mode:i64,threshold:f64,max_angle:f64)->(i64,f64,Vec,i64,Vec)), +(r#######"Checks whether the proximity sensor detects the indicated points, segments or triangles. +Detection is silent (no visual feedback)"#######,sim_check_proximity_sensor_ex2,"checkProximitySensorEx2",(sensor_handle:i64,vertices:Vec,item_type:i64,item_count:i64,mode:i64,threshold:f64,max_angle:f64)->(i64,f64,Vec,Vec)), +(r#######"Checks whether the vision sensor detects the indicated entity. Detection is silent +(no visual feedback) compared to [sim_handle_vision_sensor](#method.sim_handle_vision_sensor). +The vision callback functions will be called on the +acquired image. Also, the visibility state of the entity is overridden if the entity is an object"#######,sim_check_vision_sensor,"checkVisionSensor",(sensor_handle:i64,entity_handle:i64)->(i64,Vec,Vec)), +(r#######"Checks whether the vision sensor detects the indicated entity. Detection is silent (no visual feedback) compared +to [sim_handle_vision_sensor](#method.sim_handle_vision_sensor). The vision callback functions +will be called on the acquired image. Also, the visibility state of the entity is overridden if the entity is an object"#######,sim_check_vision_sensor_ex,"checkVisionSensorEx",(sensor_handle:i64,entity_handle:i64,return_image:bool)->Vec), +(r#######"Clears a buffer signal (removes it)"#######,sim_clear_buffer_signal,"clearBufferSignal",(signal_name:String)->()), +(r#######"Clears a double signal (removes it)"#######,sim_clear_float_signal,"clearFloatSignal",(signal_name:String)->()), +(r#######"Clears an integer signal (removes it)"#######,sim_clear_int32_signal,"clearInt32Signal",(signal_name:String)->()), +(r#######"Clears a string signal (removes it)"#######,sim_clear_string_signal,"clearStringSignal",(signal_name:String)->()), +(r#######"Closes current scene, and switches to another open scene. If there is no other open scene, +a new scene is then created. Can only be called from an add-on, +or from the sanbox script, when called from within CoppeliaSim"#######,sim_close_scene,"closeScene"->i64), +(r#######"Combines two RGB images"#######,sim_combine_rgb_images,"combineRgbImages",(img1:Vec,img1_res:Vec,img2:Vec,img2_res:Vec,operation:i64)->Vec), +(r#######"Computes and applies the mass and inertia matrix for a shape, based on its convex representation. +When calling this function while the simulation is running, one should then call +[sim_reset_dynamic_object](#method.sim_reset_dynamic_object), for the changes to take effect"#######,sim_compute_mass_and_inertia,"computeMassAndInertia",(shape_handle:i64,density:f64)->i64), +(r#######"Copies and pastes objects"#######,sim_copy_paste_objects,"copyPasteObjects",(object_handles:Vec),opt(options:i64)->Vec), +(r#######"Lua only. Duplicates a table, i.e. makes a deep copy +packing/unpacking related functions +"#######,sim_copy_table,"copyTable",(original:Vec)->Vec), +(r#######"Creates a new collection. A collection created in a +simulation script, a customization script or in +the main script are automatically destroyed when the script ends"#######,sim_create_collection,"createCollection",opt(options:i64)->i64), +(r#######"Creates a dummy."#######,sim_create_dummy,"createDummy",(size:f64)->i64), +(r#######"Creates a force sensor."#######,sim_create_force_sensor,"createForceSensor",(options:i64,int_params:Vec,float_params:Vec)->i64), +(r#######"Creates a heightfield shape +"#######,sim_create_heightfield_shape,"createHeightfieldShape",(options:i64,shading_angle:f64,x_point_count:i64,y_point_count:i64,x_size:f64,heights:Vec)->i64), +(r#######"Creates a joint +"#######,sim_create_joint,"createJoint",(joint_type:i64,joint_mode:i64,options:i64),opt(sizes:Vec)->i64), +(r#######"Creates an empty OC tree +"#######,sim_create_octree,"createOctree",(voxel_size:f64,options:i64,point_size:f64)->i64), +(r#######"Creates a path."#######,sim_create_path,"createPath",(ctrl_pts:Vec),opt(options:i64,subdiv:i64,smoothness:f64,orientation_mode:i64,up_vector:Vec)->i64), +(r#######"Creates an empty point cloud +"#######,sim_create_point_cloud,"createPointCloud",(max_voxel_size:f64,max_pt_cnt_per_voxel:i64,options:i64,point_size:f64)->i64), +(r#######"Creates a primitive shape"#######,sim_create_primitive_shape,"createPrimitiveShape",(primitive_type:i64,sizes:Vec),opt(options:i64)->i64), +(r#######"Creates a proximity sensor +"#######,sim_create_proximity_sensor,"createProximitySensor",(sensor_type:i64,sub_type:i64,options:i64,int_params:Vec,float_params:Vec)->i64), +(r#######"Creates a script object."#######,sim_create_script,"createScript",(script_type:i64,script_string:String),opt(options:i64,lang:String)->i64), +(r#######"Creates a mesh shape"#######,sim_create_shape,"createShape",(options:i64,shading_angle:f64,vertices:Vec,indices:Vec,normals:Vec,texture_coordinates:Vec,texture:Vec,texture_resolution:Vec)->i64), +(r#######"Creates a planar shape, that will be textured with a new, or imported texture"#######,sim_create_texture,"createTexture",(file_name:String,options:i64),opt(plane_sizes:Vec,scaling_uv:Vec,xy_g:Vec,fixed_resolution:i64,resolution:Vec)->(i64,i64,Vec)), +(r#######"Creates a vision sensor."#######,sim_create_vision_sensor,"createVisionSensor",(options:i64,int_params:Vec,float_params:Vec)->i64), +(r#######"Removes a collection +"#######,sim_destroy_collection,"destroyCollection",(collection_handle:i64)->()), +(r#######"Destroys a graph stream or curve"#######,sim_destroy_graph_curve,"destroyGraphCurve",(graph_handle:i64,curve_id:i64)->()), +(r#######"Duplicates a graph stream or curve, and freezes it"#######,sim_duplicate_graph_curve_to_static,"duplicateGraphCurveToStatic",(graph_handle:i64,curve_id:i64),opt(curve_name:String)->i64), +(r#######"Executes some code in a specific script (from a plugin, +the main client application, or from another script). +The target script must be initialized for this call to succeed, e.g. when calling +simulation scripts, then simulation must be running ---lua -function math.random2(lower, upper) - local r = sim.getRandom() - if lower then - local b = 1 - local d - if upper then - b = lower - d = upper - b - else - d = lower - b - end - local e = d / (d + 1) - r = b + math.floor(r * d / e) - end - return r -end +From C/C++, data exchange between a plugin and a script happens via a stack. Reading and writing arguments from/to the stack gives you a maximum of flexibility, and you wil be able to exchange also complex data structures. But it can also be tedious and error prone. Use instead the helper classes located in programming/include/simStack +"#######,sim_execute_script_string,"executeScriptString",(string_to_execute:String,script_handle:i64)->(i64,serde_json::Value)), +(r#######"Exports a mesh to a file"#######,sim_export_mesh,"exportMesh",(fileformat:i64,path_and_filename:String,options:i64,scaling_factor:f64,vertices:Vec,indices:Vec)->()), +(r#######"Adds a floating view to current page"#######,sim_floating_view_add,"floatingViewAdd",(pos_x:f64,pos_y:f64,size_x:f64,size_y:f64,options:i64)->i64), +(r#######"Removes a floating view previously added with [sim_floating_view_add](#method.sim_floating_view_add)."#######,sim_floating_view_remove,"floatingViewRemove",(floating_view_handle:i64)->i64), +(r#######""#######,sim_generate_shape_from_path,"generateShapeFromPath",(path:Vec,section:Vec),opt(options:i64,up_vector:Vec)->i64), +(r#######"Generates a 3D text model."#######,sim_generate_text_shape,"generateTextShape",(txt:String),opt(color:Vec,height:f64,centered:bool,alphabet_location:String)->i64), +(r#######"Generates a time optimal trajectory, based on the TOPPRA library"#######,sim_generate_time_optimal_trajectory,"generateTimeOptimalTrajectory",(path:Vec,path_lengths:Vec,min_max_vel:Vec,min_max_accel:Vec),opt(traj_pt_samples:i64,boundary_condition:String,timeout:f64)->(Vec,Vec)), +(r#######"Generates alternative manipulator configurations, for a same end-effector pose, for a manipulator +that has revolute joints with a range larger than 360 degrees. The original submitted configuration +will be part of the returned configurations"#######,sim_get_alternate_configs,"getAlternateConfigs",(joint_handles:Vec,input_config:Vec),opt(tip_handle:i64,low_limits:Vec,ranges:Vec)->Vec), +(r#######"Retrieves all API functions and variables that match a specific word. +Useful for script code auto-completion functionality"#######,sim_get_api_func,"getApiFunc",(script_handle:i64,api_word:String)->Vec), +(r#######"Returns the call tip (or info text) for an API function"#######,sim_get_api_info,"getApiInfo",(script_handle:i64,api_word:String)->String), +(r#######"Retrieves 3 values from an array parameter"#######,sim_get_array_param,"getArrayParam",(parameter:i64)->Vec), +(r#######""#######,sim_get_auto_yield_delay,"getAutoYieldDelay"->f64), +(r#######"Retrieves a bool parameter"#######,sim_get_bool_param,"getBoolParam",(parameter:i64)->bool), +(r#######"Gets the value of a buffer signal"#######,sim_get_buffer_signal,"getBufferSignal",(signal_name:String)->Vec), +(r#######"Returns the position or distance along a path that is closest to a specified point in space"#######,sim_get_closest_pos_on_path,"getClosestPosOnPath",(path:Vec,path_lengths:Vec,abs_pt:Vec)->f64), +(r#######"Retrieves the object handles that compose a collection +"#######,sim_get_collection_objects,"getCollectionObjects",(collection_handle:i64)->Vec), +(r#######"Returns the distance between two configurations points"#######,sim_get_config_distance,"getConfigDistance",(config_a:Vec,config_b:Vec),opt(metric:Vec,types:Vec)->f64), +(r#######"Retrieves contact point information of a dynamic simulation pass."#######,sim_get_contact_info,"getContactInfo",(dynamic_pass:i64,object_handle:i64,index:i64)->(Vec,Vec,Vec,Vec)), +(r#######"Retrieves a bool value from the physics engine properties"#######,sim_get_engine_bool_param,"getEngineBoolParam",(param_id:i64,object_handle:i64)->bool), +(r#######"Retrieves a double value from the physics engine properties"#######,sim_get_engine_float_param,"getEngineFloatParam",(param_id:i64,object_handle:i64)->f64), +(r#######"Retrieves an int32 value from the physics engine properties"#######,sim_get_engine_int32_param,"getEngineInt32Param",(param_id:i64,object_handle:i64)->i64), +(r#######"Retrieves the Euler angles from a transformation matrix"#######,sim_get_euler_angles_from_matrix,"getEulerAnglesFromMatrix",(matrix:Vec)->Vec), +(r#######"Retrieves the explicit handling flags for a scene object"#######,sim_get_explicit_handling,"getExplicitHandling",(object_handle:i64)->i64), +(r#######"Retrieves a string that describes additional environment or object properties, mainly used by extension plugins."#######,sim_get_extension_string,"getExtensionString",(object_handle:i64,index:i64),opt(key:String)->String), +(r#######"Retrieves a floating point parameter"#######,sim_get_float_param,"getFloatParam",(parameter:i64)->f64), +(r#######"Retrieves all events that allow to reconstruct a scene's (mostly) visual content remotely"#######,sim_get_genesis_events,"getGenesisEvents"->Vec), +(r#######""#######,sim_get_graph_curve,"getGraphCurve",(graph_handle:i64,graph_type:i64,curve_index:i64)->(String,i64,Vec,Vec,Vec,Vec,i64,i64)), +(r#######""#######,sim_get_graph_info,"getGraphInfo",(graph_handle:i64)->(i64,Vec,Vec)), +(r#######"Retrieves an integer parameter"#######,sim_get_int32_param,"getInt32Param",(parameter:i64)->i64), +(r#######""#######,sim_get_is_real_time_simulation,"getIsRealTimeSimulation"->i64), +(r#######"Retrieves joint dependency information, when the joint is in dependent mode"#######,sim_get_joint_dependency,"getJointDependency",(joint_handle:i64)->(i64,f64,f64)), +(r#######"Retrieves the force or torque applied to a joint along/about its active axis. +This function retrieves meaningful information only if the joint is prismatic or revolute, +and is dynamically enabled. With the Bullet, MuJoCo and Newton engine, this function returns +the force or torque applied to the joint motor (torques from joint limits are not taken into account). +With the ODE and Vortex engine, this function returns the total force or torque applied to a joint +along/about its z-axis"#######,sim_get_joint_force,"getJointForce",(joint_handle:i64)->f64), +(r#######"Retrieves the interval parameters of a joint"#######,sim_get_joint_interval,"getJointInterval",(object_handle:i64)->(bool,Vec)), +(r#######"Retrieves the operation mode of a joint"#######,sim_get_joint_mode,"getJointMode",(joint_handle:i64)->(i64,i64)), +(r#######"Retrieves the linear/angular position of a joint. This function cannot be used with spherical joints +(use [sim_get_object_child_pose](#method.sim_get_object_child_pose) instead)"#######,sim_get_joint_position,"getJointPosition",(object_handle:i64)->f64), +(r#######"Retrieves the force or torque that a joint can exert"#######,sim_get_joint_target_force,"getJointTargetForce",(joint_handle:i64)->f64), +(r#######"Retrieves the target linear/angular position of a joint"#######,sim_get_joint_target_position,"getJointTargetPosition",(object_handle:i64)->f64), +(r#######"Retrieves the target linear/angular velocity of a non-spherical joint"#######,sim_get_joint_target_velocity,"getJointTargetVelocity",(object_handle:i64)->f64), +(r#######"Retrieves the type of a joint"#######,sim_get_joint_type,"getJointType",(object_handle:i64)->i64), +(r#######"Retrieves the linear or angular velocity of a joint. The velocity is a measured velocity +(i.e. from one simulation step to the next), and is available for all joints in the scene"#######,sim_get_joint_velocity,"getJointVelocity",(joint_handle:i64)->f64), +(r#######"Retrieves and clears the information string generated by last API call"#######,sim_get_last_info,"getLastInfo"->String), +(r#######"Retrieves various parameters of a light object"#######,sim_get_light_parameters,"getLightParameters",(light_handle:i64)->(i64,Vec,Vec,Vec)), +(r#######"Retrieves the object handle of the dummy linked to this one"#######,sim_get_link_dummy,"getLinkDummy",(dummy_handle:i64)->i64), +(r#######"Deprecated. See [sim_read_custom_data_tags](#method.sim_read_custom_data_tags) instead."#######,sim_get_matching_persistent_data_tags,"getMatchingPersistentDataTags",(pattern:String)->Vec), +(r#######"Inverts a transformation matrix"#######,sim_get_matrix_inverse,"getMatrixInverse",(matrix:Vec)->Vec), +(r#######"Retrieves the properties of a model"#######,sim_get_model_property,"getModelProperty",(object_handle:i64)->i64), +(r#######"Retrieves a named bool parameter. Accepted values are true, false, on, off, 1 +or 0 +"#######,sim_get_named_bool_param,"getNamedBoolParam",(name:String)->bool), +(r#######"Retrieves a named double parameter"#######,sim_get_named_float_param,"getNamedFloatParam",(name:String)->f64), +(r#######"Retrieves a named int parameter"#######,sim_get_named_int32_param,"getNamedInt32Param",(name:String)->i64), +(r#######"Retrieves a named string or buffer parameter"#######,sim_get_named_string_param,"getNamedStringParam",(param_name:String)->Vec), +(r#######"Retrieves the navigation and selection mode for the mouse"#######,sim_get_navigation_mode,"getNavigationMode"->i64), +(r#######"Retrieves an object handle based on its path and alias"#######,sim_get_object,"getObject",(path:String),opt(options:serde_json::Value)->i64), +(r#######"Retrieves the alias or path of an object based on its handle"#######,sim_get_object_alias,"getObjectAlias",(object_handle:i64),opt(options:i64)->String), +(r#######""#######,sim_get_object_alias_relative,"getObjectAliasRelative",(handle:i64,base_handle:i64),opt(options:i64)->String), +(r#######"Retrieves the handle of an object's child object"#######,sim_get_object_child,"getObjectChild",(object_handle:i64,index:i64)->i64), +(r#######"Retrieves the intrinsic or internal transformation of an object. For a joint, this is the transformation caused +by the joint movement, mainly. For joints and force sensors, this will also include a possible error +transformation caused by the physics engine (a physics engine can cause joints and force sensors to come apart, +when constraints can't be perfectly resolved)"#######,sim_get_object_child_pose,"getObjectChildPose",(object_handle:i64)->Vec), +(r#######"Retrieves the color of a scene object"#######,sim_get_object_color,"getObjectColor",(object_handle:i64,index:i64,color_component:i64)->Vec), +(r#######"Retrieves a floating-point array parameter of a scene object +"#######,sim_get_object_float_array_param,"getObjectFloatArrayParam",(object_handle:i64,parameter_id:i64)->Vec), +(r#######"Retrieves a floating-point parameter of a scene object +"#######,sim_get_object_float_param,"getObjectFloatParam",(object_handle:i64,parameter_id:i64)->f64), +(r#######"Retrieves an object handle based on its unique identifier"#######,sim_get_object_from_uid,"getObjectFromUid",(uid:i64),opt(options:serde_json::Value)->()), +(r#######"Retrieves the zero-based position of an object among its siblings in the scene hierarchy"#######,sim_get_object_hierarchy_order,"getObjectHierarchyOrder",(object_handle:i64)->(i64,i64)), +(r#######"Retrieves an int32 parameter of a scene object +"#######,sim_get_object_int32_param,"getObjectInt32Param",(object_handle:i64,parameter_id:i64)->i64), +(r#######"Retrieves the transformation matrix of an object"#######,sim_get_object_matrix,"getObjectMatrix",(object_handle:i64),opt(relative_to_object_handle:i64)->Vec), +(r#######"Retrieves the orientation (Euler angles) of an object"#######,sim_get_object_orientation,"getObjectOrientation",(object_handle:i64),opt(relative_to_object_handle:i64)->Vec), +(r#######"Retrieves the handle of an object's parent object"#######,sim_get_object_parent,"getObjectParent",(object_handle:i64)->i64), +(r#######"Retrieves the pose of an object"#######,sim_get_object_pose,"getObjectPose",(object_handle:i64),opt(relative_to_object_handle:i64)->Vec), +(r#######"Retrieves the position of an object"#######,sim_get_object_position,"getObjectPosition",(object_handle:i64),opt(relative_to_object_handle:i64)->Vec), +(r#######"Retrieves the main properties of a scene object"#######,sim_get_object_property,"getObjectProperty",(object_handle:i64)->i64), +(r#######"Retrieves the quaternion of an object"#######,sim_get_object_quaternion,"getObjectQuaternion",(object_handle:i64),opt(relative_to_object_handle:i64)->Vec), +(r#######"Retrieves the handles of selected objects"#######,sim_get_object_sel,"getObjectSel"->Vec), +(r#######"Retrieves the size factor of a scene object. The size factor is different from the real object size. +Use this to be able to adapt to scaling operations"#######,sim_get_object_size_factor,"getObjectSizeFactor",(object_handle:i64)->f64), +(r#######"Retrieves the special properties of a scene object"#######,sim_get_object_special_property,"getObjectSpecialProperty",(object_handle:i64)->i64), +(r#######"Retrieves a string parameter of a scene object +"#######,sim_get_object_string_param,"getObjectStringParam",(object_handle:i64,parameter_id:i64)->Vec), +(r#######"Retrieves the type of an object"#######,sim_get_object_type,"getObjectType",(object_handle:i64)->i64), +(r#######"Retrieves the unique identifier of an object: throughout a CoppeliaSim session, there won't be two +identical unique identifiers. Unique identifiers are however not persistent (i.e. are not saved with the object)"#######,sim_get_object_uid,"getObjectUid",(object_handle:i64)->i64), +(r#######"Retrieves the linear and/or angular velocity of an object, in absolute coordinates. The velocity is +a measured velocity (i.e. from one simulation step to the next), and is available for all +objects in the scene"#######,sim_get_object_velocity,"getObjectVelocity",(object_handle:i64)->(Vec,Vec)), +(r#######"Retrieves object handles. Use this in a loop where index starts at 0 and is incremented to get all +object handles in the scene"#######,sim_get_objects,"getObjects",(index:i64,object_type:i64)->i64), +(r#######"Retrieves object handles in a given hierarchy tree"#######,sim_get_objects_in_tree,"getObjectsInTree",(tree_base_handle:i64),opt(object_type:i64,options:i64)->Vec), +(r#######"Retrieves voxel positions from an OC tree +"#######,sim_get_octree_voxels,"getOctreeVoxels",(octree_handle:i64)->Vec), +(r#######"Retrieves the current page index (view)"#######,sim_get_page,"getPage"->i64), +(r#######"Returns an interpolated configuration from a path"#######,sim_get_path_interpolated_config,"getPathInterpolatedConfig",(path:Vec,path_lengths:Vec,t:f64),opt(method:serde_json::Value,types:Vec)->Vec), +(r#######"Returns the lengths of a path in 1, 2 or 3D Cartesian space, even if more coordinates are +provided. Each path point will have a corresponding length value (taken as the distance from the +path's first point, along the path)"#######,sim_get_path_lengths,"getPathLengths",(path:Vec,dof:i64),opt(dist_callback:String)->(Vec,f64)), +(r#######"Deprecated. See [sim_read_custom_data_tags](#method.sim_read_custom_data_tags) instead."#######,sim_get_persistent_data_tags,"getPersistentDataTags"->Vec), +(r#######"Returns auxiliary information about a loaded plugin"#######,sim_get_plugin_info,"getPluginInfo",(plugin_name:String,info_type:i64)->String), +(r#######"Retrieves a plugin name based on an index"#######,sim_get_plugin_name,"getPluginName",(index:i64)->String), +(r#######"Gets various properties of a point cloud +"#######,sim_get_point_cloud_options,"getPointCloudOptions",(point_cloud_handle:i64)->(f64,i64,i64,f64)), +(r#######"Retrieves point positions from a point cloud +"#######,sim_get_point_cloud_points,"getPointCloudPoints",(point_cloud_handle:i64)->Vec), +(r#######"Inverts a pose"#######,sim_get_pose_inverse,"getPoseInverse",(pose:Vec)->Vec), +(r#######"Generates a random value in the range between 0.0 and 1.0. The value is generated from an individual generator attached to the calling script"#######,sim_get_random,"getRandom",opt(seed:i64)->f64), +(r#######"Indicates whether the simulation is real-time"#######,sim_get_real_time_simulation,"getRealTimeSimulation"->bool), +(r#######"Retrieves a list of custom handles, linking a given scene object to other scene objects"#######,sim_get_referenced_handles,"getReferencedHandles",(object_handle:i64),opt(tag:String)->Vec), +(r#######"Retrieves a list of all referenced handles tags"#######,sim_get_referenced_handles_tags,"getReferencedHandlesTags",(object_handle:i64)->Vec), +(r#######"Retrieves an axis and rotation angle that brings one pose or transformation matrix +onto another one. The translation part of the poses/matrices is ignored. This function, +when used in combination with [sim_rotate_around_axis](#method.sim_rotate_around_axis), +can be used to build interpolations between transformation matrices"#######,sim_get_rotation_axis,"getRotationAxis",(matrix_start:Vec,matrix_goal:Vec)->(Vec,f64)), +(r#######"Generates a scaled-up or scaled down version of the input image"#######,sim_get_scaled_image,"getScaledImage",(image_in:Vec,resolution_in:Vec,desired_resolution_out:Vec,options:i64)->(Vec,Vec)), +(r#######"Retrieves the handle of a script. For script objects, use [sim_get_object](#method.sim_get_object) instead"#######,sim_get_script,"getScript",(script_type:i64),opt(script_name:String)->i64), +(r#######"Retrieves a map of another script functions, that can be called"#######,sim_get_script_functions,"getScriptFunctions",(script_handle:i64)->serde_json::Value), +(r#######""#######,sim_get_setting_bool,"getSettingBool",(key:String)->bool), +(r#######""#######,sim_get_setting_float,"getSettingFloat",(key:String)->f64), +(r#######""#######,sim_get_setting_int32,"getSettingInt32",(key:String)->i64), +(r#######""#######,sim_get_setting_string,"getSettingString",(key:String)->String), +(r#######""#######,sim_get_shape_appearance,"getShapeAppearance",(handle:i64),opt(opts:serde_json::Value)->serde_json::Value), +(r#######"Returns the size and relative pose of a shape's bounding box"#######,sim_get_shape_bb,"getShapeBB",(shape_handle:i64)->(Vec,Vec)), +(r#######"Retrieves the color of a shape"#######,sim_get_shape_color,"getShapeColor",(shape_handle:i64,color_name:String,color_component:i64)->(i64,Vec)), +(r#######"Retrieves geometric information related to a shape"#######,sim_get_shape_geom_info,"getShapeGeomInfo",(shape_handle:i64)->(i64,i64,Vec)), +(r#######"Retrieves the inertia information from a shape"#######,sim_get_shape_inertia,"getShapeInertia",(shape_handle:i64)->(Vec,Vec)), +(r#######"Retrieves the mass of a shape"#######,sim_get_shape_mass,"getShapeMass",(shape_handle:i64)->f64), +(r#######"Retrieves a shape's mesh information"#######,sim_get_shape_mesh,"getShapeMesh",(shape_handle:i64)->(Vec,Vec,Vec)), +(r#######"Retrieves the texture ID of a texture that is applied to a specific shape"#######,sim_get_shape_texture_id,"getShapeTextureId",(shape_handle:i64)->i64), +(r#######"Retrieves a shape's visual information."#######,sim_get_shape_viz,"getShapeViz",(shape_handle:i64,item_index:i64)->serde_json::Value), +(r#######"Returns the signal name at the given index. Use this function in a loop until return is nullptr to read all set signals"#######,sim_get_signal_name,"getSignalName",(signal_index:i64,signal_type:i64)->String), +(r#######"Retrieves current simulation state +"#######,sim_get_simulation_state,"getSimulationState"->i64), +(r#######"Convenience function that returns true when the simulation is about to stop or stopped."#######,sim_get_simulation_stopping,"getSimulationStopping"->bool), +(r#######"Retrieves the current simulation time"#######,sim_get_simulation_time,"getSimulationTime"->f64), +(r#######"Retrieves the simulation time step (the simulation time (i.e. not real-time) that +passes at each main script simulation pass). This value might not be constant for a given simulation."#######,sim_get_simulation_time_step,"getSimulationTimeStep"->f64), +(r#######"Retrieves and removes the next message in the C/C++ or Lua message queues. Use this in a while-loop until +all messages have been extracted. While the C/C++ interface has one single message queue, each Lua script +has its own message queue. The C/C++ version of this function should only be called from the CoppeliaSim +client application. A given message queue cannot hold more than 64 messages, unread messages will be discarded."#######,sim_get_simulator_message,"getSimulatorMessage"->(i64,Vec,Vec)), +(r#######"Lua only. Retrieves and clears the last generated stack traceback for a script"#######,sim_get_stack_traceback,"getStackTraceback",opt(script_handle:i64)->String), +(r#######"Retrieves a string parameter"#######,sim_get_string_param,"getStringParam",(parameter:i64)->String), +(r#######"Retrieves the system time."#######,sim_get_system_time,"getSystemTime"->f64), +(r#######"Retrieves the texture ID of a specific texture"#######,sim_get_texture_id,"getTextureId",(texture_name:String)->(i64,Vec)), +(r#######""#######,sim_get_thread_id,"getThreadId"->i64), +(r#######"Lua only. Returns all variables, except those set by CoppeliaSim."#######,sim_get_user_variables,"getUserVariables"->Vec), +(r#######"Retrieves the linear and/or angular velocity of the center of mass of a non-static shape. +Data is provided by the selected physics engine"#######,sim_get_velocity,"getVelocity",(shape_handle:i64)->(Vec,Vec)), +(r#######"Reads the depth buffer of a vision sensor. The returned data doesn't make sense if +[sim_handle_vision_sensor](#method.sim_handle_vision_sensor) wasn't called previously"#######,sim_get_vision_sensor_depth,"getVisionSensorDepth",(sensor_handle:i64),opt(options:i64,pos:Vec,size:Vec)->(Vec,Vec)), +(r#######"Reads the image of a vision sensor. The returned data doesn't make sense if +[sim_handle_vision_sensor](#method.sim_handle_vision_sensor) wasn't called previously"#######,sim_get_vision_sensor_img,"getVisionSensorImg",(sensor_handle:i64),opt(options:i64,rgba_cut_off:f64,pos:Vec,size:Vec)->(Vec,Vec)), +(r#######"Returns the resolution of the vision sensor"#######,sim_get_vision_sensor_res,"getVisionSensorRes",(sensor_handle:i64)->()), +(r#######"Groups (or merges) several shapes into a compound shape (or simple shape)"#######,sim_group_shapes,"groupShapes",(shape_handles:Vec),opt(merge:bool)->i64), +(r#######"Lua only. Calls a specific function in add-ons. +Should only be called from the main script +"#######,sim_handle_add_on_scripts,"handleAddOnScripts",(call_type:i64)->i64), +(r#######"Handles the dynamics functionality in a scene"#######,sim_handle_dynamics,"handleDynamics",(delta_time:f64)->i64), +(r#######"Lua only. Calls a specific system callback function in +simulation scripts and customization scripts. +Simulation- and customization scripts will be executed in a precise order. +This function should only be called from the main script +"#######,sim_handle_embedded_scripts,"handleEmbeddedScripts",(call_type:i64)->i64), +(r#######"Handles the message pump for threaded scripts"#######,sim_handle_ext_calls,"handleExtCalls"->()), +(r#######"Handles a graph object (i.e. records another value for each curve, given that such value was provided +via [sim_set_graph_stream_value](#method.sim_set_graph_stream_value) +"#######,sim_handle_graph,"handleGraph",(object_handle:i64,simulation_time:f64)->()), +(r#######""#######,sim_handle_joint_motion,"handleJointMotion"->()), +(r#######"Handles (performs sensing, etc. of) a registered proximity sensor object"#######,sim_handle_proximity_sensor,"handleProximitySensor",(sensor_handle:i64)->(i64,f64,Vec,i64,Vec)), +(r#######"Lua only. Calls a specific function in the sandbox. +[sim_handle_sandbox_script](#method.sim_handle_sandbox_script) should only be called from the main script +"#######,sim_handle_sandbox_script,"handleSandboxScript",(call_type:i64)->()), +(r#######"Handles various functionality (e.g. camera tracking during simulation, object velocity calculation, etc.). +Should only be called from the main script, as the first instruction in +the sensing section"#######,sim_handle_sensing_start,"handleSensingStart"->()), +(r#######"Lua only. Calls a specific system callback function in +simulation scripts. Simulation scripts will be executed in a precise order. +This function should only be called from the main script."#######,sim_handle_simulation_scripts,"handleSimulationScripts",(call_type:i64)->i64), +(r#######"Initializes various functionality (e.g. camera tracking during simulation, object velocity calculation, etc.). +Should only be called from the main script, as the first instruction in the +initialization section"#######,sim_handle_simulation_start,"handleSimulationStart"->()), +(r#######"Handles (performs sensing, etc. of) a vision sensor object. It (1) clear previous computed image processing data, (2) reads +an image and (3) performs image processing via the vision callback functions +(if the vision sensor is using an external input only (1) is performed)"#######,sim_handle_vision_sensor,"handleVisionSensor",(sensor_handle:i64)->(i64,Vec,Vec)), +(r#######"Imports a mesh from a file"#######,sim_import_mesh,"importMesh",(fileformat:i64,path_and_filename:String,options:i64,identical_vertice_tolerance:f64,scaling_factor:f64)->(Vec,Vec)), +(r#######"Imports a shape from a file (first imports meshes, then groups/merges +them into a shape)"#######,sim_import_shape,"importShape",(fileformat:i64,path_and_filename:String,options:i64,identical_vertice_tolerance:f64,scaling_factor:f64)->i64), +(r#######"Initializes/reinitializes a script. Operates in an asynchronous way, and cannot be called from within the script being reinitialized"#######,sim_init_script,"initScript",(script_handle:i64)->()), +(r#######"Inserts an object into an OC tree, as voxels. Each voxel will store +a color and a tag value"#######,sim_insert_object_into_octree,"insertObjectIntoOctree",(octree_handle:i64,object_handle:i64,options:i64),opt(color:Vec,tag:i64)->i64), +(r#######"Inserts an object into a point cloud, as points"#######,sim_insert_object_into_point_cloud,"insertObjectIntoPointCloud",(point_cloud_handle:i64,object_handle:i64,options:i64,grid_size:f64),opt(color:Vec,duplicate_tolerance:f64)->i64), +(r#######"Inserts points into a point cloud +"#######,sim_insert_points_into_point_cloud,"insertPointsIntoPointCloud",(point_cloud_handle:i64,options:i64,points:Vec),opt(color:Vec,duplicate_tolerance:f64)->i64), +(r#######"Inserts voxels into an OC tree. Each voxel will store a color and a tag value"#######,sim_insert_voxels_into_octree,"insertVoxelsIntoOctree",(octree_handle:i64,options:i64,points:Vec),opt(color:Vec,tag:Vec)->i64), +(r#######"Computes the interpolated transformation matrix between matrixIn1 and matrixIn2. Quaternions are used internally"#######,sim_interpolate_matrices,"interpolateMatrices",(matrix_in1:Vec,matrix_in2:Vec,interpol_factor:f64)->Vec), +(r#######"Computes the interpolated pose between poseIn1 and poseIn2"#######,sim_interpolate_poses,"interpolatePoses",(pose_in1:Vec,pose_in2:Vec,interpol_factor:f64)->Vec), +(r#######"Removes points from a point cloud, that do not intersect with the +provided points (i.e. the result in the point cloud will be the intersection between the two sets of points). +When a point cloud doesn't use an OC tree calculation structure, then this operation cannot be performed"#######,sim_intersect_points_with_point_cloud,"intersectPointsWithPointCloud",(point_cloud_handle:i64,options:i64,points:Vec,tolerance:f64)->i64), +(r#######"Deprecated (yes, what an irony!). Returns 0"#######,sim_is_deprecated,"isDeprecated",(func_or_const:String)->i64), +(r#######"Checks whether a scene object is dynamically enabled, i.e. is being handled and simulated by the physics engine. +Note that until the physics engine has parsed the scene in the first simulation step (i.e. the first time +[sim_handle_dynamics](#method.sim_handle_dynamics) is called), no object will be dynamically enabled"#######,sim_is_dynamically_enabled,"isDynamicallyEnabled",(object_handle:i64)->bool), +(r#######"Checks whether a general object handle is still valid. When a general object is destroyed +(e.g. programmatically or via the user interface), then its related handle is not valid anymore +and will trigger an error when used. Use this function to avoid triggering an error"#######,sim_is_handle,"isHandle",(object_handle:i64)->bool), +(r#######"Launches an executable. Similar to os.execute or io.popen, but is system independent."#######,sim_launch_executable,"launchExecutable",(filename:String),opt(parameters:String,show_status:i64)->()), +(r#######"Loads an image from file or memory"#######,sim_load_image,"loadImage",(options:i64,filename:String)->(Vec,Vec)), +(r#######"Loads a previously saved model, and selects it"#######,sim_load_model,"loadModel",(filename:String)->i64), +(r#######"Loads a previously saved scene"#######,sim_load_scene,"loadScene",(filename:String)->()), +(r#######"Converts a transformation matrix to a pose"#######,sim_matrix_to_pose,"matrixToPose",(matrix:Vec)->Vec), +(r#######"Creates, modifies or destroys module menu entries. Those are user selectable items located in [Menu bar > Modules]. +When selected, the corresponding script will have its sysCall_moduleEntry +callback function triggered, or sim_message_eventcallback_moduleentry triggered"#######,sim_module_entry,"moduleEntry",(handle:i64),opt(label:String,state:i64)->i64), +(r#######"Executes a n-DoF motion using the Ruckig online trajectory generator. This function can only be called from scripts running in a thread, since this is a blocking operation"#######,sim_move_to_config,"moveToConfig",(params:serde_json::Value)->serde_json::Value), +(r#######""#######,sim_move_to_config_cleanup,"moveToConfig_cleanup",(motion_object:serde_json::Value)->()), +(r#######""#######,sim_move_to_config_init,"moveToConfig_init",(params:serde_json::Value)->serde_json::Value), +(r#######""#######,sim_move_to_config_step,"moveToConfig_step",(motion_object:serde_json::Value)->(i64,serde_json::Value)), +(r#######"Executes an object motion using the Ruckig online trajectory generator, by performing interpolations between two poses. The function can operate by handling 4 motion variables (x,y,z and +angle between the two poses), or a single movement variable (t, which requires a metric to be specified for distance +calculation between the two poses). This function can only be called from a script running in a thread, since this is a blocking +operation"#######,sim_move_to_pose,"moveToPose",(params:serde_json::Value)->serde_json::Value), +(r#######""#######,sim_move_to_pose_cleanup,"moveToPose_cleanup",(motion_object:serde_json::Value)->()), +(r#######""#######,sim_move_to_pose_init,"moveToPose_init",(params:serde_json::Value)->serde_json::Value), +(r#######""#######,sim_move_to_pose_step,"moveToPose_step",(motion_object:serde_json::Value)->(i64,serde_json::Value)), +(r#######"Multiplies two transformation matrices"#######,sim_multiply_matrices,"multiplyMatrices",(matrix_in1:Vec,matrix_in2:Vec)->Vec), +(r#######"Multiplies two poses"#######,sim_multiply_poses,"multiplyPoses",(pose_in1:Vec,pose_in2:Vec)->Vec), +(r#######"Multiplies a vector with a pose or a matrix (e.g. v=m*v)"#######,sim_multiply_vector,"multiplyVector",(matrix:Vec,in_vectors:Vec)->Vec), +(r#######"Packs ab array of double floating-point numbers into a string"#######,sim_pack_double_table,"packDoubleTable",(double_numbers:Vec),opt(start_double_index:i64,double_count:i64)->Vec), +(r#######"Packs an array of floating-point numbers into a string"#######,sim_pack_float_table,"packFloatTable",(float_numbers:Vec),opt(start_float_index:i64,float_count:i64)->Vec), +(r#######"Packs an array of int32 numbers into a string"#######,sim_pack_int32_table,"packInt32Table",(int32_numbers:Vec),opt(start_int32_index:i64,int32_count:i64)->Vec), +(r#######"Packs a table into a buffer. The table may contain other nested arrays, maps, None/nil, bool, +number or string values. All other types (e.g. functions) will be considered as string or None/nil values. +You can also use [sim_pack_table](#method.sim_pack_table) to quickly compare two tables or to perform a deep copy of a table"#######,sim_pack_table,"packTable",(a_table:Vec),opt(scheme:i64)->Vec), +(r#######"Packs an array of uint16 numbers into a string"#######,sim_pack_u_int16_table,"packUInt16Table",(uint16_numbers:Vec),opt(start_uint16_index:i64,uint16_count:i64)->Vec), +(r#######"Packs an array of uint32 numbers into a string"#######,sim_pack_u_int32_table,"packUInt32Table",(uint32_numbers:Vec),opt(start_u_int32_index:i64,uint32_count:i64)->Vec), +(r#######"Packs an array of uint8 numbers into a string"#######,sim_pack_u_int8_table,"packUInt8Table",(uint8_numbers:Vec),opt(start_uint8_index:i64,uint8count:i64)->Vec), +(r#######"Requests a pause of a simulation"#######,sim_pause_simulation,"pauseSimulation"->()), +(r#######"Deprecated. See [sim_read_custom_buffer_data](#method.sim_read_custom_buffer_data) instead."#######,sim_persistent_data_read,"persistentDataRead",(data_tag:String)->Vec), +(r#######"Deprecated. See [sim_write_custom_buffer_data](#method.sim_write_custom_buffer_data) instead."#######,sim_persistent_data_write,"persistentDataWrite",(data_tag:String,data_value:Vec),opt(options:i64)->()), +(r#######"Converts a pose to a transformation matrix"#######,sim_pose_to_matrix,"poseToMatrix",(pose:Vec)->Vec), +(r#######"Pushes a user-triggered event. Messages are received asynchronously via the +sysCall_event callback function and via the plugin +sim_message_eventcallback_events message call"#######,sim_push_user_event,"pushUserEvent",(event:String,handle:i64,uid:i64,event_data:serde_json::Value),opt(options:i64)->()), +(r#######"Triggers a quit signal after which the application eventually ends"#######,sim_quit_simulator,"quitSimulator"->()), +(r#######"Reads custom data that is stored inside of an object, the scene, the app, or the app's storage"#######,sim_read_custom_buffer_data,"readCustomBufferData",(object_handle:i64,tag_name:String)->Vec), +(r#######"Reads the tags of all custom data that is stored inside of an object, the scene, the app, or the app's storage"#######,sim_read_custom_data_tags,"readCustomDataTags",(object_handle:i64)->Vec), +(r#######"Reads custom data that is stored inside of an object, the scene, the app, or the app's storage"#######,sim_read_custom_string_data,"readCustomStringData",(object_handle:i64,tag_name:String)->String), +(r#######"Reads custom table data that is stored inside of an object, the scene, the app, or the app's storage"#######,sim_read_custom_table_data,"readCustomTableData",(handle:i64,tag_name:String),opt(options:serde_json::Value)->serde_json::Value), +(r#######"Reads the force and torque applied to a force sensor (filtered values are read)"#######,sim_read_force_sensor,"readForceSensor",(object_handle:i64)->(i64,Vec,Vec)), +(r#######"Reads the state of a proximity sensor. This function doesn't perform detection, +it merely reads the result from a previous call to [sim_handle_proximity_sensor](#method.sim_handle_proximity_sensor) +"#######,sim_read_proximity_sensor,"readProximitySensor",(sensor_handle:i64)->(i64,f64,Vec,i64,Vec)), +(r#######"Retrieves the RGB data (or a portion of it) related to a specific texture"#######,sim_read_texture,"readTexture",(texture_id:i64,options:i64),opt(pos_x:i64,pos_y:i64,size_x:i64,size_y:i64)->Vec), +(r#######"Reads the state of a vision sensor. This function doesn't perform detection, it merely +reads the result from a previous call to [sim_handle_vision_sensor](#method.sim_handle_vision_sensor) +"#######,sim_read_vision_sensor,"readVisionSensor",(sensor_handle:i64)->(i64,Vec,Vec)), +(r#######"Refreshes CoppeliaSim's internal dialogs. Calling [sim_refresh_dialogs](#method.sim_refresh_dialogs) will +not trigger a sim.message_eventcallback_refreshdialogs message"#######,sim_refresh_dialogs,"refreshDialogs",(refresh_degree:i64)->i64), +(r#######"Counterpart function to [sim_acquire_lock](#method.sim_acquire_lock). Unlocking is cumulative"#######,sim_release_lock,"releaseLock"->()), +(r#######"Repositions and reorients the reference frame of a shape, while keeping the mesh +in place. The shape's inertia properties are unaffected."#######,sim_relocate_shape_frame,"relocateShapeFrame",(shape_handle:i64,pose:Vec)->i64), +(r#######"Removes a previously added drawing object"#######,sim_remove_drawing_object,"removeDrawingObject",(drawing_object_handle:i64)->()), +(r#######"Removes a model from the scene"#######,sim_remove_model,"removeModel",(object_handle:i64),opt(delayed_removal:bool)->i64), +(r#######"Removes one or several objects from the scene"#######,sim_remove_objects,"removeObjects",(object_handles:Vec),opt(delayed_removal:bool)->()), +(r#######"Removes a previously added particle object"#######,sim_remove_particle_object,"removeParticleObject",(particle_object_handle:i64)->()), +(r#######"Removes points from a point cloud. When a point cloud doesn't +use an OC tree calculation structure, then individual points cannot be removed, +only all points can be removed in that case"#######,sim_remove_points_from_point_cloud,"removePointsFromPointCloud",(point_cloud_handle:i64,options:i64,points:Vec,tolerance:f64)->i64), +(r#######""#######,sim_remove_referenced_objects,"removeReferencedObjects",(object_handle:i64),opt(tag:String)->()), +(r#######"Removes voxels from an OC tree +"#######,sim_remove_voxels_from_octree,"removeVoxelsFromOctree",(octree_handle:i64,options:i64,points:Vec)->i64), +(r#######"Returns a resampled path"#######,sim_resample_path,"resamplePath",(path:Vec,path_lengths:Vec,final_config_cnt:i64),opt(method:serde_json::Value,types:Vec)->Vec), +(r#######"Dynamically resets an object that is dynamically simulated. This means that the object representation +in the dynamics engine is removed, and added again. This can be useful when the set-up of a dynamically +simulated chain needs to be modified during simulation (e.g. joint or shape attachement position/orientation changed)"#######,sim_reset_dynamic_object,"resetDynamicObject",(object_handle:i64)->()), +(r#######"Resets a graph object (i.e. clears all its data streams)"#######,sim_reset_graph,"resetGraph",(object_handle:i64)->()), +(r#######"Clears the detection state, detection color, detection segments, etc. of a proximity sensor object"#######,sim_reset_proximity_sensor,"resetProximitySensor",(object_handle:i64)->()), +(r#######"Clears the detection state, etc. of a proximity sensor object"#######,sim_reset_vision_sensor,"resetVisionSensor",(sensor_handle:i64)->()), +(r#######"Restores the color of an entity, previously +modified with [sim_change_entity_color](#method.sim_change_entity_color) +"#######,sim_restore_entity_color,"restoreEntityColor",(original_color_data:Vec)->()), +(r#######"Rotates a pose or transformation matrix around a random axis in space. This function, +when used in combination with [sim_get_rotation_axis](#method.sim_get_rotation_axis), can +be used to build interpolations between poses or transformation matrices"#######,sim_rotate_around_axis,"rotateAroundAxis",(matrix_in:Vec,axis:Vec,axis_pos:Vec,angle:f64)->Vec), +(r#######"Executes a call to the Ruckig online trajectory generator. +The Ruckig online trajectory generator provides instantaneous trajectory generation capabilities +for motion control systems. This function prepares a position-based trajectory generation object, +that can then be calculated with [sim_ruckig_step](#method.sim_ruckig_step). When this object +is not needed anymore, remove it with sim.ruckigRemove +"#######,sim_ruckig_pos,"ruckigPos",(dofs:i64,base_cycle_time:f64,flags:i64,current_pos_vel_accel:Vec,max_vel_accel_jerk:Vec,selection:Vec,target_pos_vel:Vec)->i64), +(r#######"Removes an object previously created via [sim_ruckig_pos](#method.sim_ruckig_pos) +or sim.ruckigVel."#######,sim_ruckig_remove,"ruckigRemove",(handle:i64)->()), +(r#######"Executes a call to the Ruckig online trajectory generator. +The Ruckig online trajectory generator provides instantaneous trajectory generation capabilities for +motion control systems. This function steps forward a trajectory generation algorithm previously prepared +via [sim_ruckig_pos](#method.sim_ruckig_pos) or sim.ruckigVel +"#######,sim_ruckig_step,"ruckigStep",(handle:i64,cycle_time:f64)->(i64,Vec,f64)), +(r#######"Executes a call to the Ruckig online trajectory generator. +The Ruckig online trajectory generator provides instantaneous trajectory generation capabilities for +motion control systems. This function prepares a velocity-based trajectory generation object, +that can then be calculated with [sim_ruckig_step](#method.sim_ruckig_step). When this object +is not needed anymore, remove it with sim.ruckigRemove +"#######,sim_ruckig_vel,"ruckigVel",(dofs:i64,base_cycle_time:f64,flags:i64,current_pos_vel_accel:Vec,max_accel_jerk:Vec,selection:Vec,target_vel:Vec)->i64), +(r#######"Saves an image to file or to memory"#######,sim_save_image,"saveImage",(image:Vec,resolution:Vec,options:i64,filename:String,quality:i64)->Vec), +(r#######"Saves a model (an object marked as "Object is model base" and all other +objects in its hierarchy tree). Any existing file with same name will be overwritten"#######,sim_save_model,"saveModel",(model_base_handle:i64,filename:String)->()), +(r#######"Saves a scene. Any existing file with same name will be overwritten"#######,sim_save_scene,"saveScene",(filename:String)->()), +(r#######"Scales specified objects in a non-isometric fashion, if possible. Only non-compound shapes +can be non-isometrically scaled. Some primitive shapes can have some constraints between their axes"#######,sim_scale_object,"scaleObject",(object_handle:i64,x_scale:f64,y_scale:f64,z_scale:f64),opt(options:i64)->()), +(r#######"Scales specified objects. All related values are automatically scaled appropriately +(e.g. masses, forces, etc.)"#######,sim_scale_objects,"scaleObjects",(object_handles:Vec,scaling_factor:f64,scale_positions_too:bool)->()), +(r#######"Reads how many bytes are waiting to be read on a serial port (RS-232)"#######,sim_serial_check,"serialCheck",(port_handle:i64)->i64), +(r#######"Closes a serial port (RS-232)"#######,sim_serial_close,"serialClose",(port_handle:i64)->()), +(r#######"Opens a serial port (RS-232) for communication. When called from a script, +the function can only be called when the simulation is running (and in that case the port is +automatically closed at simulation stop)"#######,sim_serial_open,"serialOpen",(port_string:String,baudrate:i64)->i64), +(r#######"Reads from a previously opened serial port (RS-232). The C version of the function cannot +be blocking"#######,sim_serial_read,"serialRead",(port_handle:i64,data_length_to_read:i64,blocking_operation:bool),opt(closing_string:Vec,timeout:f64)->Vec), +(r#######"Writes data to a previously opened serial port (RS-232)"#######,sim_serial_send,"serialSend",(port_handle:i64,data:Vec)->i64), +(r#######"Sets 3 values of an array parameter +"#######,sim_set_array_param,"setArrayParam",(parameter:i64,array_of_values:Vec)->()), +(r#######"Allows specifying a thread interruption or yield delay, that will be +automatically enforced by the system (preemptive threading). By default this value is 2 ms"#######,sim_set_auto_yield_delay,"setAutoYieldDelay",(dt:f64)->()), +(r#######"Sets a bool parameter +"#######,sim_set_bool_param,"setBoolParam",(parameter:i64,bool_state:bool)->()), +(r#######"Sets the value of a buffer signal. A signal created in a simulation script, +a customization script or in the +main script is automatically cleared when the script ends"#######,sim_set_buffer_signal,"setBufferSignal",(signal_name:String,signal_value:Vec)->()), +(r#######"Sets a bool-type physics engine property. You might have to call +[sim_reset_dynamic_object](#method.sim_reset_dynamic_object) for changes to take effect"#######,sim_set_engine_bool_param,"setEngineBoolParam",(param_id:i64,object_handle:i64,bool_param:bool)->()), +(r#######"Sets a double-type physics engine property. You might have to call +[sim_reset_dynamic_object](#method.sim_reset_dynamic_object) for changes to take effect"#######,sim_set_engine_float_param,"setEngineFloatParam",(param_id:i64,object_handle:i64,float_param:f64)->()), +(r#######"Sets an int32-type physics engine property. You might have to call +[sim_reset_dynamic_object](#method.sim_reset_dynamic_object) for changes to take effect"#######,sim_set_engine_int32_param,"setEngineInt32Param",(param_id:i64,object_handle:i64,int32_param:i64)->()), +(r#######"Sets the explicit handling flags for a scene object"#######,sim_set_explicit_handling,"setExplicitHandling",(object_handle:i64,explicit_handling_flags:i64)->()), +(r#######"Sets a floating point parameter +"#######,sim_set_float_param,"setFloatParam",(parameter:i64,float_state:f64)->()), +(r#######"Sets the value of a double signal. A signal created in a simulation script, +a customization script or in the +main script is automatically cleared when the script ends"#######,sim_set_float_signal,"setFloatSignal",(signal_name:String,signal_value:f64)->()), +(r#######"Applies a transformation to a graph stream"#######,sim_set_graph_stream_transformation,"setGraphStreamTransformation",(graph_handle:i64,stream_id:i64,tr_type:i64),opt(mult:f64,off:f64,mov_avg_period:i64)->()), +(r#######"Sets the next value to be recorded for a graph stream"#######,sim_set_graph_stream_value,"setGraphStreamValue",(graph_handle:i64,stream_id:i64,value:f64)->()), +(r#######"Sets an integer parameter +"#######,sim_set_int32_param,"setInt32Param",(parameter:i64,int_state:i64)->()), +(r#######"Sets the value of an integer signal. A signal created in a simulation script, +a customization script or in the main script +is automatically cleared when the script ends"#######,sim_set_int32_signal,"setInt32Signal",(signal_name:String,signal_value:i64)->()), +(r#######"Sets a joint dependent of another joint. The dependent joint should first be set +into dependent mode via [sim_set_joint_mode](#method.sim_set_joint_mode) +"#######,sim_set_joint_dependency,"setJointDependency",(joint_handle:i64,master_joint_handle:i64,offset:f64,mult_coeff:f64)->()), +(r#######"Sets the interval parameters of a joint (i.e. range values). The attributes or +interval parameters might have no effect, depending on the joint-type"#######,sim_set_joint_interval,"setJointInterval",(object_handle:i64,cyclic:bool,interval:Vec)->()), +(r#######"Sets the operation mode of a joint"#######,sim_set_joint_mode,"setJointMode",(joint_handle:i64,joint_mode:i64,options:i64)->()), +(r#######"Sets the linear/angular position of a joint. Cannot be used with spherical joints +(use [sim_set_object_child_pose](#method.sim_set_object_child_pose) instead)"#######,sim_set_joint_position,"setJointPosition",(object_handle:i64,position:f64)->()), +(r#######"Sets the force or torque that a joint can exert"#######,sim_set_joint_target_force,"setJointTargetForce",(object_handle:i64,force_or_torque:f64),opt(signed_value:bool)->()), +(r#######"Sets the target linear/angular position of a joint. When in kinematic mode, +the joint moves according to a motion profile that respects maximum velocity, acceleration and jerk values. +In dynamic and position/custom control mode, the controller is instructed about the desired position"#######,sim_set_joint_target_position,"setJointTargetPosition",(object_handle:i64,target_position:f64),opt(motion_params:Vec)->()), +(r#######"Sets the target linear/angular velocity of a non-spherical joint. When in kinematic mode, +the joint moves according to a motion profile that respects maximum acceleration and +jerk values. In dynamic and velocity control mode, the controller is instructed about the +desired velocity"#######,sim_set_joint_target_velocity,"setJointTargetVelocity",(object_handle:i64,target_velocity:f64),opt(motion_params:Vec)->()), +(r#######"Sets various parameters of a light object"#######,sim_set_light_parameters,"setLightParameters",(light_handle:i64,state:i64,reserved:Vec,diffuse_part:Vec,specular_part:Vec)->()), +(r#######"Defines (or breaks) a dummy-dummy link pair. Useful to create dynamic loop closure +constraints on the fly (among others)"#######,sim_set_link_dummy,"setLinkDummy",(dummy_handle:i64,link_dummy_handle:i64)->()), +(r#######"Sets the properties of a model"#######,sim_set_model_property,"setModelProperty",(object_handle:i64,property:i64)->()), +(r#######""#######,sim_set_named_bool_param,"setNamedBoolParam",(name:String,value:bool)->()), +(r#######""#######,sim_set_named_float_param,"setNamedFloatParam",(name:String,value:f64)->()), +(r#######""#######,sim_set_named_int32_param,"setNamedInt32Param",(name:String,value:i64)->()), +(r#######"Sets a named string or buffer parameter"#######,sim_set_named_string_param,"setNamedStringParam",(param_name:String,string_param:Vec)->()), +(r#######"Sets the navigation and selection mode for the mouse"#######,sim_set_navigation_mode,"setNavigationMode",(navigation_mode:i64)->()), +(r#######"Sets the alias of an object"#######,sim_set_object_alias,"setObjectAlias",(object_handle:i64,object_alias:String)->()), +(r#######"Can be used to set a spherical joint's rotational transformation +(the translational part is ignored)"#######,sim_set_object_child_pose,"setObjectChildPose",(object_handle:i64,pose:Vec)->()), +(r#######"Sets the color of a scene object"#######,sim_set_object_color,"setObjectColor",(object_handle:i64,index:i64,color_component:i64,rgb_data:Vec)->bool), +(r#######"Sets a floating-point array parameter of a scene object +"#######,sim_set_object_float_array_param,"setObjectFloatArrayParam",(object_handle:i64,parameter_id:i64,params:Vec)->()), +(r#######"Sets a floating-point parameter of a scene object +"#######,sim_set_object_float_param,"setObjectFloatParam",(object_handle:i64,parameter_id:i64,parameter:f64)->()), +(r#######"Moves an object up or down among its siblings in the scene hierarchy"#######,sim_set_object_hierarchy_order,"setObjectHierarchyOrder",(object_handle:i64,order:i64)->()), +(r#######"Sets an int32 parameter of a scene object +"#######,sim_set_object_int32_param,"setObjectInt32Param",(object_handle:i64,parameter_id:i64,parameter:i64)->()), +(r#######"Sets the transformation matrix of an object. Dynamically simulated objects, +together with their hierarchy tree, are dynamically reset (this however does not apply to static shapes)"#######,sim_set_object_matrix,"setObjectMatrix",(object_handle:i64,matrix:Vec),opt(relative_to_object_handle:i64)->()), +(r#######"Sets the orientation (Euler angles) of an object. +Dynamically simulated objects, together with their hierarchy tree, are dynamically reset (this however does not +apply to static shapes)"#######,sim_set_object_orientation,"setObjectOrientation",(object_handle:i64,euler_angles:Vec),opt(relative_to_object_handle:i64)->()), +(r#######"Sets an object's parent object. Dynamically simulated objects, together with their +hierarchy tree, are dynamically reset (this however does not apply to static shapes)"#######,sim_set_object_parent,"setObjectParent",(object_handle:i64,parent_object_handle:i64),opt(keep_in_place:bool)->()), +(r#######"Sets the pose of an object. Dynamically simulated objects, together with their hierarchy tree, +are dynamically reset (this however does not apply to static shapes)"#######,sim_set_object_pose,"setObjectPose",(object_handle:i64,pose:Vec),opt(relative_to_object_handle:i64)->()), +(r#######"Sets the position (x, y and z-coordinates) of an object. Dynamically simulated objects, +together with their hierarchy tree, are dynamically reset (this however does not apply +to static shapes)"#######,sim_set_object_position,"setObjectPosition",(object_handle:i64,position:Vec),opt(relative_to_object_handle:i64)->()), +(r#######"Sets the properties of a scene object"#######,sim_set_object_property,"setObjectProperty",(object_handle:i64,property:i64)->()), +(r#######"Sets the quaternion of an object. Dynamically simulated objects, together with their +hierarchy tree, are dynamically reset (this however does not apply to static shapes)"#######,sim_set_object_quaternion,"setObjectQuaternion",(object_handle:i64,quaternion:Vec),opt(relative_to_object_handle:i64)->()), +(r#######"Sets the object selection state"#######,sim_set_object_sel,"setObjectSel",(object_handles:Vec)->()), +(r#######"Sets the special properties of a scene object"#######,sim_set_object_special_property,"setObjectSpecialProperty",(object_handle:i64,property:i64)->()), +(r#######"Sets a string parameter of a scene object +"#######,sim_set_object_string_param,"setObjectStringParam",(object_handle:i64,parameter_id:i64,parameter:Vec)->()), +(r#######"Switches between pages (main scene views)"#######,sim_set_page,"setPage",(page_index:i64)->()), +(r#######"Attaches additional information to a loaded plugin"#######,sim_set_plugin_info,"setPluginInfo",(plugin_name:String,info_type:i64,info:String)->()), +(r#######"Sets various properties of a point cloud +"#######,sim_set_point_cloud_options,"setPointCloudOptions",(point_cloud_handle:i64,max_voxel_size:f64,max_pt_cnt_per_voxel:i64,options:i64,point_size:f64)->()), +(r#######"Attaches a list of custom handles to a given scene object. Those custom handles +are handles of other scene objects, that are linked to the given scene object (for whatever purpose). +The advantage of storing references to other objects with this function is that CoppeliaSim will take +care of correctly adjusting the references if needed: For instance, imagine objectA storing +the handle of objectB via this function. If objectB is deleted, then the stored +handle becomes -1. If objectA and objectB are duplicated at the same time, then the +duplicate of objectA stores the handle of the duplicate of objectB. Optionally, if +[sim_handleflag](#method.sim_handleflag)_keeporiginal is specified, then linking to original objects is guaranteed, e.g. in above example, +after a duplication of objectA, the duplicate of objectA will store the handle of the +original objectB (if objectB still exists)"#######,sim_set_referenced_handles,"setReferencedHandles",(object_handle:i64,referenced_handles:Vec),opt(tag:String)->()), +(r#######""#######,sim_set_shape_appearance,"setShapeAppearance",(handle:i64,saved_data:serde_json::Value),opt(opts:serde_json::Value)->i64), +(r#######"Sets the size of a shape's bounding box, effectively scaling the shape. +Non-isometric scaling is not always possible"#######,sim_set_shape_bb,"setShapeBB",(shape_handle:i64,size:Vec)->()), +(r#######"Sets the color of a shape"#######,sim_set_shape_color,"setShapeColor",(shape_handle:i64,color_name:String,color_component:i64,rgb_data:Vec)->()), +(r#######"Applies a new inertia matrix to a shape. If simulation is running, the shape is +dynamically reset (similar to calling [sim_reset_dynamic_object](#method.sim_reset_dynamic_object) right after)"#######,sim_set_shape_inertia,"setShapeInertia",(shape_handle:i64,inertia_matrix:Vec,com_matrix:Vec)->()), +(r#######"Applies a new mass value to a shape. If simulation is running, the shape is dynamically reset +(similar to calling [sim_reset_dynamic_object](#method.sim_reset_dynamic_object) right after)"#######,sim_set_shape_mass,"setShapeMass",(shape_handle:i64,mass:f64)->()), +(r#######"Deprecated"#######,sim_set_shape_material,"setShapeMaterial",(shape_handle:i64,material_id_or_shape_handle:i64)->()), +(r#######"Applies/removes a texture to/from a shape"#######,sim_set_shape_texture,"setShapeTexture",(shape_handle:i64,texture_id:i64,mapping_mode:i64,options:i64,uv_scaling:Vec),opt(position:Vec,orientation:Vec)->()), +(r#######"Enables or disables the stepping operation mode for a threaded script. If enabled, then the current script has +to trigger each simulation step explicitly, via [sim_step](#method.sim_step). Is applied +cumulatively, i.e. if the stepping operation mode is enabled n times, it needs to be disabled n times to return +to the initial state -function math.randomseed2(seed) - sim.getRandom(seed) -end -"#,sim_get_random,"getRandom",opt(seed:i64)->f64), -(r#" -Retrieves a list of custom handles, linking a given scene object to other scene objects. See also sim.setReferencedHandles. "#,sim_get_referenced_handles,"getReferencedHandles",(object_handle:i64)->Vec), -(r#"Retrieves an axis and rotation angle that brings one pose or transformation matrix onto another one. The translation part of the poses/matrices is ignored. This function, when used in combination with sim.rotateAroundAxis, can be used to build interpolations between transformation matrices. See also the section about positions, orientations and transformations"#,sim_get_rotation_axis,"getRotationAxis",(matrix_start:Vec,matrix_goal:Vec)->(Vec,f64)), -(r#"Generates a scaled-up or scaled down version of the input image. See also sim.transformImage, sim.loadImage, sim.saveImage and sim.setVisionSensorImg."#,sim_get_scaled_image,"getScaledImage",(image_in:Vec,resolution_in:Vec,desired_resolution_out:Vec,options:i64)->(Vec,Vec)), -(r#"Retrieves the handle of a script."#,sim_get_script,"getScript",(script_type:i64),opt(object_handle:i64,script_name:String)->i64), -(r#"Retrieves a map of another script functions, that can be called. See also sim.callScriptFunction"#,sim_get_script_functions,"getScriptFunctions",(script_handle:i64)->serde_json::Value), -(r#"Retrieves an int32 parameter of a script. See also the other functions related to script parameters."#,sim_get_script_int32_param,"getScriptInt32Param",(script_handle:i64,parameter_id:i64)->i64), -(r#"Retrieves a string parameter of a script. See also the other functions related to script parameters."#,sim_get_script_string_param,"getScriptStringParam",(script_handle:i64,parameter_id:i64)->Vec), -(r#""#,sim_get_setting_bool,"getSettingBool",(key:String)->bool), -(r#""#,sim_get_setting_float,"getSettingFloat",(key:String)->f64), -(r#""#,sim_get_setting_int32,"getSettingInt32",(key:String)->i64), -(r#""#,sim_get_setting_string,"getSettingString",(key:String)->String), -(r#" -Returns the size of a shape's bounding box. See also the other size and scaling functions."#,sim_get_shape_bb,"getShapeBB",(shape_handle:i64)->Vec), -(r#" -Retrieves the color of a shape. See also other rendering related functions. "#,sim_get_shape_color,"getShapeColor",(shape_handle:i64,color_name:String,color_component:i64)->(i64,Vec)), -(r#"Retrieves geometric information related to a shape. See also sim.getShapeMesh."#,sim_get_shape_geom_info,"getShapeGeomInfo",(shape_handle:i64)->(i64,i64,Vec)), -(r#"Retrieves the inertia information from a shape. See also sim.setShapeInertia, sim.getShapeMass and sim.computeMassAndInertia."#,sim_get_shape_inertia,"getShapeInertia",(shape_handle:i64)->(Vec,Vec)), -(r#"Deprecated. Use sim.getShapeMass and sim.getShapeInertia instead."#,sim_get_shape_mass_and_inertia,"getShapeMassAndInertia",(shape_handle:i64)->f64), -(r#"Retrieves a shape's mesh information. See also sim.getShapeViz, sim.createShape and sim.exportMesh for a usage example."#,sim_get_shape_mesh,"getShapeMesh",(shape_handle:i64)->(Vec,Vec,Vec)), -(r#"Retrieves the texture ID of a texture that is applied to a specific shape. See also sim.getTextureId and sim.setShapeTexture."#,sim_get_shape_texture_id,"getShapeTextureId",(shape_handle:i64)->i64), -(r#"Retrieves a shape's visual information."#,sim_get_shape_viz,"getShapeViz",(shape_handle:i64,item_index:i64)->serde_json::Value), -(r#"Returns the signal name at the given index. Use this function in a loop until return is nullptr to read all set signals. See also the other signal functions."#,sim_get_signal_name,"getSignalName",(signal_index:i64,signal_type:i64)->String), -(r#"Retrieves current simulation state. See also the simulation state diagram."#,sim_get_simulation_state,"getSimulationState"->i64), -(r#"Convenience function that returns true when the simulation is about to stop or stopped."#,sim_get_simulation_stopping,"getSimulationStopping"->bool), -(r#"Retrieves the current simulation time"#,sim_get_simulation_time,"getSimulationTime"->f64), -(r#"Retrieves the simulation time step (the simulation time (i.e. not real-time) that passes at each main script simulation pass). This value might not be constant for a given simulation."#,sim_get_simulation_time_step,"getSimulationTimeStep"->f64), -(r#"Retrieves and removes the next message in the C/C++ or Lua message queues. Use this in a while-loop until all messages have been extracted. While the C/C++ interface has one single message queue, each Lua script has its own message queue. The C/C++ version of this function should only be called from the CoppeliaSim client application. A given message queue cannot hold more than 64 messages, unread messages will be discarded."#,sim_get_simulator_message,"getSimulatorMessage"->(i64,Vec,Vec)), -(r#"Lua only. Retrieves and clears the last generated stack traceback for a script. See also simGetLastError and sim.getScript."#,sim_get_stack_traceback,"getStackTraceback",opt(script_handle:i64)->String), -(r#"Retrieves a string parameter. See the string parameter identifiers. See also the other simulator parameter related functions."#,sim_get_string_param,"getStringParam",(parameter:i64)->String), -(r#"Retrieves the system time."#,sim_get_system_time,"getSystemTime"->f64), -(r#"Retrieves the texture ID of a specific texture. See also sim.readTexture, sim.writeTexture and sim.createTexture."#,sim_get_texture_id,"getTextureId",(texture_name:String)->(i64,Vec)), -(r#""#,sim_get_thread_id,"getThreadId"->i64), -(r#"Lua only. Returns all variables, except those set by CoppeliaSim."#,sim_get_user_variables,"getUserVariables"->Vec), -(r#"Retrieves the linear and/or angular velocity of the center of mass of a non-static shape. Data is provided by the selected physics engine. See also sim.getObjectVelocity."#,sim_get_velocity,"getVelocity",(shape_handle:i64)->(Vec,Vec)), -(r#"Reads the depth buffer of a vision sensor. The returned data doesn't make sense if sim.handleVisionSensor wasn't called previously (sim.handleVisionSensor is called by default in the main script if the vision sensor is not tagged as explicit handling). See also other vision sensor related API functions"#,sim_get_vision_sensor_depth,"getVisionSensorDepth",(sensor_handle:i64),opt(options:i64,pos:Vec,size:Vec)->(Vec,Vec)), -(r#"Reads the image of a vision sensor. The returned data doesn't make sense if sim.handleVisionSensor wasn't called previously (sim.handleVisionSensor is called by default in the main script if the vision sensor is not tagged as explicit handling). See also sim.saveImage and other vision sensor related API functions"#,sim_get_vision_sensor_img,"getVisionSensorImg",(sensor_handle:i64),opt(options:i64,rgba_cut_off:f64,pos:Vec,size:Vec)->(Vec,Vec)), -(r#"Returns the resolution of the vision sensor"#,sim_get_vision_sensor_res,"getVisionSensorRes",(sensor_handle:i64)->()), -(r#"Groups (or merges) several shapes into a compound shape (or simple shape). See also sim.ungroupShape, sim.alignShapeBB and sim.relocateShapeFrame"#,sim_group_shapes,"groupShapes",(shape_handles:Vec),opt(merge:bool)->i64), -(r#"Lua only. Calls a specific function in add-ons. sim.handleAddOnScripts should only be called from the main script."#,sim_handle_add_on_scripts,"handleAddOnScripts",(call_type:i64)->i64), -(r#"Lua only. Calls a specific system callback function in child scripts. Child scripts will be executed in a precise order. This function should only be called from the main script."#,sim_handle_child_scripts,"handleChildScripts",(call_type:i64)->i64), -(r#"Handles the dynamics functionality in a scene. This function is not available to add-ons."#,sim_handle_dynamics,"handleDynamics",(delta_time:f64)->i64), -(r#"Lua only. Calls a specific system callback function in child scripts and customization scripts. Child- and customiization scripts will be executed in a precise order. This function should only be called from the main script."#,sim_handle_embedded_scripts,"handleEmbeddedScripts",(call_type:i64)->i64), -(r#"Handles a graph object (i.e. records another value for each curve, given that such value was provided via sim.setGraphStreamValue. See also the other functions related to graphs."#,sim_handle_graph,"handleGraph",(object_handle:i64,simulation_time:f64)->()), -(r#""#,sim_handle_joint_motion,"handleJointMotion"->()), -(r#"Handles (performs sensing, etc. of) a registered proximity sensor object. See also sim.readProximitySensor, sim.checkProximitySensor, sim.checkProximitySensorEx and sim.resetProximitySensor."#,sim_handle_proximity_sensor,"handleProximitySensor",(sensor_handle:i64)->(i64,f64,Vec,i64,Vec)), -(r#"Lua only. Calls a specific function in the sandbox script. sim.handleSandboxScript should only be called from the main script."#,sim_handle_sandbox_script,"handleSandboxScript",(call_type:i64)->()), -(r#"Handles various functionality (e.g. camera tracking during simulation, object velocity calculation, etc.). Should only be called from the main script, as the first instruction in the sensing section. See also sim.handleSimulationStart."#,sim_handle_sensing_start,"handleSensingStart"->()), -(r#"Initializes various functionality (e.g. camera tracking during simulation, object velocity calculation, etc.). Should only be called from the main script, as the first instruction in the initialization section. See also sim.handleSensingStart."#,sim_handle_simulation_start,"handleSimulationStart"->()), -(r#"Handles (performs sensing, etc. of) a vision sensor object. It will (1) clear previous computed image processing data, (2) read an image and (3) perform image processing via the vision callback functions (if the vision sensor is using an external input only (1) will be performed). See also sim.readVisionSensor, sim.checkVisionSensor, sim.checkVisionSensorEx and sim.resetVisionSensor."#,sim_handle_vision_sensor,"handleVisionSensor",(sensor_handle:i64)->(i64,Vec,Vec)), -(r#"Imports a mesh from a file. See also sim.exportMesh, sim.importShape and sim.createShape"#,sim_import_mesh,"importMesh",(fileformat:i64,path_and_filename:String,options:i64,identical_vertice_tolerance:f64,scaling_factor:f64)->(Vec,Vec)), -(r#"Imports a shape from a file (first imports meshes, then groups/merges them into a shape). See also sim.importMesh."#,sim_import_shape,"importShape",(fileformat:i64,path_and_filename:String,options:i64,identical_vertice_tolerance:f64,scaling_factor:f64)->i64), -(r#"Initializes/reinitializes a script. Cannot be called from within the script being reinitialized."#,sim_init_script,"initScript",(script_handle:i64)->bool), -(r#"Inserts an object into an OC tree, as voxels. Each voxel will store a color and a tag value. See also sim.subtractObjectFromOctree, sim.insertVoxelsIntoOctree and the other OC tree related functions."#,sim_insert_object_into_octree,"insertObjectIntoOctree",(octree_handle:i64,object_handle:i64,options:i64),opt(color:Vec,tag:i64)->i64), -(r#"Inserts an object into a point cloud, as points. See also sim.insertPointsIntoPointCloud and the other point cloud related functions."#,sim_insert_object_into_point_cloud,"insertObjectIntoPointCloud",(point_cloud_handle:i64,object_handle:i64,options:i64,grid_size:f64),opt(color:Vec,duplicate_tolerance:f64)->i64), -(r#"Inserts points into a point cloud. See also sim.removePointsFromPointCloud and the other point cloud related functions."#,sim_insert_points_into_point_cloud,"insertPointsIntoPointCloud",(point_cloud_handle:i64,options:i64,points:Vec),opt(color:Vec,duplicate_tolerance:f64)->i64), -(r#"Inserts voxels into an OC tree. Each voxel will store a color and a tag value. See also sim.removeVoxelsFromOctree and the other OC tree related functions."#,sim_insert_voxels_into_octree,"insertVoxelsIntoOctree",(octree_handle:i64,options:i64,points:Vec),opt(color:Vec,tag:Vec)->i64), -(r#"Computes the interpolated transformation matrix between matrixIn1 and matrixIn2. Quaternions are used internally. See also the section about positions, orientations and transformations"#,sim_interpolate_matrices,"interpolateMatrices",(matrix_in1:Vec,matrix_in2:Vec,interpol_factor:f64)->Vec), -(r#"Computes the interpolated pose between poseIn1 and poseIn2. See also the section about positions, orientations and transformations"#,sim_interpolate_poses,"interpolatePoses",(pose_in1:Vec,pose_in2:Vec,interpol_factor:f64)->Vec), -(r#"Removes points from a point cloud, that do not intersect with the provided points (i.e. the result in the point cloud will be the intersection between the two sets of points). When a point cloud doesn't use an OC tree calculation structure, then this operation cannot be performed. See also sim.insertPointsIntoPointCloud, sim.setPointCloudOptions and the other point cloud related functions."#,sim_intersect_points_with_point_cloud,"intersectPointsWithPointCloud",(point_cloud_handle:i64,options:i64,points:Vec,tolerance:f64)->i64), -(r#"Deprecated (yes, what an irony!). Returns 0"#,sim_is_deprecated,"isDeprecated",(func_or_const:String)->i64), -(r#"Checks whether a scene object is dynamically enabled, i.e. is being handled and simulated by the physics engine. Note that until the physics engine has parsed the scene in the first simulation step (i.e. the first time sim.handleDynamics is called), no object will be dynamically enabled."#,sim_is_dynamically_enabled,"isDynamicallyEnabled",(object_handle:i64)->bool), -(r#"Checks whether a general object handle is still valid. When a general object is destroyed (e.g. programmatically or via the user interface), then its related handle is not valid anymore and will trigger an error when used. Use this function to avoid triggering an error. See also sim.getObject."#,sim_is_handle,"isHandle",(object_handle:i64)->bool), -(r#"Launches an executable. Similar to os.execute or io.popen, but is system independent."#,sim_launch_executable,"launchExecutable",(filename:String),opt(parameters:String,show_status:i64)->()), -(r#"Loads an image from file or memory. See also sim.saveImage, sim.getScaledImage, sim.transformImage and sim.setVisionSensorImg."#,sim_load_image,"loadImage",(options:i64,filename:String)->(Vec,Vec)), -(r#"Loads a previously saved model, and selects it. See also sim.saveModel, sim.loadScene, and sim.setBoolParam with sim.boolparam_scene_and_model_load_messages."#,sim_load_model,"loadModel",(filename:String)->i64), -(r#"Loads a previously saved scene.See also sim.saveScene, sim.loadModel, simCloseScene and sim.setBoolParam with sim.boolparam_scene_and_model_load_messages. "#,sim_load_scene,"loadScene",(filename:String)->()), -(r#"Converts a transformation matrix to a pose. See also the section about positions, orientations and transformations"#,sim_matrix_to_pose,"matrixToPose",(matrix:Vec)->Vec), -(r#"Creates, modifies or destroys module menu entries. Those are user selectable items located in [Menu bar > Modules]. When selected, the corresponding script will have its sysCall_moduleEntry callback function triggered, or sim_message_eventcallback_moduleentry triggered."#,sim_module_entry,"moduleEntry",(handle:i64),opt(label:String,state:i64)->i64), -(r#"Generates joint movement data using the Ruckig online trajectory generator. This function can only be called from scripts running in a thread, since this is a blocking operation. See also sim.moveToPose, and sim.ruckigPos."#,sim_move_to_config,"moveToConfig",(flags:i64,current_pos:Vec,current_vel:Vec,current_accel:Vec,max_vel:Vec,max_accel:Vec,max_jerk:Vec,target_pos:Vec,target_vel:Vec,callback:String),opt(aux_data:serde_json::Value,cyclic_joints:Vec,time_step:f64)->(Vec,Vec,Vec,f64)), -(r#"Generates object movement data using the Ruckig online trajectory generator, by performing interpolations between two poses. The function can operate by handling 4 movement variables (x,y,z and angle between the two poses), or a single movement variable (t, which requires a metric to be specified for distance calculation between the two poses). This function can only be called from a script running in a thread, since this is a blocking operation. See also sim.moveToConfig, and sim.ruckigPos."#,sim_move_to_pose,"moveToPose",(flags:i64,current_pose:Vec,max_vel:Vec,max_accel:Vec,max_jerk:Vec,target_pose:Vec,callback:String),opt(aux_data:serde_json::Value,metric:Vec,time_step:f64)->(Vec,f64)), -(r#"Multiplies two transformation matrices. See also the section about positions, orientations and transformations"#,sim_multiply_matrices,"multiplyMatrices",(matrix_in1:Vec,matrix_in2:Vec)->Vec), -(r#"Multiplies two poses. See also the section about positions, orientations and transformations"#,sim_multiply_poses,"multiplyPoses",(pose_in1:Vec,pose_in2:Vec)->Vec), -(r#"Multiplies a vector with a pose or a matrix (e.g. v=m*v). See also the section about positions, orientations and transformations"#,sim_multiply_vector,"multiplyVector",(matrix:Vec,in_vectors:Vec)->Vec), -(r#"Packs a table of double floating-point numbers into a string. See also sim.unpackDoubleTable and the other packing/unpacking functions."#,sim_pack_double_table,"packDoubleTable",(double_numbers:Vec),opt(start_double_index:i64,double_count:i64)->Vec), -(r#"Packs a table of floating-point numbers into a string. See also sim.unpackFloatTable and the other packing/unpacking functions."#,sim_pack_float_table,"packFloatTable",(float_numbers:Vec),opt(start_float_index:i64,float_count:i64)->Vec), -(r#" -Packs a table of int32 numbers into a string. See also sim.unpackInt32Table and the other packing/unpacking functions."#,sim_pack_int32_table,"packInt32Table",(int32_numbers:Vec),opt(start_int32_index:i64,int32_count:i64)->Vec), -(r#"Packs a table into a buffer. The table may contain other nested tables, nil, bool, number or string values. All other types (e.g. functions) will be considered as string or nil values. You can also use sim.packTable to quickly compare two tables or to perform a deep copy of a table. See also sim.unpackTable, the other stack functions and the other packing/unpacking functions."#,sim_pack_table,"packTable",(a_table:Vec),opt(scheme:i64)->Vec), -(r#" -Packs a table of uint16 numbers into a string. See also sim.unpackUInt16Table and the other packing/unpacking functions. "#,sim_pack_u_int16_table,"packUInt16Table",(uint16_numbers:Vec),opt(start_uint16_index:i64,uint16_count:i64)->Vec), -(r#" -Packs a table of uint32 numbers into a string. See also sim.unpackUInt32Table and the other packing/unpacking functions."#,sim_pack_u_int32_table,"packUInt32Table",(uint32_numbers:Vec),opt(start_u_int32_index:i64,uint32_count:i64)->Vec), -(r#"Packs a table of uint8 numbers into a string. See also sim.unpackUInt8Table and the other packing/unpacking functions."#,sim_pack_u_int8_table,"packUInt8Table",(uint8_numbers:Vec),opt(start_uint8_index:i64,uint8count:i64)->Vec), -(r#"Requests a pause of a simulation. See also sim.startSimulation, sim.stopSimulation and sim.getSimulationState. See also the simulation state diagram."#,sim_pause_simulation,"pauseSimulation"->i64), -(r#"Reads a block of persistent data. See also sim.persistentDataWrite, sim.getPersistentDataTags, sim.getStringSignal, sim.getInt32Signal, sim.getFloatSignal and sim.readCustomDataBlock."#,sim_persistent_data_read,"persistentDataRead",(data_tag:String)->Vec), -(r#"Writes a persistent data block. Persistent data, valid across all opened simulator scenes, remains until the simulator ends, or until it is cleared by writing an empty data block. If the options flag is set appropriately, then persistent data can also be stored on file, and be automatically reloaded next time CoppeliaSim starts. See also sim.persistentDataRead, sim.setStringSignal, sim.setInt32Signal, sim.setFloatSignal and sim.writeCustomDataBlock."#,sim_persistent_data_write,"persistentDataWrite",(data_tag:String,data_value:Vec),opt(options:i64)->()), -(r#"Converts a pose to a transformation matrix. See also the section about positions, orientations and transformations"#,sim_pose_to_matrix,"poseToMatrix",(pose:Vec)->Vec), -(r#"Pushes a user-triggered event. Messages are received asynchronously via the sysCall_event callback function and via the plugin sim_message_eventcallback_events message call"#,sim_push_user_event,"pushUserEvent",(event:String,handle:i64,uid:i64,event_data:serde_json::Value),opt(options:i64)->()), -(r#"Triggers a quit signal that will eventually quits the application"#,sim_quit_simulator,"quitSimulator"->()), -(r#"Reads custom data that is stored inside of an object or the scene. Reads also custom data for the application's currrent session. See also the other custom data block related functions and the data packing/unpacking functions."#,sim_read_custom_data_block,"readCustomDataBlock",(object_handle:i64,tag_name:String)->Vec), -(r#""#,sim_read_custom_data_block_ex,"readCustomDataBlockEx",(handle:i64,tag_name:String),opt(options:serde_json::Value)->()), -(r#"Reads the tags of all custom data that is stored inside of an object, a scene, or the application. See also sim.readCustomDataBlock."#,sim_read_custom_data_block_tags,"readCustomDataBlockTags",(object_handle:i64)->Vec), -(r#"Reads custom table data that is stored inside of an object or the scene. Reads also custom table data for the application's currrent session. See also the other custom data block related functions."#,sim_read_custom_table_data,"readCustomTableData",(handle:i64,tag_name:String),opt(options:serde_json::Value)->()), -(r#"Reads the force and torque applied to a force sensor (filtered values are read). See also sim.getJointForce."#,sim_read_force_sensor,"readForceSensor",(object_handle:i64)->(i64,Vec,Vec)), -(r#"Reads the state of a proximity sensor. This function doesn't perform detection, it merely reads the result from a previous call to sim.handleProximitySensor (sim.handleProximitySensor is called in the default main script). See also sim.checkProximitySensor, sim.checkProximitySensorEx and sim.resetProximitySensor."#,sim_read_proximity_sensor,"readProximitySensor",(sensor_handle:i64)->(i64,f64,Vec,i64,Vec)), -(r#"Retrieves the RGB data (or a portion of it) related to a specific texture. See also sim.getTextureId, sim.writeTexture and sim.createTexture."#,sim_read_texture,"readTexture",(texture_id:i64,options:i64),opt(pos_x:i64,pos_y:i64,size_x:i64,size_y:i64)->Vec), -(r#"Reads the state of a vision sensor. This function doesn't perform detection, it merely reads the result from a previous call to sim.handleVisionSensor (sim.handleVisionSensor is called in the default main script). See also sim.checkVisionSensor, sim.checkVisionSensorEx and sim.resetVisionSensor."#,sim_read_vision_sensor,"readVisionSensor",(sensor_handle:i64)->(i64,Vec,Vec)), -(r#"Refreshes CoppeliaSim's internal dialogs. Calling sim.refreshDialogs will not trigger a sim.message_eventcallback_refreshdialogs message"#,sim_refresh_dialogs,"refreshDialogs",(refresh_degree:i64)->i64), -(r#"Counterpart function to sim.acquireLock. Unlocking is cumulative"#,sim_release_lock,"releaseLock"->()), -(r#"Repositions and reorients the reference frame of a shape, while keeping the mesh in place. The shape's inertia properties are unaffected. See also sim.alignShapeBB"#,sim_relocate_shape_frame,"relocateShapeFrame",(shape_handle:i64,pose:Vec)->i64), -(r#"Removes a previously added drawing object. See also sim.addDrawingObject and sim.addDrawingObjectItem"#,sim_remove_drawing_object,"removeDrawingObject",(drawing_object_handle:i64)->()), -(r#"Removes a model from the scene. See also sim.removeObjects. -Object destruction always tries to destroy attached scripts before destroying the object itself. If a script tries to destroy the object it is attached to, then the object will first be destroyed, and the script destruction will be delayed. -"#,sim_remove_model,"removeModel",(object_handle:i64)->i64), -(r#"Removes one or several objects from the scene. See also sim.removeModel. -Object destruction always tries to destroy attached scripts before destroying the object itself. If a script tries to destroy the object it is attached to, then the object will first be destroyed, and the script destruction will be delayed. -"#,sim_remove_objects,"removeObjects",(object_handles:Vec)->()), -(r#"Removes a previously added particle object. See also sim.addParticleObject and sim.addParticleObjectItem"#,sim_remove_particle_object,"removeParticleObject",(particle_object_handle:i64)->()), -(r#"Removes points from a point cloud. When a point cloud doesn't use an OC tree calculation structure, then individual points cannot be removed, only all points can be removed in that case. See also sim.insertPointsIntoPointCloud, sim.setPointCloudOptions and the other point cloud related functions."#,sim_remove_points_from_point_cloud,"removePointsFromPointCloud",(point_cloud_handle:i64,options:i64,points:Vec,tolerance:f64)->i64), -(r#""#,sim_remove_referenced_objects,"removeReferencedObjects",(object_handle:i64)->()), -(r#"Removes a script. Not all script types can be removed, and it will also depend on whether simulation is running or not. See also sim.addScript."#,sim_remove_script,"removeScript",(script_handle:i64)->()), -(r#"Removes voxels from an OC tree. See also sim.insertVoxelsIntoOctree and the other OC tree related functions."#,sim_remove_voxels_from_octree,"removeVoxelsFromOctree",(octree_handle:i64,options:i64,points:Vec)->i64), -(r#"Returns a resampled path. See also the other path related functions."#,sim_resample_path,"resamplePath",(path:Vec,path_lengths:Vec,final_config_cnt:i64),opt(method:serde_json::Value,types:Vec)->Vec), -(r#"Dynamically resets an object that is dynamically simulated. This means that the object representation in the dynamics engine is removed, and added again. This can be useful when the set-up of a dynamically simulated chain needs to be modified during simulation (e.g. joint or shape attachement position/orientation changed)."#,sim_reset_dynamic_object,"resetDynamicObject",(object_handle:i64)->()), -(r#"Resets a graph object (i.e. clears all its data streams). See also the other functions related to graphs."#,sim_reset_graph,"resetGraph",(object_handle:i64)->()), -(r#"Clears the detection state, detection color, detection segments, etc. of a proximity sensor object. See also sim.handleProximitySensor."#,sim_reset_proximity_sensor,"resetProximitySensor",(object_handle:i64)->()), -(r#"Clears the detection state, etc. of a proximity sensor object. See also sim.handleVisionSensor."#,sim_reset_vision_sensor,"resetVisionSensor",(sensor_handle:i64)->()), -(r#" -Restores the color of an entity, previously modified with sim.changeEntityColor."#,sim_restore_entity_color,"restoreEntityColor",(original_color_data:Vec)->()), -(r#"Rotates a pose or transformation matrix around a random axis in space. This function, when used in combination with sim.getRotationAxis, can be used to build interpolations between poses or transformation matrices. See also the section about positions, orientations and transformations"#,sim_rotate_around_axis,"rotateAroundAxis",(matrix_in:Vec,axis:Vec,axis_pos:Vec,angle:f64)->Vec), -(r#"Executes a call to the Ruckig online trajectory generator. The Ruckig online trajectory generator provides instantaneous trajectory generation capabilities for motion control systems. This function prepares a position-based trajectory generation object, that can then be calculated with sim.ruckigStep. When this object is not needed anymore, remove it with sim.ruckigRemove. See also sim.ruckigVel, sim.moveToPose and sim.moveToConfig."#,sim_ruckig_pos,"ruckigPos",(dofs:i64,base_cycle_time:f64,flags:i64,current_pos_vel_accel:Vec,max_vel_accel_jerk:Vec,selection:Vec,target_pos_vel:Vec)->i64), -(r#"Removes an object previously created via sim.ruckigPos or sim.ruckigVel."#,sim_ruckig_remove,"ruckigRemove",(handle:i64)->()), -(r#"Executes a call to the Ruckig online trajectory generator. The Ruckig online trajectory generator provides instantaneous trajectory generation capabilities for motion control systems. This function steps forward a trajectory generation algorithm previously prepared via sim.ruckigPos or sim.ruckigVel."#,sim_ruckig_step,"ruckigStep",(handle:i64,cycle_time:f64)->(i64,Vec,f64)), -(r#"Executes a call to the Ruckig online trajectory generator. The Ruckig online trajectory generator provides instantaneous trajectory generation capabilities for motion control systems. This function prepares a velocity-based trajectory generation object, that can then be calculated with sim.ruckigStep. When this object is not needed anymore, remove it with sim.ruckigRemove. See also sim.ruckigPos."#,sim_ruckig_vel,"ruckigVel",(dofs:i64,base_cycle_time:f64,flags:i64,current_pos_vel_accel:Vec,max_accel_jerk:Vec,selection:Vec,target_vel:Vec)->i64), -(r#"Saves an image to file or to memory. See also sim.loadImage, sim.getScaledImage and sim.getVisionSensorImg."#,sim_save_image,"saveImage",(image:Vec,resolution:Vec,options:i64,filename:String,quality:i64)->Vec), -(r#"Saves a model (an object marked as "Object is model base" and all other objects in its hierarchy tree). Any existing file with same name will be overwritten. See also sim.loadModel, and sim.saveScene."#,sim_save_model,"saveModel",(model_base_handle:i64,filename:String)->()), -(r#"Saves a scene. Any existing file with same name will be overwritten. See also sim.loadScene, simCloseScene, and sim.saveModel."#,sim_save_scene,"saveScene",(filename:String)->()), -(r#" -Scales specified objects in a non-isometric fashion, if possible. Only non-compound shapes can be non-isometrically scaled. Some primitive shapes can have some constraints between their axes. See also the other size and scaling functions."#,sim_scale_object,"scaleObject",(object_handle:i64,x_scale:f64,y_scale:f64,z_scale:f64),opt(options:i64)->()), -(r#" -Scales specified objects. All related values are automatically scaled appropriately (e.g. masses, forces, etc.). See also the other size and scaling functions."#,sim_scale_objects,"scaleObjects",(object_handles:Vec,scaling_factor:f64,scale_positions_too:bool)->()), -(r#" -Lua only. Reads how many bytes are waiting to be read on a serial port (RS-232). See also sim.serialRead. "#,sim_serial_check,"serialCheck",(port_handle:i64)->i64), -(r#" -Lua only. Closes a serial port (RS-232). See also sim.serialOpen. "#,sim_serial_close,"serialClose",(port_handle:i64)->()), -(r#"Lua only. Opens a serial port (RS-232) for communication. When called from a script, the function can only be called when the simulation is running (and in that case the port is automatically closed at simulation stop). See also sim.serialClose, sim.serialSend, sim.serialCheck and sim.serialRead."#,sim_serial_open,"serialOpen",(port_string:String,baudrate:i64)->i64), -(r#"Lua only. Reads from a previously opened serial port (RS-232). The C version of the function cannot be blocking. See also sim.serialCheck and sim.serialSend."#,sim_serial_read,"serialRead",(port_handle:i64,data_length_to_read:i64,blocking_operation:bool),opt(closing_string:Vec,timeout:f64)->Vec), -(r#"Lua only. Writes data to a previously opened serial port (RS-232). See also sim.serialRead."#,sim_serial_send,"serialSend",(port_handle:i64,data:Vec)->i64), -(r#"Sets 3 values of an array parameter. See also the other simulator parameter related functions."#,sim_set_array_param,"setArrayParam",(parameter:i64,array_of_values:Vec)->()), -(r#"Allows specifying a thread interruption or yield delay, that will be automatically enforced by the system (preemptive threading). By default this value is 2 ms. For complete control over thread yielding, see also the other thread related functions."#,sim_set_auto_yield_delay,"setAutoYieldDelay",(dt:f64)->()), -(r#"Sets a bool parameter. See also the other simulator parameter related functions."#,sim_set_bool_param,"setBoolParam",(parameter:i64,bool_state:bool)->()), -(r#" -Sets a bool-type physics engine property. You might have to call sim.resetDynamicObject for changes to take effect. See also the other engine properties setter and getter API functions."#,sim_set_engine_bool_param,"setEngineBoolParam",(param_id:i64,object_handle:i64,bool_param:bool)->()), -(r#" -Sets a double-type physics engine property. You might have to call sim.resetDynamicObject for changes to take effect. See also the other engine properties setter and getter API functions."#,sim_set_engine_float_param,"setEngineFloatParam",(param_id:i64,object_handle:i64,float_param:f64)->()), -(r#" -Sets an int32-type physics engine property. You might have to call sim.resetDynamicObject for changes to take effect. See also the other engine properties setter and getter API functions."#,sim_set_engine_int32_param,"setEngineInt32Param",(param_id:i64,object_handle:i64,int32_param:i64)->()), -(r#"Sets the explicit handling flags for a scene object. See also sim.getExplicitHandling."#,sim_set_explicit_handling,"setExplicitHandling",(object_handle:i64,explicit_handling_flags:i64)->()), -(r#"Sets a floating point parameter. See also the other simulator parameter related functions."#,sim_set_float_param,"setFloatParam",(parameter:i64,float_state:f64)->()), -(r#"Sets the value of a double signal. A signal created in a child script, a customization script or int the main script will be automatically cleared when the script ends. See also the other signal functions."#,sim_set_float_signal,"setFloatSignal",(signal_name:String,signal_value:f64)->()), -(r#"Applies a transformation to a graph stream. See also the other functions related to graphs."#,sim_set_graph_stream_transformation,"setGraphStreamTransformation",(graph_handle:i64,stream_id:i64,tr_type:i64),opt(mult:f64,off:f64,mov_avg_period:i64)->()), -(r#"Sets the next value to be recorded for a graph stream. See also the other functions related to graphs."#,sim_set_graph_stream_value,"setGraphStreamValue",(graph_handle:i64,stream_id:i64,value:f64)->()), -(r#"Sets an integer parameter. See also the other simulator parameter related functions."#,sim_set_int32_param,"setInt32Param",(parameter:i64,int_state:i64)->()), -(r#"Sets the value of an integer signal. A signal created in a child script, a customization script or int the main script will be automatically cleared when the script ends. See also the other signal functions."#,sim_set_int32_signal,"setInt32Signal",(signal_name:String,signal_value:i64)->()), -(r#"Sets a joint dependent of another joint. The dependent joint should first be set into dependent mode via sim.setJointMode. See also sim.getJointDependency."#,sim_set_joint_dependency,"setJointDependency",(joint_handle:i64,master_joint_handle:i64,offset:f64,mult_coeff:f64)->()), -(r#"Sets the interval parameters of a joint (i.e. range values). The attributes or interval parameters might have no effect, depending on the joint-type. See also sim.getJointInterval."#,sim_set_joint_interval,"setJointInterval",(object_handle:i64,cyclic:bool,interval:Vec)->()), -(r#"Sets the operation mode of a joint. See also sim.getJointMode and sim.setJointDependency."#,sim_set_joint_mode,"setJointMode",(joint_handle:i64,joint_mode:i64,options:i64)->()), -(r#"Sets the linear/angular position of a joint. Cannot be used with spherical joints (use sim.setObjectChildPose instead). See also sim.getJointPosition and sim.setJointTargetPosition"#,sim_set_joint_position,"setJointPosition",(object_handle:i64,position:f64)->()), -(r#"Sets the force or torque that a joint can exert. See also sim.getJointTargetForce, sim.getJointForce and sim.setJointTargetVelocity."#,sim_set_joint_target_force,"setJointTargetForce",(object_handle:i64,force_or_torque:f64),opt(signed_value:bool)->()), -(r#"Sets the target linear/angular position of a joint. When in kinematic mode, the joint will move according to a motion profile that respects maximum velocity, acceleration and jerk values. In dynamic and position/custom control mode, the controller is instructed about the desired position. See also sim.getJointTargetPosition and sim.setJointPosition."#,sim_set_joint_target_position,"setJointTargetPosition",(object_handle:i64,target_position:f64),opt(motion_params:Vec)->()), -(r#"Sets the target linear/angular velocity of a non-spherical joint. When in kinematic mode, the joint will move according to a motion profile that respects maximum acceleration and jerk values. In dynamic and velocity control mode, the controller is instructed about the desired velocity. See also sim.getJointTargetVelocity."#,sim_set_joint_target_velocity,"setJointTargetVelocity",(object_handle:i64,target_velocity:f64),opt(motion_params:Vec)->()), -(r#"Sets various parameters of a light object. See also sim.getLightParameters."#,sim_set_light_parameters,"setLightParameters",(light_handle:i64,state:i64,reserved:Vec,diffuse_part:Vec,specular_part:Vec)->()), -(r#"Defines (or breaks) a dummy-dummy link pair. Useful to create dynamic loop closure constraints on the fly (among others). See also sim.getLinkDummy."#,sim_set_link_dummy,"setLinkDummy",(dummy_handle:i64,link_dummy_handle:i64)->()), -(r#"Sets the properties of a model. See also sim.getModelProperty, sim.setObjectProperty and sim.setObjectSpecialProperty."#,sim_set_model_property,"setModelProperty",(object_handle:i64,property:i64)->()), -(r#""#,sim_set_named_bool_param,"setNamedBoolParam",(name:String,value:bool)->()), -(r#""#,sim_set_named_float_param,"setNamedFloatParam",(name:String,value:f64)->()), -(r#""#,sim_set_named_int32_param,"setNamedInt32Param",(name:String,value:i64)->()), -(r#"Sets a named string or buffer parameter. See also the other simulator named parameter related functions."#,sim_set_named_string_param,"setNamedStringParam",(param_name:String,string_param:Vec)->()), -(r#"Sets the navigation and selection mode for the mouse. See also sim.getNavigationMode."#,sim_set_navigation_mode,"setNavigationMode",(navigation_mode:i64)->()), -(r#"Sets the alias of an object. See also sim.getObjectAlias."#,sim_set_object_alias,"setObjectAlias",(object_handle:i64,object_alias:String)->()), -(r#"Can be used to set a spherical joint's rotational transformation (the translational part is ignored). See also sim.getObjectChildPose and the section about positions, orientations and transformations"#,sim_set_object_child_pose,"setObjectChildPose",(object_handle:i64,pose:Vec)->()), -(r#" -Sets the color of a scene object. See also other rendering related functions. "#,sim_set_object_color,"setObjectColor",(object_handle:i64,index:i64,color_component:i64,rgb_data:Vec)->bool), -(r#"Sets a floating-point array parameter of a scene object. See also the other object parameter related functions"#,sim_set_object_float_array_param,"setObjectFloatArrayParam",(object_handle:i64,parameter_id:i64,params:Vec)->()), -(r#"Sets a floating-point parameter of a scene object. See also the other object parameter related functions"#,sim_set_object_float_param,"setObjectFloatParam",(object_handle:i64,parameter_id:i64,parameter:f64)->()), -(r#"Sets an int32 parameter of a scene object. See also the other object parameter related functions"#,sim_set_object_int32_param,"setObjectInt32Param",(object_handle:i64,parameter_id:i64,parameter:i64)->()), -(r#"Sets the transformation matrix of an object. Dynamically simulated objects, together with their hierarchy tree, will be dynamically reset (this however does not apply to static shapes). See also sim.getObjectMatrix and the section about positions, orientations and transformations"#,sim_set_object_matrix,"setObjectMatrix",(object_handle:i64,matrix:Vec),opt(relative_to_object_handle:i64)->()), -(r#"Sets the orientation (Euler angles) of an object. Dynamically simulated objects, together with their hierarchy tree, will be dynamically reset (this however does not apply to static shapes). See also sim.getObjectOrientation and the section about positions, orientations and transformations"#,sim_set_object_orientation,"setObjectOrientation",(object_handle:i64,euler_angles:Vec),opt(relative_to_object_handle:i64)->()), -(r#"Sets an object's parent object. Dynamically simulated objects, together with their hierarchy tree, will be dynamically reset (this however does not apply to static shapes). See also sim.getObjectParent."#,sim_set_object_parent,"setObjectParent",(object_handle:i64,parent_object_handle:i64),opt(keep_in_place:bool)->()), -(r#"Sets the pose of an object. Dynamically simulated objects, together with their hierarchy tree, will be dynamically reset (this however does not apply to static shapes). See also sim.getObjectPose and the section about positions, orientations and transformations"#,sim_set_object_pose,"setObjectPose",(object_handle:i64,pose:Vec),opt(relative_to_object_handle:i64)->()), -(r#"Sets the position (x, y and z-coordinates) of an object. Dynamically simulated objects, together with their hierarchy tree, will be dynamically reset (this however does not apply to static shapes). See also sim.getObjectPosition and the section about positions, orientations and transformations"#,sim_set_object_position,"setObjectPosition",(object_handle:i64,position:Vec),opt(relative_to_object_handle:i64)->()), -(r#"Sets the properties of a scene object. See also sim.getObjectProperty, sim.setObjectSpecialProperty and sim.setModelProperty."#,sim_set_object_property,"setObjectProperty",(object_handle:i64,property:i64)->()), -(r#"Sets the quaternion of an object. Dynamically simulated objects, together with their hierarchy tree, will be dynamically reset (this however does not apply to static shapes). See also sim.getObjectQuaternion and the section about positions, orientations and transformations"#,sim_set_object_quaternion,"setObjectQuaternion",(object_handle:i64,quaternion:Vec),opt(relative_to_object_handle:i64)->()), -(r#"Sets the object selection state. See also sim.getObjectSel"#,sim_set_object_sel,"setObjectSel",(object_handles:Vec)->()), -(r#"Sets the special properties of a scene object. See also sim.getObjectSpecialProperty, sim.setObjectProperty and sim.setModelProperty."#,sim_set_object_special_property,"setObjectSpecialProperty",(object_handle:i64,property:i64)->()), -(r#"Sets a string parameter of a scene object. See also the other object parameter related functions"#,sim_set_object_string_param,"setObjectStringParam",(object_handle:i64,parameter_id:i64,parameter:Vec)->()), -(r#"Switches between pages (main scene views). See also sim.getPage."#,sim_set_page,"setPage",(page_index:i64)->()), -(r#"Attaches additional information to a loaded plugin. See also sim.getPluginInfo. -"#,sim_set_plugin_info,"setPluginInfo",(plugin_name:String,info_type:i64,info:String)->()), -(r#"Sets various properties of a point cloud. See also sim.getPointCloudOptions and the other point cloud related functions."#,sim_set_point_cloud_options,"setPointCloudOptions",(point_cloud_handle:i64,max_voxel_size:f64,max_pt_cnt_per_voxel:i64,options:i64,point_size:f64)->()), -(r#" -Attaches a list of custom handles to a given scene object. Those custom handles are handles of other scene objects, that are linked to the given scene object (for whatever purpose). The advantage of storing references to other objects with this function is that CoppeliaSim will take care of correctly adjusting the references if needed: For instance, imagine objectA storing the handle of objectB via this function. If objectB is deleted, then the stored handle will become -1. If objectA and objectB are duplicated at the same time, then the duplicate of objectA will store the handle of the duplicate of objectB. Optionally, if sim.handleflag_keeporiginal is specified, then linking to original objects is guaranteed, e.g. in above example, after a duplication of objectA, the duplicate of objectA will store the handle of the original objectB (if objectB still exists). See also sim.getReferencedHandles. "#,sim_set_referenced_handles,"setReferencedHandles",(object_handle:i64,referenced_handles:Vec)->()), -(r#"Sets an int32 parameter of a script. See also the other functions related to script parameters."#,sim_set_script_int32_param,"setScriptInt32Param",(script_handle:i64,parameter_id:i64,parameter:i64)->()), -(r#"Sets a string parameter of a script. See also the other functions related to script parameters."#,sim_set_script_string_param,"setScriptStringParam",(script_handle:i64,parameter_id:i64,parameter:Vec)->()), -(r#"Sets the size of a shape's bounding box, effectively scaling the shape. Non-isometric scaling is not always possible. See also the other size and scaling functions."#,sim_set_shape_bb,"setShapeBB",(shape_handle:i64,size:Vec)->()), -(r#" -Sets the color of a shape. See also other rendering related functions. "#,sim_set_shape_color,"setShapeColor",(shape_handle:i64,color_name:String,color_component:i64,rgb_data:Vec)->()), -(r#"Applies a new inertia matrix to a shape. If simulation is running, the shape will be dynamically reset (similar to calling sim.resetDynamicObject right after). See also sim.getShapeInertia, sim.setShapeMass and sim.computeMassAndInertia."#,sim_set_shape_inertia,"setShapeInertia",(shape_handle:i64,inertia_matrix:Vec,transformation_matrix:Vec)->()), -(r#"Applies a new mass value to a shape. If simulation is running, the shape will be dynamically reset (similar to calling sim.resetDynamicObject right after). See also sim.getShapeMass, sim.setShapeInertia and sim.computeMassAndInertia."#,sim_set_shape_mass,"setShapeMass",(shape_handle:i64,mass:f64)->()), -(r#"Sets the material (used by the physics engines) of a specific shape. You might have to also call sim.resetDynamicObject for changes to take effect."#,sim_set_shape_material,"setShapeMaterial",(shape_handle:i64,material_id_or_shape_handle:i64)->()), -(r#"Applies (or removes) a texture to a shape. See also sim.getTextureId, sim.getShapeTextureId, sim.createTexture and simApplyTexture."#,sim_set_shape_texture,"setShapeTexture",(shape_handle:i64,texture_id:i64,mapping_mode:i64,options:i64,uv_scaling:Vec),opt(position:Vec,orientation:Vec)->()), -(r#"Enables or disables the stepping operation mode for a threaded script. If enabled, then the current script will have to trigger each simulation step explicitly, via sim.step. Is applied cumulatively, i.e. if the stepping operation mode is enabled n times, it needs to be disabled n times to return to the initial state. For complete control over threaded scripts, see also the other thread related functions -(Lua specific: in stepping operation mode, automatic thread interruptions, i.e. preemptive threading, is supressed) -"#,sim_set_stepping,"setStepping",(enabled:bool)->i64), -(r#"Sets a string parameter. See also the other simulator parameter related functions."#,sim_set_string_param,"setStringParam",(parameter:i64,string_state:String)->()), -(r#"Sets the value of a string signal. A signal created in a child script, a customization script or int the main script will be automatically cleared when the script ends. See also the other signal functions."#,sim_set_string_signal,"setStringSignal",(signal_name:String,signal_value:Vec)->()), -(r#"Writes the image of a vision sensor (and applies any image processing via the vision callback functions). Make sure the vision sensor is flagged as external input. See also the other vision sensor related API functions"#,sim_set_vision_sensor_img,"setVisionSensorImg",(sensor_handle:i64,image:Vec),opt(options:i64,pos:Vec,size:Vec)->()), -(r#"Requests a start of a simulation (or a resume of a paused simulation). See also sim.pauseSimulation, sim.stopSimulation and sim.getSimulationState. See also the simulation state diagram."#,sim_start_simulation,"startSimulation"->i64), -(r#"Triggers the next simulation step, when in stepping operation mode. When simulation is running, then sim.step will only return once the simulation time has changed. See also sim.setStepping."#,sim_step,"step"->()), -(r#"Requests a stop of the running simulation. See also sim.startSimulation, sim.pauseSimulation and sim.getSimulationState. See also the simulation state diagram."#,sim_stop_simulation,"stopSimulation"->i64), -(r#"Removes an object from an OC tree, as voxel subtractions. See also sim.insertObjectIntoOctree, sim.removeVoxelsFromOctree and the other OC tree related functions."#,sim_subtract_object_from_octree,"subtractObjectFromOctree",(octree_handle:i64,object_handle:i64,options:i64)->i64), -(r#"Removes an object from a point cloud, as a subtraction. See also sim.insertPointsIntoPointCloud, sim.insertObjectIntoPointCloud, sim.removePointsFromPointCloud and the other point cloud related functions."#,sim_subtract_object_from_point_cloud,"subtractObjectFromPointCloud",(point_cloud_handle:i64,object_handle:i64,options:i64,tolerance:f64)->i64), -(r#""#,sim_test_cb,"testCB",(a:i64,cb:String,b:i64)->i64), -(r#"Closes a text edition window previously opened with sim.textEditorOpen."#,sim_text_editor_close,"textEditorClose",(handle:i64)->(String,Vec,Vec)), -(r#"Retieves information from a text edition window previously opened with sim.textEditorOpen."#,sim_text_editor_get_info,"textEditorGetInfo",(handle:i64)->(String,Vec,Vec,bool)), -(r#"Opens a text edition window. See simOpenTextEditor for the C version of this function. See also sim.textEditorClose, sim.textEditorShow and sim.textEditorGetInfo."#,sim_text_editor_open,"textEditorOpen",(init_text:String,properties:String)->i64), -(r#"Shows or hides a text edition window previously opened with sim.textEditorOpen."#,sim_text_editor_show,"textEditorShow",(handle:i64,show_state:bool)->()), -(r#"Modifies a buffer than contains packed data. See also the data packing/unpacking functions."#,sim_transform_buffer,"transformBuffer",(in_buffer:Vec,in_format:i64,multiplier:f64,offset:f64,out_format:i64)->Vec), -(r#"Transforms an image in various ways. See also sim.loadImage, sim.getScaledImage, sim.transformBuffer and sim.combineRgbImages."#,sim_transform_image,"transformImage",(image:Vec,resolution:Vec,options:i64)->()), -(r#"Ungroups a compound shape into several shapes. See also sim.groupShapes, sim.convexDecompose, sim.getQHull, sim.getDecimatedMesh, sim.alignShapeBB and sim.relocateShapeFrame"#,sim_ungroup_shape,"ungroupShape",(shape_handle:i64)->Vec), -(r#"Unpacks a string (or part of it) into a table of double floating-point numbers. See also sim.packDoubleTable and the other packing/unpacking functions."#,sim_unpack_double_table,"unpackDoubleTable",(data:Vec),opt(start_double_index:i64,double_count:i64,additional_byte_offset:i64)->Vec), -(r#"Unpacks a string (or part of it) into a table of floating-point numbers. See also sim.packFloatTable and the other packing/unpacking functions."#,sim_unpack_float_table,"unpackFloatTable",(data:Vec),opt(start_float_index:i64,float_count:i64,additional_byte_offset:i64)->Vec), -(r#"Unpacks a string (or part of it) into a table of int32 numbers. See also sim.packInt32Table and the other packing/unpacking functions."#,sim_unpack_int32_table,"unpackInt32Table",(data:Vec),opt(start_int32_index:i64,int32_count:i64,additional_byte_offset:i64)->Vec), -(r#"Unpacks a buffer into a table. See also sim.packTable, the other stack functions and the other packing/unpacking functions."#,sim_unpack_table,"unpackTable",(buffer:Vec)->serde_json::Value), -(r#"Unpacks a string (or part of it) into a table of uint16 numbers. See also sim.packUInt16Table and the other packing/unpacking functions."#,sim_unpack_u_int16_table,"unpackUInt16Table",(data:Vec),opt(start_uint16_index:i64,uint16_count:i64,additional_byte_offset:i64)->Vec), -(r#"Unpacks a string (or part of it) into a table of uint32 numbers. See also sim.packUInt32Table and the other packing/unpacking functions."#,sim_unpack_u_int32_table,"unpackUInt32Table",(data:Vec),opt(start_uint32_index:i64,uint32_count:i64,additional_byte_offset:i64)->Vec), -(r#"Unpacks a string (or part of it) into a table of uint8 numbers. See also sim.packUInt8Table and the other packing/unpacking functions."#,sim_unpack_u_int8_table,"unpackUInt8Table",(data:Vec),opt(start_uint8_index:i64,uint8count:i64)->Vec), -(r#""#,sim_visit_tree,"visitTree",(root_handle:i64,visitor_func:String),opt(options:serde_json::Value)->()), -(r#"Waits for a certain amount of time. See also sim.waitForSignal."#,sim_wait,"wait",(dt:f64),opt(simulation_time:bool)->f64), -(r#"Waits for a signal. This function will first check whether an integer, double, double or string signal with that name is present (in that order). The function only returns when the signal is present (defined). See also the other signal functions and sim.wait."#,sim_wait_for_signal,"waitForSignal",(sig_name:String)->serde_json::Value), -(r#"Adds or removes custom data to be stored and saved together with an object, or the scene. If the tag name ends with the string "@tmp", then the data will not be saved during a scene or model save operation. The data can also be saved globally for the application (for the current CoppeliaSim session). See also the other custom data block related functions and the data packing/unpacking functions. If you wish to store a reference to another object, have a look at sim.setReferencedHandles."#,sim_write_custom_data_block,"writeCustomDataBlock",(object_handle:i64,tag_name:String,data:Vec)->()), -(r#""#,sim_write_custom_data_block_ex,"writeCustomDataBlockEx",(handle:i64,tag_name:String,data:String),opt(options:serde_json::Value)->()), -(r#"Adds or removes custom table data to be stored and saved together with an object, or the scene. If the tag name ends with the string "@tmp", then the data will not be saved during a scene or model save operation. The data can also be saved globally for the application (for the current CoppeliaSim session). See also the other custom data block related functions."#,sim_write_custom_table_data,"writeCustomTableData",(handle:i64,tag_name:String,the_table:serde_json::Value),opt(options:serde_json::Value)->()), -(r#"Overwrites a specific texture (or a portion of it) with RGB data. See also sim.getTextureId, sim.readTexture and sim.createTexture."#,sim_write_texture,"writeTexture",(texture_id:i64,options:i64,texture_data:Vec),opt(pos_x:i64,pos_y:i64,size_x:i64,size_y:i64,interpol:f64)->()), -(r#"Converts Yaw-Pitch-Roll angles to CoppeliaSim's alpha-beta-gamma angles. See also sim.alphaBetaGammaToYawPitchRoll and the section about positions, orientations and transformations"#,sim_yaw_pitch_roll_to_alpha_beta_gamma,"yawPitchRollToAlphaBetaGamma",(yaw_angle:f64,pitch_angle:f64,roll_angle:f64)->(f64,f64,f64)), -(r#""#,sim_yield,"yield"->()) +(Lua specific: in stepping operation mode, automatic thread interruptions, i.e. preemptive threading, is supressed)"#######,sim_set_stepping,"setStepping",(enabled:bool)->i64), +(r#######"Sets a string parameter +"#######,sim_set_string_param,"setStringParam",(parameter:i64,string_state:String)->()), +(r#######"Sets the value of a string signal. A signal created in a simulation script, +a customization script or in the +main script is automatically cleared when the script ends"#######,sim_set_string_signal,"setStringSignal",(signal_name:String,signal_value:String)->()), +(r#######"Writes the image of a vision sensor (and applies any image processing via the +vision callback functions). Make sure the vision +sensor is flagged as external input +"#######,sim_set_vision_sensor_img,"setVisionSensorImg",(sensor_handle:i64,image:Vec),opt(options:i64,pos:Vec,size:Vec)->()), +(r#######"Requests a start of a simulation (or a resume of a paused simulation)"#######,sim_start_simulation,"startSimulation"->()), +(r#######"Triggers the next simulation step, when in stepping operation mode. When simulation is running, then [sim_step](#method.sim_step) +only returns once the simulation time has changed"#######,sim_step,"step"->()), +(r#######"Requests a stop of the running simulation"#######,sim_stop_simulation,"stopSimulation",opt(wait:bool)->()), +(r#######"Removes an object from an OC tree, as voxel subtractions"#######,sim_subtract_object_from_octree,"subtractObjectFromOctree",(octree_handle:i64,object_handle:i64,options:i64)->i64), +(r#######"Removes an object from a point cloud, as a subtraction"#######,sim_subtract_object_from_point_cloud,"subtractObjectFromPointCloud",(point_cloud_handle:i64,object_handle:i64,options:i64,tolerance:f64)->i64), +(r#######""#######,sim_test_cb,"testCB",(a:i64,cb:String,b:i64)->i64), +(r#######"Closes a text edition window previously opened with [sim_text_editor_open](#method.sim_text_editor_open) +"#######,sim_text_editor_close,"textEditorClose",(handle:i64)->(String,Vec,Vec)), +(r#######"Retieves information from a text edition window previously opened with [sim_text_editor_open](#method.sim_text_editor_open) +"#######,sim_text_editor_get_info,"textEditorGetInfo",(handle:i64)->(String,Vec,Vec,bool)), +(r#######"Opens a text edition window"#######,sim_text_editor_open,"textEditorOpen",(init_text:String,properties:String)->i64), +(r#######"Shows or hides a text edition window previously opened with [sim_text_editor_open](#method.sim_text_editor_open) +"#######,sim_text_editor_show,"textEditorShow",(handle:i64,show_state:bool)->()), +(r#######"Modifies a buffer than contains packed data"#######,sim_transform_buffer,"transformBuffer",(in_buffer:Vec,in_format:i64,multiplier:f64,offset:f64,out_format:i64)->Vec), +(r#######"Transforms an image in various ways"#######,sim_transform_image,"transformImage",(image:Vec,resolution:Vec,options:i64)->()), +(r#######"Ungroups a compound shape into several shapes +"#######,sim_ungroup_shape,"ungroupShape",(shape_handle:i64)->Vec), +(r#######"Unpacks a string (or part of it) into an array of double floating-point numbers"#######,sim_unpack_double_table,"unpackDoubleTable",(data:Vec),opt(start_double_index:i64,double_count:i64,additional_byte_offset:i64)->Vec), +(r#######"Unpacks a string (or part of it) into an array of floating-point numbers"#######,sim_unpack_float_table,"unpackFloatTable",(data:Vec),opt(start_float_index:i64,float_count:i64,additional_byte_offset:i64)->Vec), +(r#######"Unpacks a string (or part of it) into an array of int32 numbers"#######,sim_unpack_int32_table,"unpackInt32Table",(data:Vec),opt(start_int32_index:i64,int32_count:i64,additional_byte_offset:i64)->Vec), +(r#######"Unpacks a buffer into a table"#######,sim_unpack_table,"unpackTable",(buffer:Vec)->serde_json::Value), +(r#######"Unpacks a string (or part of it) into an array of uint16 numbers"#######,sim_unpack_u_int16_table,"unpackUInt16Table",(data:Vec),opt(start_uint16_index:i64,uint16_count:i64,additional_byte_offset:i64)->Vec), +(r#######"Unpacks a string (or part of it) into an array of uint32 numbers"#######,sim_unpack_u_int32_table,"unpackUInt32Table",(data:Vec),opt(start_uint32_index:i64,uint32_count:i64,additional_byte_offset:i64)->Vec), +(r#######"Unpacks a string (or part of it) into an array of uint8 numbers"#######,sim_unpack_u_int8_table,"unpackUInt8Table",(data:Vec),opt(start_uint8_index:i64,uint8count:i64)->Vec), +(r#######""#######,sim_visit_tree,"visitTree",(root_handle:i64,visitor_func:String),opt(options:serde_json::Value)->()), +(r#######"Waits for a certain amount of time"#######,sim_wait,"wait",(dt:f64),opt(simulation_time:bool)->f64), +(r#######"Waits for a signal. This function first checks whether an integer, float, double or string signal with that name is present +(in that order). The function only returns when the signal is present (defined)"#######,sim_wait_for_signal,"waitForSignal",(sig_name:String)->serde_json::Value), +(r#######"Adds or removes custom data to be stored and saved together with an object, the scene, the app, or the app's storage. If the data is attached to an object, then the sysCall_data callback function is called asynchronously for the simulation- or customization script attached to that object"#######,sim_write_custom_buffer_data,"writeCustomBufferData",(object_handle:i64,tag_name:String,data:Vec)->()), +(r#######"Adds or removes custom data to be stored and saved together with an object, the scene, the app, or the app's storage. If the data is attached to an object, then the sysCall_data callback function is called asynchronously for the simulation- or customization script attached to that object"#######,sim_write_custom_string_data,"writeCustomStringData",(object_handle:i64,tag_name:String,data:String)->()), +(r#######"Adds or removes custom table data to be stored and saved together with an object, the scene, the app, or the app's storage. If the data is attached to an object, then the sysCall_data callback function is called asynchronously for the simulation- or customization script attached to that object"#######,sim_write_custom_table_data,"writeCustomTableData",(handle:i64,tag_name:String,the_table:serde_json::Value),opt(options:serde_json::Value)->()), +(r#######"Overwrites a specific texture (or a portion of it) with RGB data"#######,sim_write_texture,"writeTexture",(texture_id:i64,options:i64,texture_data:Vec),opt(pos_x:i64,pos_y:i64,size_x:i64,size_y:i64,interpol:f64)->()), +(r#######"Converts Yaw-Pitch-Roll angles to CoppeliaSim's alpha-beta-gamma angles"#######,sim_yaw_pitch_roll_to_alpha_beta_gamma,"yawPitchRollToAlphaBetaGamma",(yaw_angle:f64,pitch_angle:f64,roll_angle:f64)->(f64,f64,f64)), +(r#######""#######,sim_yield,"yield"->()) } } \ No newline at end of file diff --git a/src/remote_api_objects/sim/sim_const.rs b/src/remote_api_objects/sim/sim_const.rs index d64ba68..0b537b6 100644 --- a/src/remote_api_objects/sim/sim_const.rs +++ b/src/remote_api_objects/sim/sim_const.rs @@ -1,2445 +1,2499 @@ -pub const IKRESULT_SUCCESS: i64 = 1; +pub const OBJECT_VISIONSENSOR_TYPE: i64 = 9; -pub const JOINT_REVOLUTE_SUBTYPE: i64 = 10; +pub const PURE_PRIMITIVE_PLANE: i64 = 1; -pub const MUJOCO_BODY_FRICTION1: i64 = 43001; +pub const RUCKIG_TIMESYNC: i64 = 1; -pub const VORTEX_JOINT_FRICTIONPROPORTIONALBC: i64 = 22004; +pub const CHILDSCRIPTCALL_ACTUATION: i64 = 6; -pub const JOINTFLOATPARAM_UPPER_LIMIT: i64 = 2017; +pub const JOINTFLOATPARAM_MAXJERK: i64 = 2038; -pub const JOINTMODE_DEPENDENT: i64 = 4; +pub const MILLINTPARAM_VOLUME_TYPE: i64 = 11000; -pub const BUFFER_FLOAT: i64 = 6; +pub const CHILDSCRIPTATTRIBUTE_AUTOMATICCASCADINGCALLS: i64 = 3; -pub const STRINGPARAM_SCENEDEFAULTDIR: i64 = 132; +pub const BUTTONPROPERTY_CLOSEACTION: i64 = 4096; -pub const ODE_GLOBAL_STEPSIZE: i64 = 9001; +pub const DISTCALCMETHOD_DL_AND_DAC: i64 = 3; -pub const DISPLAYATTRIBUTE_SELECTED: i64 = 8; +pub const DYNMAT_FLOOR: i64 = 2310021; -pub const BOOLPARAM_HIERARCHY_TOOLBARBUTTON_ENABLED: i64 = 35; +pub const MUJOCO_JOINT_POLYCOEF3: i64 = 40025; -pub const NEWTON_GLOBAL_EXACTSOLVER: i64 = 29002; +pub const VORTEX_BODY_AUTOSLIP: i64 = 26005; -pub const OBJECTSPECIALPROPERTY_DETECTABLE_INDUCTIVE: i64 = 128; +pub const MUJOCO_DUMMY_DAMPING: i64 = 46013; -pub const MUJOCO_JOINT_DAMPING: i64 = 40017; +pub const VORTEX_BODY_SECANGULARAXISFRICTIONMODEL: i64 = 25004; -pub const MUJOCO_GLOBAL_BOUNDMASS: i64 = 37008; +pub const BUTTONPROPERTY_VERTICALLYCENTERED: i64 = 8192; -pub const DLGSTYLE_MESSAGE: i64 = 0; +pub const VORTEX_JOINT_P2FRICTIONMAXFORCE: i64 = 21028; -pub const MUJOCO_DUMMY_RANGE1: i64 = 46001; +pub const BUFFER_INT32: i64 = 5; -pub const VISIONFLOATPARAM_POV_APERTURE: i64 = 1015; +pub const MUJOCO_JOINT_SOLIMPFRICTION1: i64 = 40011; -pub const BOOLPARAM_STATUSTEXT_OPEN: i64 = 18; +pub const SIMULATION_ADVANCING_FIRSTAFTERPAUSE: i64 = 20; -pub const VORTEX_BODY_AUTOANGULARDAMPINGTENSIONRATIO: i64 = 24033; +pub const PARTICLE_PAINTTAG: i64 = 65536; -pub const PLUGININFO_EXTVERSIONSTR: i64 = 0; +pub const BOOLPARAM_OBJPROPERTIES_TOOLBARBUTTON_ENABLED: i64 = 46; -pub const IK_PSEUDO_INVERSE_METHOD: i64 = 0; +pub const VORTEX_JOINT_P1DAMPING: i64 = 21020; -pub const DUMMY_LINKTYPE_GCS_TARGET: i64 = 4; +pub const SHAPEINTPARAM_CONVEX: i64 = 3017; -pub const INTPARAM_VIDEOENCODERINDEX: i64 = 43; +pub const SYSCB_AFTERDELETE: i64 = 25; -pub const ODE_GLOBAL_INTERNALSCALINGFACTOR: i64 = 9002; +pub const BANNER_CLICKSELECTSPARENT: i64 = 32; -pub const JOINTFLOATPARAM_INTRINSIC_Y: i64 = 2006; +pub const VORTEX_BODY_PRIMANGULARAXISSLIP: i64 = 24025; -pub const PARTICLE_POINTS1: i64 = 0; +pub const OBJINTPARAM_PARENT_ROLE: i64 = 30; -pub const VERBOSITY_ERRORS: i64 = 200; +pub const BOOLPARAM_FOG_ENABLED: i64 = 19; -pub const FILTERCOMPONENT_SCALEANDOFFSETCOLORS: i64 = 27; +pub const DISPLAYATTRIBUTE_DEPTHPASS: i64 = 2; -pub const BULLET_CONSTRAINTSOLVERTYPE_SEQUENTIALIMPULSE: i64 = 0; +pub const NAVIGATION_CAMERAROTATEMIDDLEBUTTON: i64 = 8192; -pub const DRAWING_ITEMTRANSPARENCY: i64 = 524288; +pub const MUJOCO_GLOBAL_OVERRIDESOLIMP5: i64 = 37017; -pub const DUMMY_LINKTYPE_GCS_LOOP_CLOSURE: i64 = 2; +pub const CAMERAFARRAYPARAM_VIEWFRUSTUM: i64 = 9013; -pub const DISPLAYATTRIBUTE_TRIANGLEWIREFRAME: i64 = 16384; +pub const VORTEX_JOINT_POSPID1: i64 = 21052; -pub const RUCKIG_NOSYNC: i64 = 3; +pub const VORTEX_JOINT_A0LOSS: i64 = 21030; -pub const CAMERAFLOATPARAM_POV_BLUR_DISTANCE: i64 = 9005; +pub const BOOLPARAM_OBJECTROTATE_TOOLBARBUTTON_ENABLED: i64 = 38; -pub const OBJFLOATPARAM_MODELBBOX_MAX_X: i64 = 24; +pub const OBJECTPROPERTY_DONTSHOWASINSIDEMODEL: i64 = 256; -pub const JOINTINTPARAM_DYNCTRLMODE: i64 = 2039; +pub const MUJOCO_GLOBAL_OVERRIDESOLREF2: i64 = 37012; -pub const DUMMYINTPARAM_FOLLOW_PATH: i64 = 10001; +pub const VOLUME_RANDOMIZEDRAY: i64 = 5; -pub const DRAWING_LINESTRIP: i64 = 8; +pub const BOOLPARAM_RAYVALID: i64 = 56; -pub const ARRAYPARAM_BACKGROUND_COLOR2: i64 = 4; +pub const MIRRORFLOATPARAM_WIDTH: i64 = 12000; -pub const INTPARAM_MOUSE_X: i64 = 22; +pub const OBJECT_MILL_TYPE: i64 = 11; -pub const MUJOCO_DUMMY_LIMITED: i64 = 48001; +pub const MUJOCO_GLOBAL_VISCOSITY: i64 = 37007; -pub const VORTEX_JOINT_LOWERLIMITDAMPING: i64 = 21001; +pub const DUMMYTYPE_ASSEMBLY: i64 = 9; -pub const OBJECT_NO_SUBTYPE: i64 = 200; +pub const MUJOCO_JOINT_POSPID1: i64 = 40028; -pub const MODULEINFO_VERBOSITY: i64 = 3; +pub const API_WARNING_OUTPUT: i64 = 4; -pub const INTPARAM_SIMULATION_WARNING_DISABLED_MASK: i64 = 33; +pub const VISIONINTPARAM_RENDER_MODE: i64 = 1017; -pub const DISTCALCMETHOD_DAC_IF_NONZERO: i64 = 6; +pub const ARRAYPARAM_RANDOM_EULER: i64 = 6; -pub const VORTEX_BODY_NORMALMANGULARARAXISFRICTIONMODEL: i64 = 25005; +pub const PROXINTPARAM_ENTITY_TO_DETECT: i64 = 4002; -pub const FILTERCOMPONENT_INTENSITYSCALE: i64 = 25; +pub const SCRIPTTYPE_ADDONFUNCTION: i64 = 3; -pub const SIM_LANG_UNDEFINED: i64 = -1; +pub const DYNMAT_NOFRICTION: i64 = 2310016; -pub const INTPARAM_PLATFORM: i64 = 19; +pub const PRIMITIVESHAPE_SPHEROID: i64 = 4; -pub const INTPARAM_COMPILATION_VERSION: i64 = 4; +pub const SHAPEFLOATPARAM_EDGE_ANGLE: i64 = 3026; -pub const FILTERCOMPONENT_SWAPWITHBUFFER1: i64 = 29; +pub const SCRIPTTYPE_PASSIVE: i64 = 9; -pub const DRAWING_AUXCHANNELCOLOR1: i64 = 2097152; +pub const MUJOCO_GLOBAL_WIND2: i64 = 37004; -pub const BUFFER_UINT8RGB: i64 = 8; +pub const DLGSTYLE_YES_NO: i64 = 4; -pub const STRINGPARAM_APP_ARG8: i64 = 9; +pub const NAVIGATION_CAMERAFLY: i64 = 6; -pub const DISPLAYATTRIBUTE_NOGHOSTS: i64 = 8388608; +pub const FILTERCOMPONENT_MULTIPLYWITHBUFFER1: i64 = 12; -pub const DLGRET_STILL_OPEN: i64 = 0; +pub const VORTEX_BODY_PRIMANGULARAXISSTATICFRICTIONSCALE: i64 = 24008; -pub const VORTEX_JOINT_MOTORCONSTRAINTFRICTIONLOSS: i64 = 21011; +pub const BOOLPARAM_COLLISION_HANDLING_ENABLED: i64 = 2; -pub const VORTEX_BODY_SECLINEARAXISFRICTION: i64 = 24002; +pub const FILTERCOMPONENT_IMAGETOCOORD: i64 = 35; -pub const JOINTINTPARAM_MOTOR_ENABLED: i64 = 2000; +pub const APPOBJ_UI_TYPE: i64 = 116; -pub const VORTEX_BODY_PRIMLINEARAXISSLIDE: i64 = 24018; +pub const OBJECT_OCTREE_TYPE: i64 = 15; -pub const CHILDSCRIPTCALL_INITIALIZATION: i64 = 2; +pub const SYSCB_AFTERSIMULATION: i64 = 5; -pub const JOINTDYNCTRL_FREE: i64 = 0; +pub const SYSCB_REGULAR: i64 = 6; -pub const CUSTOMIZATIONSCRIPTCALL_LASTBEFOREINSTANCESWITCH: i64 = 11; +pub const SYSCB_BEFOREMAINSCRIPT: i64 = 29; -pub const VORTEX_JOINT_A2STIFFNESS: i64 = 21043; +pub const BULLET_BODY_RESTITUTION: i64 = 6001; -pub const VORTEX_JOINT_A2DAMPING: i64 = 21044; +pub const MUJOCO_DUMMY_SPRINGLENGTH: i64 = 46011; -pub const NEWTON_GLOBAL_HIGHJOINTACCURACY: i64 = 29003; +pub const OBJECT_GRAPH_TYPE: i64 = 2; -pub const CUSTOMIZATIONSCRIPTCALL_NONSIMULATION: i64 = 3; +pub const HANDLE_MAIN_SCRIPT: i64 = -5; -pub const PARTICLE_ITEMCOLORS: i64 = 4096; +pub const MUJOCO_JOINT_DAMPING: i64 = 40017; -pub const VORTEX_JOINT_FRICTIONENABLEDBC: i64 = 22003; +pub const INTPARAM_FLYMODE_CAMERA_HANDLE: i64 = 6; -pub const DRAWING_ITEMSIZES: i64 = 128; +pub const MUJOCO_GLOBAL_SOLVER: i64 = 38004; -pub const MAINSCRIPTCALL_INITIALIZATION: i64 = 2; +pub const SHAPEINTPARAM_CULLING: i64 = 3014; -pub const CUSTOMIZATIONSCRIPTCALL_SIMULATIONACTUATION: i64 = 6; +pub const MSGBOX_BUTTONS_OKCANCEL: i64 = 3; -pub const ODE_JOINT_BOUNCE: i64 = 12003; +pub const DYNMAT_DEFAULT: i64 = 2310013; -pub const STRINGPARAM_MACHINE_ID_LEGACY: i64 = 120; +pub const INTPARAM_VERBOSITY: i64 = 40; -pub const MUJOCO_GLOBAL_OVERRIDEKIN: i64 = 38008; +pub const HANDLEFLAG_SETMULTIPLE: i64 = 4194304; -pub const DISPLAYATTRIBUTE_FORBIDEDGES: i64 = 256; +pub const BUFFER_BASE64: i64 = 12; -pub const BUFFER_UINT16: i64 = 2; +pub const MESSAGE_KEYPRESS: i64 = 6; -pub const BOOLPARAM_VIDEO_RECORDING_TRIGGERED: i64 = 29; +pub const LIGHT_OMNIDIRECTIONAL_SUBTYPE: i64 = 1; -pub const BOOLPARAM_SHOW_W_RECEIVERS: i64 = 54; +pub const BULLET_GLOBAL_CONSTRAINTSOLVERTYPE: i64 = 1003; -pub const BULLET_BODY_AUTOSHRINKCONVEX: i64 = 8004; +pub const CUSTOMIZATIONSCRIPTATTRIBUTE_CLEANUPBEFORESAVE: i64 = 5; -pub const OBJINTPARAM_ILLUMINATION_HANDLE: i64 = 32; +pub const RML_ONLY_TIME_SYNC: i64 = 1; -pub const MUJOCO_GLOBAL_WIND3: i64 = 37005; +pub const SCRIPTTHREADRESUME_ALLNOTYETRESUMED: i64 = -1; -pub const VORTEX_BODYFRICTIONMODEL_PROPHIGH: i64 = 3; +pub const STREAM_TRANSF_CUMULATIVE: i64 = 3; -pub const INTPARAM_DYNAMIC_ITERATION_COUNT: i64 = 37; +pub const MUJOCO_JOINT_SOLIMPLIMIT2: i64 = 40004; -pub const FLOATPARAM_SIMULATION_TIME_STEP: i64 = 1; +pub const BULLET_CONSTRAINTSOLVERTYPE_NNCG: i64 = 1; -pub const DYNMAT_RESTSTACKGRASP: i64 = 2310017; +pub const BOOLPARAM_DISPLAY_ENABLED: i64 = 16; -pub const PARTICLE_IGNORESGRAVITY: i64 = 256; +pub const DRAWING_LINESTRIP: i64 = 8; -pub const VORTEX_BODYFRICTIONMODEL_NEUTRAL: i64 = 5; +pub const MUJOCO_JOINT_MARGIN: i64 = 40022; -pub const JOINTMODE_DYNAMIC: i64 = 5; +pub const VORTEX_GLOBAL_INTERNALSCALINGFACTOR: i64 = 18002; -pub const APPOBJ_COLLECTION_TYPE: i64 = 115; +pub const VORTEX_BODY_SECLINAXISSAMEASPRIMLINAXIS: i64 = 26006; -pub const FILTERCOMPONENT_BINARY: i64 = 28; +pub const SHAPEINTPARAM_COMPONENT_CNT: i64 = 3028; -pub const STRINGPARAM_VIDEO_FILENAME: i64 = 1; +pub const VORTEX_GLOBAL_CONSTRAINTANGULARCOMPLIANCE: i64 = 18007; -pub const STRINGPARAM_APPLICATION_PATH: i64 = 0; +pub const VORTEX_JOINT_P0DAMPING: i64 = 21014; -pub const SCRIPTTHREADRESUME_SENSING_FIRST: i64 = 3; +pub const BULLET_GLOBAL_INTERNALSCALINGFACTOR: i64 = 2; -pub const DISPLAYATTRIBUTE_NODRAWINGOBJECTS: i64 = 33554432; +pub const DRAWING_TRIANGLEPOINTS: i64 = 3; -pub const VORTEX_BODY_NORMALANGULARAXISSLIP: i64 = 24027; +pub const BOOLPARAM_RENDERING_SENSOR_HANDLING_ENABLED: i64 = 10; -pub const PRIMITIVESHAPE_PLANE: i64 = 1; +pub const MUJOCO_BODY_SOLIMP2: i64 = 43007; -pub const PRIMITIVESHAPE_HEIGHTFIELD: i64 = 7; +pub const DRAWING_QUADPOINTS: i64 = 4; -pub const NEWTON_JOINT_DEPENDENCYOFFSET: i64 = 30002; +pub const PLUGININFO_BUILDDATESTR: i64 = 1; -pub const SCRIPTTHREADRESUME_ACTUATION_LAST: i64 = 2; +pub const BUFFER_UINT16: i64 = 2; -pub const JOINTFLOATPARAM_INTRINSIC_X: i64 = 2005; +pub const CUSTOMIZATIONSCRIPTCALL_BEFORECOPY: i64 = 13; -pub const DRAWING_50PERCENTTRANSPARENCY: i64 = 8192; +pub const NEWTON_JOINT_POSPID2: i64 = 30004; -pub const DLGSTYLE_INPUT: i64 = 1; +pub const NEWTON_JOINT_DEPENDENCYFACTOR: i64 = 30001; -pub const JOINTINTPARAM_DYNPOSCTRLTYPE: i64 = 2041; +pub const MUJOCO_GLOBAL_KINMASS: i64 = 37018; -pub const MUJOCO_GLOBAL_IMPRATIO: i64 = 37002; +pub const VORTEX_JOINT_A1STIFFNESS: i64 = 21037; -pub const JOINTFLOATPARAM_MAXJERK: i64 = 2038; +pub const JOINTINTPARAM_VORTEX_DEP_HANDLE: i64 = 2031; -pub const STRINGPARAM_LEGACYMACHINETAG: i64 = 142; +pub const DRAWING_SPHEREPOINTS: i64 = 7; -pub const BOOLPARAM_ROSINTERFACE_DONOTRUNMAINSCRIPT: i64 = 48; +pub const VORTEX_JOINT_FRICTIONPROPORTIONALBC: i64 = 22004; -pub const VERBOSITY_LOADINFOS: i64 = 400; +pub const JOINTFLOATPARAM_MAXACCEL: i64 = 2037; -pub const PARTICLE_EMISSIONCOLOR: i64 = 16384; +pub const INTPARAM_EDIT_MODE_TYPE: i64 = 14; -pub const SCRIPTATTRIBUTE_ENABLED: i64 = 4; +pub const DUMMYINTPARAM_LINK_TYPE: i64 = 10000; -pub const MODELPROPERTY_NOT_RESPONDABLE: i64 = 64; +pub const OBJFLOATPARAM_ABS_X_VELOCITY: i64 = 11; -pub const OBJECT_JOINT_TYPE: i64 = 1; +pub const STRINGPARAM_MUJOCODIR: i64 = 138; -pub const VORTEX_BODY_NORMALANGULARAXISFRICTIONMODEL: i64 = 25005; +pub const JOINTFLOATPARAM_PID_P: i64 = 2002; -pub const JOINTFLOATPARAM_VORTEX_DEP_MULTIPLICATION: i64 = 2032; +pub const DRAWING_AUXCHANNELCOLOR2: i64 = 4194304; -pub const DYNMAT_DEFAULT: i64 = 2310013; +pub const BOOLPARAM_HIERARCHY_VISIBLE: i64 = 0; -pub const HANDLE_MAIN_SCRIPT: i64 = -5; +pub const VERBOSITY_LOADINFOS: i64 = 400; -pub const JOINTFLOATPARAM_INTRINSIC_QY: i64 = 2009; +pub const SHAPEFLOATPARAM_TEXTURE_SCALING_Y: i64 = 3013; -pub const MUJOCO_GLOBAL_INTEGRATOR: i64 = 38003; +pub const FILTERCOMPONENT_KEEPORREMOVECOLORS: i64 = 26; -pub const STRINGPARAM_SCENE_UNIQUE_ID: i64 = 118; +pub const SHAPEINTPARAM_SLEEPMODESTART: i64 = 3029; -pub const MSGBOX_RETURN_NO: i64 = 1; +pub const INTPARAM_CORE_COUNT: i64 = 24; -pub const VORTEX_BODY_NORMALANGULARAXISFRICTION: i64 = 24005; +pub const VISIONINTPARAM_DEPTHIGNORED: i64 = 1021; -pub const FILTERCOMPONENT_VELODYNE: i64 = 37; +pub const MUJOCO_JOINT_SPRINGREF: i64 = 40018; -pub const SCRIPTINTPARAM_LANG: i64 = 6; +pub const MUJOCO_BODY_SOLREF2: i64 = 43005; -pub const BULLET_BODY_NONDEFAULTCOLLISIONMARGINGFACTOR: i64 = 6006; +pub const JOINTFLOATPARAM_UPPER_LIMIT: i64 = 2017; -pub const MUJOCO_JOINT_SOLIMPFRICTION3: i64 = 40013; +pub const HANDLEFLAG_TOGGLEVISIBILITY: i64 = 4194304; -pub const MUJOCO_GLOBAL_KINMASS: i64 = 37018; +pub const MODULEINFO_EXTVERSIONINT: i64 = 2; -pub const BOOLPARAM_IK_HANDLING_ENABLED: i64 = 4; +pub const VORTEX_JOINT_DEPENDENCYOFFSET: i64 = 21049; -pub const SYSCB_AFTERINSTANCESWITCH: i64 = 12; +pub const MUJOCO_DUMMY_STIFFNESS: i64 = 46012; -pub const PROXIMITYSENSOR_CONE_SUBTYPE: i64 = 33; +pub const OBJECTSPECIALPROPERTY_DETECTABLE: i64 = 496; -pub const BANNER_FULLYFACINGCAMERA: i64 = 256; +pub const SCRIPTTYPE_CHILDSCRIPT: i64 = 1; -pub const ODE_JOINT_POSPID3: i64 = 12008; +pub const DISPLAYATTRIBUTE_FORVISIONSENSOR: i64 = 2048; -pub const CHILDSCRIPTATTRIBUTE_ENABLED: i64 = 4; +pub const SYSCB_SUSPENDED: i64 = 8; -pub const MUJOCO_GLOBAL_KININERTIA: i64 = 37019; +pub const SYSCB_SENSING: i64 = 7; -pub const NAVIGATION_CTRLSELECTION: i64 = 1024; +pub const MODELPROPERTY_NOT_COLLIDABLE: i64 = 1; -pub const MESSAGE_OBJECT_SELECTION_CHANGED: i64 = 2; +pub const VORTEX_JOINT_LOWERLIMITDAMPING: i64 = 21001; -pub const COLORCOMPONENT_AUXILIARY: i64 = 5; +pub const OBJECTSPECIALPROPERTY_COLLIDABLE: i64 = 1; -pub const BANNER_FOLLOWPARENTVISIBILITY: i64 = 16; +pub const STRINGPARAM_LOGFILTER: i64 = 124; -pub const MODELPROPERTY_NOT_MODEL: i64 = 61440; +pub const IK_Z_CONSTRAINT: i64 = 4; -pub const SHAPEFLOATPARAM_EDGE_ANGLE: i64 = 3026; +pub const VORTEX_BODY_SECLINEARAXISFRICTIONMODEL: i64 = 25002; -pub const PRIMITIVESHAPE_CAPSULE: i64 = 8; +pub const PATHPROPERTY_FLAT_PATH: i64 = 64; -pub const COLORCOMPONENT_SPECULAR: i64 = 2; +pub const FILTERCOMPONENT_ADDBUFFER1: i64 = 10; -pub const VORTEX_JOINT_P1FRICTIONLOSS: i64 = 21023; +pub const IK_UNDAMPED_PSEUDO_INVERSE_METHOD: i64 = 3; -pub const SYSCB_SUSPENDED: i64 = 8; +pub const SIMULATION_ADVANCING_FIRSTAFTERSTOP: i64 = 16; -pub const STRINGPARAM_APP_ARG2: i64 = 3; +pub const SCRIPTINTPARAM_HANDLE: i64 = 10103; -pub const NEWTON_GLOBAL_CONSTRAINTSOLVINGITERATIONS: i64 = 28001; +pub const OBJFLOATPARAM_ABS_ROT_VELOCITY: i64 = 14; -pub const MUJOCO_GLOBAL_REBUILDTRIGGER: i64 = 38010; +pub const PARTICLE_RESPONDABLE1TO4: i64 = 32; -pub const ADDONSCRIPTCALL_CLEANUP: i64 = 1; +pub const DRAWING_PERSISTENT: i64 = 1048576; -pub const FILTERCOMPONENT_FROMBUFFER1: i64 = 7; +pub const SCRIPTTHREADRESUME_DEFAULT: i64 = 0; -pub const SHAPEFLOATPARAM_INIT_ANG_VELOCITY_Z: i64 = 3022; +pub const VORTEX_BODY_PRIMANGULARAXISFRICTION: i64 = 24003; -pub const NAVIGATION_CAMERAFLY: i64 = 6; +pub const VISIONINTPARAM_WINDOWED_POS_Y: i64 = 1012; -pub const VERBOSITY_TRACELUA: i64 = 800; +pub const HANDLEFLAG_KEEPORIGINAL: i64 = 4194304; -pub const BOOLPARAM_MILL_HANDLING_ENABLED: i64 = 11; +pub const VISIONINTPARAM_POV_FOCAL_BLUR: i64 = 1013; -pub const VORTEX_JOINT_P0DAMPING: i64 = 21014; +pub const BULLET_JOINT_POSPID1: i64 = 3006; -pub const SYSCB_NONSIMULATION: i64 = 3; +pub const VORTEX_BODY_PURESHAPESASCONVEX: i64 = 26001; -pub const VORTEX_BODY_SECLINEARAXISSLIP: i64 = 24024; +pub const BUFFER_FLOAT: i64 = 6; -pub const INTPARAM_STOP_REQUEST_COUNTER: i64 = 29; +pub const MUJOCO_JOINT_SOLIMPLIMIT1: i64 = 40003; -pub const MUJOCO_JOINT_SOLIMPLIMIT2: i64 = 40004; +pub const VISIONINTPARAM_RENDERING_ATTRIBUTES: i64 = 1007; -pub const BOOLPARAM_OBJECTROTATE_TOOLBARBUTTON_ENABLED: i64 = 38; +pub const MSGBOX_BUTTONS_YESNO: i64 = 1; -pub const MSGBOX_TYPE_QUESTION: i64 = 1; +pub const FILTERCOMPONENT_5X5FILTER: i64 = 19; -pub const CAMERAINTPARAM_DISABLED_LIGHT_COMPONENTS: i64 = 9000; +pub const MUJOCO_GLOBAL_OVERRIDESOLIMP4: i64 = 37016; -pub const BUFFER_DOUBLE: i64 = 7; +pub const FORCEFLOATPARAM_ERROR_POS: i64 = 5006; -pub const FILTERCOMPONENT_IMAGETOCOORD: i64 = 35; +pub const VORTEX_JOINT_A2DAMPING: i64 = 21044; -pub const VORTEX_JOINT_MOTORFRICTIONENABLED: i64 = 23001; +pub const NEWTON_GLOBAL_CONTACTMERGETOLERANCE: i64 = 27002; -pub const SYSCB_SELCHANGE: i64 = 44; +pub const MUJOCO_DUMMY_PROXYJOINTID: i64 = 47002; -pub const DISPLAYATTRIBUTE_COLORCODED: i64 = 8192; +pub const ARRAYPARAM_AMBIENT_LIGHT: i64 = 5; -pub const DISPLAYATTRIBUTE_IGNORELAYER: i64 = 1024; +pub const SIM_LANG_LUA: i64 = 0; -pub const IKRESULT_NOT_PERFORMED: i64 = 0; +pub const MIRRORFLOATPARAM_HEIGHT: i64 = 12001; -pub const PATHPROPERTY_KEEP_X_UP: i64 = 2048; +pub const VORTEX_JOINT_A1FRICTIONMAXFORCE: i64 = 21040; -pub const CAMERAINTPARAM_PERSPECTIVE_OPERATION: i64 = 9010; +pub const DISPLAYATTRIBUTE_PICKPASS: i64 = 4; -pub const VORTEX_JOINT_DEPENDENCYOFFSET: i64 = 21049; +pub const RML_DISABLE_EXTREMUM_MOTION_STATES_CALC: i64 = 0; -pub const DRAWING_BACKFACECULLING: i64 = 256; +pub const APPOBJ_PATHPLANNING_TYPE: i64 = 118; -pub const SHAPESTRINGPARAM_COLOR_NAME: i64 = 3023; +pub const FLOATPARAM_PHYSICSTIMESTEP: i64 = 5; -pub const MUJOCO_JOINT_SOLREFFRICTION1: i64 = 40009; +pub const CAMERAINTPARAM_PERSPECTIVE_OPERATION: i64 = 9010; -pub const BUFFER_UINT8RGBA: i64 = 10; +pub const MSGBOX_RETURN_CANCEL: i64 = 0; -pub const DRAWING_AUXCHANNELCOLOR2: i64 = 4194304; +pub const VORTEX_BODYFRICTIONMODEL_PROPLOW: i64 = 2; -pub const VORTEX_BODY_AUTOSLEEPLINEARSPEEDTHRESHOLD: i64 = 24028; +pub const FILTERCOMPONENT_FROMBUFFER2: i64 = 8; -pub const OBJECTSPECIALPROPERTY_COLLIDABLE: i64 = 1; +pub const OBJFLOATPARAM_OBJBBOX_MIN_X: i64 = 15; -pub const MESSAGE_SCENE_LOADED: i64 = 8; +pub const DYNMAT_HIGHFRICTION: i64 = 2310014; -pub const OBJECT_GRAPH_TYPE: i64 = 2; +pub const JOINTFLOATPARAM_KC_C: i64 = 2019; -pub const VORTEX_JOINT_POSPID3: i64 = 21054; +pub const FILTERCOMPONENT_SUBTRACTFROMBUFFER1: i64 = 31; -pub const DRAWING_PAINTTAG: i64 = 1024; +pub const TEXTUREMAP_CYLINDER: i64 = 1; -pub const VORTEX_JOINT_POSPID1: i64 = 21052; +pub const VORTEX_BODY_SECANGULARAXISSLIDE: i64 = 24021; -pub const VORTEX_JOINT_P2FRICTIONCOEFF: i64 = 21027; +pub const ARRAYPARAM_BACKGROUND_COLOR2: i64 = 4; -pub const BOOLPARAM_VISION_SENSOR_HANDLING_ENABLED: i64 = 10; +pub const INTPARAM_PROGRAM_REVISION: i64 = 30; -pub const ARRAYPARAM_RAYORIGIN: i64 = 7; +pub const SCRIPTSTRINGPARAM_TEXT: i64 = 10110; -pub const APPOBJ_TEXTURE_TYPE: i64 = 120; +pub const FLOATPARAM_RAND: i64 = 0; -pub const OBJECTPROPERTY_SELECTMODELBASEINSTEAD: i64 = 128; +pub const JOINTFLOATPARAM_INTRINSIC_Z: i64 = 2007; -pub const MIRRORFLOATPARAM_HEIGHT: i64 = 12001; +pub const VORTEX_JOINT_RELAXATIONENABLEDBC: i64 = 22002; -pub const PARTICLE_POINTS2: i64 = 1; +pub const VERBOSITY_ONLYTERMINAL: i64 = 65536; -pub const SYSCB_VISION: i64 = 30; +pub const ODE_JOINT_NORMALCFM: i64 = 12005; -pub const VERBOSITY_MSGS: i64 = 450; +pub const DUMMYLINK_DYNLOOPCLOSURE: i64 = 0; -pub const HANDLE_DEFAULT: i64 = -9; +pub const HANDLE_PARENT: i64 = -11; -pub const FLOATPARAM_MINTRISIZEREL: i64 = 7; +pub const STRINGPARAM_MODELDEFAULTDIR: i64 = 133; -pub const MUJOCO_BODY_MARGIN: i64 = 43012; +pub const FORCEFLOATPARAM_ERROR_Y: i64 = 5001; -pub const INTPARAM_FLYMODE_CAMERA_HANDLE: i64 = 6; +pub const VORTEX_BODYFRICTIONMODEL_SCALEDBOX: i64 = 1; -pub const HANDLE_APP: i64 = -13; +pub const JOINTFLOATPARAM_PID_I: i64 = 2003; -pub const MUJOCO_JOINT_SOLIMPLIMIT1: i64 = 40003; +pub const BOOLPARAM_CANSAVE: i64 = 60; -pub const VERBOSITY_DEBUG: i64 = 600; +pub const BUTTONPROPERTY_NOBACKGROUNDCOLOR: i64 = 1024; -pub const VERBOSITY_TRACEALL: i64 = 900; +pub const BUTTONPROPERTY_BUTTON: i64 = 0; -pub const JOINTDYNCTRL_FORCE: i64 = 1; +pub const CAMERAFLOATPARAM_ORTHO_SIZE: i64 = 9002; -pub const MUJOCO_GLOBAL_BOUNDINERTIA: i64 = 37009; +pub const BUTTONPROPERTY_BORDERLESS: i64 = 32; -pub const SIMULATION_ADVANCING_ABOUTTOSTOP: i64 = 21; +pub const FLOATPARAM_MINTRISIZEREL: i64 = 7; -pub const CAMERAFLOATPARAM_PERSPECTIVE_ANGLE: i64 = 9001; +pub const PHYSICS_NEWTON: i64 = 3; -pub const OBJECTPROPERTY_CANNOTDELETE: i64 = 8192; +pub const OBJINTPARAM_MANIPULATION_PERMISSIONS: i64 = 31; -pub const BUTTONPROPERTY_ISDOWN: i64 = 256; +pub const BUTTONPROPERTY_ROLLUPACTION: i64 = 2048; -pub const VORTEX_BODY_PRIMANGULARARAXISFRICTIONMODEL: i64 = 25003; +pub const DLGSTYLE_INPUT: i64 = 1; -pub const DISTCALCMETHOD_SQRT_DL2_AND_DAC2: i64 = 4; +pub const DISPLAYATTRIBUTE_IGNORELAYER: i64 = 1024; -pub const VORTEX_BODY_SECANGULARAXISFRICTIONMODEL: i64 = 25004; +pub const DRAWING_QUADPTS: i64 = 10; -pub const VORTEX_JOINT_A1FRICTIONLOSS: i64 = 21041; +pub const BOOLPARAM_AUX_CLIP_PLANES_ENABLED: i64 = 23; -pub const SHAPEINTPARAM_CULLING: i64 = 3014; +pub const OBJINTPARAM_COLLECTION_SELF_COLLISION_INDICATOR: i64 = 27; -pub const MESSAGE_PICK_SELECT_DOWN: i64 = 11; +pub const SCRIPTEXECORDER_LAST: i64 = 2; -pub const BOOLPARAM_MIRRORS_ENABLED: i64 = 22; +pub const STRINGPARAM_SCENE_NAME: i64 = 15; -pub const FILTERCOMPONENT_ORIGINALIMAGE: i64 = 1; +pub const MUJOCO_GLOBAL_WIND3: i64 = 37005; -pub const ODE_GLOBAL_BITCODED: i64 = 10002; +pub const JOINTFLOATPARAM_ERROR_Y: i64 = 2023; -pub const APPOBJ_SIMULATION_TYPE: i64 = 112; +pub const MUJOCO_GLOBAL_OVERRIDESOLIMP2: i64 = 37014; -pub const NAVIGATION_CAMERAANGLE: i64 = 5; +pub const MUJOCO_GLOBAL_IMPRATIO: i64 = 37002; -pub const BOOLPARAM_DISPLAY_ENABLED: i64 = 16; +pub const IK_ALPHA_BETA_CONSTRAINT: i64 = 8; -pub const FILTERCOMPONENT_ADDBUFFER1: i64 = 10; +pub const BOOLPARAM_MIRRORS_ENABLED: i64 = 22; -pub const VERBOSITY_WARNINGS: i64 = 300; +pub const ODE_JOINT_POSPID3: i64 = 12008; -pub const PATHPROPERTY_CLOSED_PATH: i64 = 4; +pub const NEWTON_BODY_ANGULARDRAG: i64 = 33005; -pub const VORTEX_JOINT_A2FRICTIONLOSS: i64 = 21047; +pub const INTPARAM_SERVER_PORT_START: i64 = 9; -pub const DRAWING_CYCLIC: i64 = 4096; +pub const JOINT_PRISMATIC_SUBTYPE: i64 = 11; -pub const MUJOCO_GLOBAL_OVERRIDECONTACTS: i64 = 39005; +pub const PRIMITIVESHAPE_CYLINDER: i64 = 5; -pub const SCRIPTTHREADRESUME_DEFAULT: i64 = 0; +pub const MODELPROPERTY_NOT_RESPONDABLE: i64 = 64; -pub const OBJFLOATPARAM_TRANSPARENCY_OFFSET: i64 = 28; +pub const CUSTOMIZATIONSCRIPTCALL_LASTBEFOREINSTANCESWITCH: i64 = 11; -pub const APPOBJ_IK_TYPE: i64 = 113; +pub const CUSTOMIZATIONSCRIPTCALL_SIMULATIONPAUSE: i64 = 8; -pub const MUJOCO_BODY_SOLMIX: i64 = 43011; +pub const VORTEX_BODY_AUTOSLEEPANGULARSPEEDTHRESHOLD: i64 = 24030; -pub const DRAWING_LINES: i64 = 1; +pub const SCRIPTSTRINGPARAM_NAME: i64 = 10109; -pub const FORCEFLOATPARAM_ERROR_A: i64 = 5003; +pub const SHAPEINTPARAM_EDGE_VISIBILITY: i64 = 3024; -pub const PURE_PRIMITIVE_CUBOID: i64 = 3; +pub const IK_X_CONSTRAINT: i64 = 1; -pub const JOINTFLOATPARAM_PID_P: i64 = 2002; +pub const BULLET_JOINT_NORMALCFM: i64 = 3003; -pub const DISPLAYATTRIBUTE_COLORCODEDPICKPASS: i64 = 4096; +pub const CUSTOMIZATIONSCRIPTCALL_FIRSTAFTERINSTANCESWITCH: i64 = 12; -pub const FLOATPARAM_PHYSICSTIMESTEP: i64 = 5; +pub const NEWTON_BODY_BITCODED: i64 = 34001; -pub const STREAM_TRANSF_DERIVATIVE: i64 = 1; +pub const INTPARAM_MOUSE_BUTTONS: i64 = 31; -pub const CAMERAINTPARAM_TRACKEDOBJECT: i64 = 9011; +pub const BULLET_BODY_OLDFRICTION: i64 = 6002; -pub const VISIONFARRAYPARAM_VIEWFRUSTUM: i64 = 1019; +pub const MUJOCO_GLOBAL_OVERRIDEKIN: i64 = 38008; -pub const VORTEX_BODY_NORMALANGULARAXISSLIDE: i64 = 24022; +pub const STRINGPARAM_ADDONPATH: i64 = 131; -pub const JOINTFLOATPARAM_ERROR_X: i64 = 2022; +pub const SHAPESTRINGPARAM_COLORNAME: i64 = 3032; -pub const DRAWING_DISCPOINTS: i64 = 5; +pub const OBJECTSPECIALPROPERTY_DETECTABLE_ULTRASONIC: i64 = 16; -pub const OBJFLOATPARAM_ABS_Y_VELOCITY: i64 = 12; +pub const PRIMITIVESHAPE_CAPSULE: i64 = 8; -pub const BOOLPARAM_STOP_TOOLBARBUTTON_ENABLED: i64 = 44; +pub const VORTEX_BODY_RESTITUTION: i64 = 24013; -pub const OBJFLOATPARAM_OBJBBOX_MIN_X: i64 = 15; +pub const SCRIPTTYPE_CUSTOMIZATIONSCRIPT: i64 = 6; -pub const VORTEX_BODY_PRIMANGULARAXISSLIDE: i64 = 24020; +pub const BULLET_GLOBAL_STEPSIZE: i64 = 1; -pub const VORTEX_BODY_PRIMANGULARAXISSLIP: i64 = 24025; +pub const ODE_JOINT_POSPID1: i64 = 12006; -pub const VORTEX_BODY_ADHESIVEFORCE: i64 = 24015; +pub const HANDLEFLAG_DEPTHBUFFER: i64 = 8388608; -pub const BOOLPARAM_BROWSER_TOOLBARBUTTON_ENABLED: i64 = 36; +pub const HANDLEFLAG_ADDMULTIPLE: i64 = 16777216; -pub const MUJOCO_JOINT_POLYCOEF1: i64 = 40023; +pub const DRAWING_12PERCENTTRANSPARENCY: i64 = 32768; -pub const MUJOCO_GLOBAL_OVERRIDESOLIMP5: i64 = 37017; +pub const MESSAGE_PROX_SENSOR_SELECT_DOWN: i64 = 9; -pub const IK_Z_CONSTRAINT: i64 = 4; +pub const MAINSCRIPTCALL_INITIALIZATION: i64 = 2; -pub const BOOLPARAM_SHAPE_TEXTURES_ARE_VISIBLE: i64 = 15; +pub const BUTTONPROPERTY_EDITBOX: i64 = 3; -pub const BULLET_GLOBAL_CONSTRAINTSOLVINGITERATIONS: i64 = 1001; +pub const BULLET_GLOBAL_COLLISIONMARGINFACTOR: i64 = 3; -pub const STREAM_TRANSF_RAW: i64 = 0; +pub const DUMMY_LINKTYPE_DYNAMICS_FORCE_CONSTRAINT: i64 = 1; -pub const SCRIPTINTPARAM_ENABLED: i64 = 4; +pub const DUMMY_LINKTYPE_GCS_TIP: i64 = 3; -pub const RML_PHASE_SYNC_IF_POSSIBLE: i64 = 0; +pub const DRAWING_WIREFRAME: i64 = 512; -pub const VORTEX_BODYFRICTIONMODEL_PROPLOW: i64 = 2; +pub const BOOLPARAM_FULLSCREEN: i64 = 33; -pub const OBJECTPROPERTY_SELECTINVISIBLE: i64 = 2048; +pub const SYSCB_BEFOREINSTANCESWITCH: i64 = 11; -pub const SCRIPTINTPARAM_OBJECTHANDLE: i64 = 5; +pub const STRINGPARAM_APP_ARG6: i64 = 7; -pub const OBJECTPROPERTY_CANNOTDELETEDURINGSIM: i64 = 16384; +pub const DLGRET_STILL_OPEN: i64 = 0; -pub const MODELPROPERTY_NOT_MEASURABLE: i64 = 2; +pub const NAVIGATION_CAMERAZOOM: i64 = 3; -pub const SHAPEINTPARAM_EDGE_VISIBILITY: i64 = 3024; +pub const MUJOCO_BODY_MARGIN: i64 = 43012; -pub const VORTEX_JOINT_A1FRICTIONMAXFORCE: i64 = 21040; +pub const MAINSCRIPTCALL_CLEANUP: i64 = 1; -pub const PARTICLE_RESPONDABLE5TO8: i64 = 64; +pub const MILL_DISC_SUBTYPE: i64 = 42; -pub const ARRAYPARAM_AMBIENT_LIGHT: i64 = 5; +pub const NAVIGATION_CAMERAZOOMWHEEL: i64 = 4096; -pub const ADDONSCRIPTCALL_SUSPEND: i64 = 16; +pub const STREAM_TRANSF_DERIVATIVE: i64 = 1; -pub const FILTERCOMPONENT_EDGE: i64 = 21; +pub const MUJOCO_GLOBAL_REBUILDTRIGGER: i64 = 38010; -pub const STRINGPARAM_UNIQUEID: i64 = 126; +pub const MUJOCO_BODY_FRICTION1: i64 = 43001; -pub const BOOLPARAM_WAITING_FOR_TRIGGER: i64 = 45; +pub const IK_Y_CONSTRAINT: i64 = 2; -pub const DISPLAYATTRIBUTE_ORIGINALCOLORS: i64 = 512; +pub const DUMMYFLOATPARAM_FOLLOW_PATH_OFFSET: i64 = 10002; -pub const PURE_PRIMITIVE_SPHEROID: i64 = 4; +pub const JOINTFLOATPARAM_INTRINSIC_QX: i64 = 2008; -pub const FILTERCOMPONENT_SUBTRACTBUFFER1: i64 = 11; +pub const BUTTONPROPERTY_STAYDOWN: i64 = 8; -pub const CUSTOMIZATIONSCRIPTCALL_CLEANUP: i64 = 1; +pub const BUFFER_UINT8ARGB: i64 = 11; -pub const JOINTFLOATPARAM_KC_K: i64 = 2018; +pub const MUJOCO_GLOBAL_OVERRIDESOLIMP1: i64 = 37013; -pub const API_ERROR_OUTPUT: i64 = 2; +pub const HANDLE_SINGLE: i64 = -8; -pub const FORCEFLOATPARAM_ERROR_POS: i64 = 5006; +pub const SYSCB_JOINTCALLBACK: i64 = 18; -pub const VISIONINTPARAM_PERSPECTIVE_OPERATION: i64 = 1018; +pub const VORTEX_JOINT_A1FRICTIONLOSS: i64 = 21041; -pub const ADDONSCRIPTCALL_INITIALIZATION: i64 = 2; +pub const VOLUME_DISC: i64 = 2; -pub const PLUGININFO_BUILDDATESTR: i64 = 1; +pub const DRAWING_CUBEPOINTS: i64 = 6; -pub const PLUGININFO_EXTVERSIONINT: i64 = 2; +pub const PURE_PRIMITIVE_NONE: i64 = 0; -pub const MUJOCO_BODY_PRIORITY: i64 = 44002; +pub const DUMMYSTRINGPARAM_ASSEMBLYTAG: i64 = 10004; -pub const BULLET_CONSTRAINTSOLVERTYPE_PROJECTEDGAUSSSEIDEL: i64 = 3; +pub const BANNER_BACKFACECULLING: i64 = 512; -pub const BOOLPARAM_RAYVALID: i64 = 56; +pub const INTPARAM_DYNAMIC_STEP_DIVIDER: i64 = 7; -pub const MUJOCO_JOINT_SOLIMPLIMIT4: i64 = 40006; +pub const BANNER_LEFT: i64 = 1; -pub const SCRIPTSTRINGPARAM_NAMEEXT: i64 = 3; +pub const INTPARAM_SCENE_INDEX: i64 = 34; -pub const OBJECTSPECIALPROPERTY_DETECTABLE_ALL: i64 = 496; +pub const SHAPEFLOATPARAM_INIT_ANG_VELOCITY_Y: i64 = 3021; -pub const MSGBOX_TYPE_CRITICAL: i64 = 3; +pub const INTPARAM_PROX_SENSOR_SELECT_UP: i64 = 28; -pub const SHAPEINTPARAM_CONVEX_CHECK: i64 = 3018; +pub const VORTEX_BODYFRICTIONMODEL_PROPHIGH: i64 = 3; -pub const BANNER_NOBACKGROUND: i64 = 4; +pub const RML_KEEP_TARGET_VEL: i64 = 0; -pub const IK_GAMMA_CONSTRAINT: i64 = 16; +pub const VORTEX_BODYFRICTIONMODEL_SCALEDBOXFAST: i64 = 4; -pub const VORTEX_BODY_PRIMANGULARAXISFRICTION: i64 = 24003; +pub const FILTERCOMPONENT_ROTATE: i64 = 15; -pub const SHAPEFLOATPARAM_TEXTURE_Y: i64 = 3007; +pub const HANDLEFLAG_RESETTORQUE: i64 = 8388608; -pub const JOINTMODE_KINEMATIC: i64 = 0; +pub const VORTEX_JOINT_LOWERLIMITSTIFFNESS: i64 = 21003; -pub const MUJOCO_BODY_SOLIMP2: i64 = 43007; +pub const MUJOCO_DUMMY_SOLREFLIMIT1: i64 = 46003; -pub const VISIONFLOATPARAM_PERSPECTIVE_ANGLE: i64 = 1004; +pub const VORTEX_GLOBAL_COMPUTEINERTIAS: i64 = 20005; -pub const SHAPEFLOATPARAM_INIT_ANG_VELOCITY_Y: i64 = 3021; +pub const SCRIPTATTRIBUTE_SCRIPTTYPE: i64 = 7; -pub const BULLET_JOINT_POSPID1: i64 = 3006; +pub const SIMULATION_ADVANCING_ABOUTTOSTOP: i64 = 21; -pub const STRINGPARAM_ADDONPATH: i64 = 131; +pub const VORTEX_JOINT_P2FRICTIONLOSS: i64 = 21029; -pub const NEWTON_JOINT_POSPID2: i64 = 30004; +pub const INTPARAM_STATUSBARVERBOSITY: i64 = 41; -pub const API_ERROR_REPORT: i64 = 1; +pub const RUCKIG_PHASESYNC: i64 = 0; -pub const SYSCB_JOINT: i64 = 42; +pub const NEWTON_BODY_STATICFRICTION: i64 = 33001; -pub const MUJOCO_BODY_SOLIMP1: i64 = 43006; +pub const DISTCALCMETHOD_DAC: i64 = 1; -pub const MUJOCO_GLOBAL_DENSITY: i64 = 37006; +pub const MUJOCO_GLOBAL_BOUNDMASS: i64 = 37008; -pub const OBJFLOATPARAM_OBJBBOX_MAX_Z: i64 = 20; +pub const APPOBJ_OBJECT_TYPE: i64 = 109; -pub const FILTERCOMPONENT_VERTICALFLIP: i64 = 14; +pub const STRINGPARAM_APPLICATION_PATH: i64 = 0; -pub const VOLUME_CONE: i64 = 3; +pub const VORTEX_JOINT_A0DAMPING: i64 = 21032; -pub const DUMMYLINK_DYNTENDON: i64 = 7; +pub const OBJECTPROPERTY_HIERARCHYHIDDENMODELCHILD: i64 = 32768; -pub const VORTEX_BODY_PRIMLINEARAXISSLIP: i64 = 24023; +pub const JOINTFLOATPARAM_ERROR_X: i64 = 2022; -pub const VORTEX_JOINT_RELAXATIONENABLEDBC: i64 = 22002; +pub const SHAPEFLOATPARAM_INIT_VELOCITY_G: i64 = 3022; -pub const DISPLAYATTRIBUTE_NOPARTICLES: i64 = 67108864; +pub const VORTEX_BODY_PRIMAXISVECTORX: i64 = 24034; -pub const DUMMY_LINKTYPE_GCS_TIP: i64 = 3; +pub const FORCEFLOATPARAM_ERROR_B: i64 = 5004; -pub const INTPARAM_SCENE_INDEX: i64 = 34; +pub const SYSCB_CUSTOMCALLBACK1: i64 = 20; -pub const BOOLPARAM_GCS_HANDLING_ENABLED: i64 = 5; +pub const INTPARAM_MOUSE_X: i64 = 22; -pub const VORTEX_JOINT_A1FRICTIONCOEFF: i64 = 21039; +pub const SCRIPTSTRINGPARAM_NAMEEXT: i64 = 10111; -pub const SIM_LANG_PYTHON: i64 = 1; +pub const RML_ONLY_PHASE_SYNC: i64 = 1; -pub const BOOLPARAM_HEADLESS: i64 = 34; +pub const FILTERCOMPONENT_HORIZONTALFLIP: i64 = 13; -pub const PARTICLE_PAINTTAG: i64 = 65536; +pub const STRINGPARAM_APP_ARG3: i64 = 4; -pub const PRIMITIVESHAPE_DISC: i64 = 2; +pub const INTPARAM_SPEEDMODIFIER: i64 = 36; -pub const FORCEFLOATPARAM_ERROR_G: i64 = 5005; +pub const JOINTFLOATPARAM_PID_D: i64 = 2004; -pub const VISIONFLOATPARAM_ORTHO_SIZE: i64 = 1005; +pub const BUTTONPROPERTY_SLIDER: i64 = 2; -pub const NEWTON_BODY_KINETICFRICTION: i64 = 33002; +pub const INTPARAM_INFOTEXT_STYLE: i64 = 12; -pub const DRAWING_VERTEXCOLORS: i64 = 64; +pub const STRINGPARAM_MACHINE_ID_LEGACY: i64 = 120; -pub const RML_RECOMPUTE_TRAJECTORY: i64 = 0; +pub const JOINTMODE_IKDEPENDENT: i64 = 3; -pub const VORTEX_JOINT_LOWERLIMITMAXFORCE: i64 = 21007; +pub const VORTEX_BODY_NORMALANGULARAXISSLIP: i64 = 24027; -pub const DISTCALCMETHOD_DAC: i64 = 1; +pub const FLOATPARAM_STEREO_DISTANCE: i64 = 2; -pub const VORTEX_BODY_SKINTHICKNESS: i64 = 24032; +pub const INTPARAM_PROCESSID: i64 = 52; -pub const NAVIGATION_CAMERAZOOM: i64 = 3; +pub const STRINGPARAM_ADDITIONALPYTHONPATH: i64 = 135; -pub const VORTEX_JOINT_P2STIFFNESS: i64 = 21025; +pub const MUJOCO_DUMMY_SOLIMPLIMIT5: i64 = 46009; -pub const ODE_JOINT_STOPCFM: i64 = 12002; +pub const BOOLPARAM_EXIT_REQUEST: i64 = 41; -pub const OBJFLOATPARAM_MODELBBOX_MAX_Z: i64 = 26; +pub const ODE_GLOBAL_ERP: i64 = 9004; -pub const DRAWING_EMISSIONCOLOR: i64 = 65536; +pub const CUSTOMIZATIONSCRIPTCALL_INITIALIZATION: i64 = 2; -pub const STRINGPARAM_ADDITIONALPYTHONPATH: i64 = 135; +pub const VORTEX_BODY_SECLINEARAXISSTATICFRICTIONSCALE: i64 = 24007; -pub const JOINTFLOATPARAM_INTRINSIC_QZ: i64 = 2010; +pub const ODE_JOINT_BOUNCE: i64 = 12003; -pub const SHAPEINTPARAM_WIREFRAME: i64 = 3015; +pub const HANDLE_APPSTORAGE: i64 = -15; -pub const FILEDLG_TYPE_SAVE: i64 = 1; +pub const PURE_PRIMITIVE_SPHEROID: i64 = 4; -pub const ODE_GLOBAL_RANDOMSEED: i64 = 10003; +pub const DISPLAYATTRIBUTE_MAINSELECTION: i64 = 32; -pub const VORTEX_BODYFRICTIONMODEL_SCALEDBOX: i64 = 1; +pub const NEWTON_BODY_LINEARDRAG: i64 = 33004; -pub const ODE_GLOBAL_ERP: i64 = 9004; +pub const VORTEX_BODY_SECANGAXISSAMEASPRIMANGAXIS: i64 = 26007; -pub const OBJECTPROPERTY_CANUPDATEDNA: i64 = 1024; +pub const OBJINTPARAM_VISIBILITY_LAYER: i64 = 10; -pub const PROXIMITYSENSOR_CYLINDER_SUBTYPE: i64 = 31; +pub const PARTICLE_PARTICLERESPONDABLE: i64 = 128; -pub const PRIMITIVESHAPE_CONE: i64 = 6; +pub const MUJOCO_DUMMY_SOLIMPLIMIT1: i64 = 46005; -pub const PATHPROPERTY_AUTOMATIC_ORIENTATION: i64 = 8; +pub const MUJOCO_DUMMY_RANGE2: i64 = 46002; -pub const MODULEINFO_STATUSBARVERBOSITY: i64 = 4; +pub const DUMMYLINK_DYNTENDON: i64 = 7; -pub const MUJOCO_GLOBAL_NJMAX: i64 = 38005; +pub const VORTEX_BODY_NORMALMANGULARARAXISFRICTIONMODEL: i64 = 25005; -pub const DRAWING_CUBEPTS: i64 = 12; +pub const HANDLEFLAG_RELJOINTBASEFRAME: i64 = 4194304; -pub const VORTEX_BODY_BITCODED: i64 = 25006; +pub const SYSCB_RESUME: i64 = 10; -pub const SHAPEFLOATPARAM_TEXTURE_B: i64 = 3010; +pub const ODE_BODY_LINEARDAMPING: i64 = 15004; -pub const BANNER_RIGHT: i64 = 2; +pub const SCRIPT_MAIN_SCRIPT_NONEXISTENT: i64 = 1; -pub const CUSTOMIZATIONSCRIPTCALL_SIMULATIONPAUSE: i64 = 8; +pub const SCRIPTTYPE_SIMULATION: i64 = 1; -pub const HANDLE_ALL_EXCEPT_SELF: i64 = -10; +pub const OBJECTPROPERTY_HIDDENFORSIMULATION: i64 = 65536; -pub const DYNMAT_HIGHFRICTION: i64 = 2310014; +pub const OBJECTSPECIALPROPERTY_RENDERABLE: i64 = 512; -pub const HANDLEFLAG_DEPTHBUFFERMETERS: i64 = 8388608; +pub const VERBOSITY_ERRORS: i64 = 200; -pub const MUJOCO_BODY_FRICTION3: i64 = 43003; +pub const DLGSTYLE_DONT_CENTER: i64 = 32; -pub const NEWTON_JOINT_DEPENDENCYFACTOR: i64 = 30001; +pub const OBJFLOATPARAM_ABS_Z_VELOCITY: i64 = 13; -pub const VOLUME_DISC: i64 = 2; +pub const OBJFLOATPARAM_TRANSPARENCY_OFFSET: i64 = 28; -pub const VOLUME_PYRAMID: i64 = 0; +pub const STRINGPARAM_SCENE_PATH_AND_NAME: i64 = 13; -pub const PLUGININFO_STATUSBARVERBOSITY: i64 = 4; +pub const SHAPEFLOATPARAM_TEXTURE_A: i64 = 3009; -pub const JOINTFLOATPARAM_SPHERICAL_QY: i64 = 2014; +pub const DLGRET_OK: i64 = 1; -pub const FLOATPARAM_DYNAMIC_STEP_SIZE: i64 = 3; +pub const VORTEX_GLOBAL_MULTITHREADING: i64 = 20002; -pub const JOINTMODE_IK: i64 = 2; +pub const OBJECTSPECIALPROPERTY_DETECTABLE_INDUCTIVE: i64 = 128; -pub const DLGSTYLE_OK: i64 = 2; +pub const VORTEX_JOINT_P0FRICTIONCOEFF: i64 = 21015; -pub const BUTTONPROPERTY_NOBACKGROUNDCOLOR: i64 = 1024; +pub const INTPARAM_MOUSECLICKCOUNTERDOWN: i64 = 46; -pub const OBJECTSPECIALPROPERTY_RENDERABLE: i64 = 512; +pub const VISIONFLOATPARAM_PERSPECTIVE_ANGLE: i64 = 1004; -pub const MUJOCO_GLOBAL_ITERATIONS: i64 = 38002; +pub const SCRIPTTYPE_ADDON: i64 = 2; -pub const PROXIMITYSENSOR_PYRAMID_SUBTYPE: i64 = 30; +pub const FILTERCOMPONENT_FROMBUFFER1: i64 = 7; -pub const MUJOCO_DUMMY_MARGIN: i64 = 46010; +pub const OBJECT_LIGHT_TYPE: i64 = 13; -pub const INTPARAM_VISIBLE_LAYERS: i64 = 11; +pub const JOINTFLOATPARAM_ERROR_A: i64 = 2025; -pub const BUFFER_CLAMP: i64 = 256; +pub const MSGBOX_TYPE_QUESTION: i64 = 1; -pub const VORTEX_BODY_PRIMAXISVECTORX: i64 = 24034; +pub const SIMULATION_ADVANCING: i64 = 16; -pub const JOINTFLOATPARAM_ERROR_A: i64 = 2025; +pub const DLGSTYLE_MESSAGE: i64 = 0; -pub const SCRIPTSTRINGPARAM_NAME: i64 = 1; +pub const OBJFLOATPARAM_MODELBBOX_MIN_Y: i64 = 22; -pub const VORTEX_JOINT_A0FRICTIONCOEFF: i64 = 21033; +pub const MSGBOX_RETURN_YES: i64 = 2; -pub const JOINTDYNCTRL_POSITION: i64 = 8; +pub const SCRIPTATTRIBUTE_EXECUTIONORDER: i64 = 1; -pub const DLGSTYLE_OK_CANCEL: i64 = 3; +pub const VORTEX_BODY_AUTOANGULARDAMPINGTENSIONRATIO: i64 = 24033; -pub const HANDLEFLAG_RESETFORCETORQUE: i64 = 12582912; +pub const STRINGPARAM_UNIQUEID: i64 = 126; -pub const VORTEX_BODY_AUTOSLEEPANGULARSPEEDTHRESHOLD: i64 = 24030; +pub const JOINTMODE_IK: i64 = 2; -pub const VORTEX_GLOBAL_CONTACTTOLERANCE: i64 = 18003; +pub const VISIONINTPARAM_RESOLUTION_X: i64 = 1002; -pub const SCRIPTTHREADRESUME_CUSTOM: i64 = 5; +pub const ARRAYPARAM_GRAVITY: i64 = 0; -pub const STRINGPARAM_DLGVERBOSITY: i64 = 123; +pub const BUTTONPROPERTY_DOWNUPEVENT: i64 = 16384; -pub const BULLET_JOINT_STOPERP: i64 = 3001; +pub const TEXTUREMAP_PLANE: i64 = 0; -pub const PROXIMITYSENSOR_DISC_SUBTYPE: i64 = 32; +pub const BANNER_FACINGCAMERA: i64 = 128; -pub const BOOLPARAM_FORCE_CALCSTRUCT_ALL_VISIBLE: i64 = 39; +pub const APPOBJ_2DELEMENT_TYPE: i64 = 116; -pub const JOINT_SPHERICAL_SUBTYPE: i64 = 12; +pub const APPOBJ_IK_TYPE: i64 = 113; -pub const SCRIPTTYPE_SANDBOXSCRIPT: i64 = 8; +pub const VORTEX_JOINT_UPPERLIMITDAMPING: i64 = 21002; -pub const HANDLEFLAG_ABSCOORDS: i64 = 8388608; +pub const DISPLAYATTRIBUTE_COLORCODEDPICKPASS: i64 = 4096; -pub const INTPARAM_SCENE_UNIQUE_ID: i64 = 20; +pub const VORTEX_BODYFRICTIONMODEL_NONE: i64 = 6; -pub const HANDLEFLAG_MODEL: i64 = 8388608; +pub const OBJECTSPECIALPROPERTY_MEASURABLE: i64 = 2; -pub const OBJFLOATPARAM_ABS_Z_VELOCITY: i64 = 13; +pub const VERBOSITY_QUESTIONS: i64 = 410; -pub const INTPARAM_CURRENT_PAGE: i64 = 5; +pub const BULLET_BODY_NONDEFAULTCOLLISIONMARGINGFACTOR: i64 = 6006; -pub const OBJECT_CAMERA_TYPE: i64 = 3; +pub const VORTEX_JOINT_UPPERLIMITMAXFORCE: i64 = 21008; -pub const ARRAYPARAM_RAYDIRECTION: i64 = 8; +pub const MILL_PYRAMID_SUBTYPE: i64 = 40; -pub const MODELPROPERTY_NOT_COLLIDABLE: i64 = 1; +pub const MUJOCO_BODY_SOLIMP5: i64 = 43010; -pub const DLGRET_NO: i64 = 4; +pub const BOOLPARAM_MILL_HANDLING_ENABLED: i64 = 11; -pub const DRAWING_WIREFRAME: i64 = 512; +pub const CAMERAINTPARAM_TRACKEDOBJECT: i64 = 9011; -pub const COLORCOMPONENT_DIFFUSE: i64 = 1; +pub const CAMERAFLOATPARAM_FAR_CLIPPING: i64 = 9009; -pub const DRAWING_DISCPTS: i64 = 11; +pub const OBJECTSPECIALPROPERTY_DETECTABLE_CAPACITIVE: i64 = 256; -pub const ODE_JOINT_POSPID2: i64 = 12007; +pub const MUJOCO_GLOBAL_CONE: i64 = 38007; -pub const INTPARAM_DYNAMIC_STEP_DIVIDER: i64 = 7; +pub const ODE_GLOBAL_INTERNALSCALINGFACTOR: i64 = 9002; -pub const VISIONINTPARAM_POV_BLUR_SAMPLED: i64 = 1016; +pub const PROXIMITYSENSOR_PYRAMID_SUBTYPE: i64 = 30; -pub const ODE_JOINT_STOPERP: i64 = 12001; +pub const BOOLPARAM_USINGSCRIPTOBJECTS: i64 = 61; -pub const ODE_BODY_ANGULARDAMPING: i64 = 15005; +pub const JOINTFLOATPARAM_SPHERICAL_QX: i64 = 2013; -pub const MUJOCO_JOINT_POLYCOEF3: i64 = 40025; +pub const BOOLPARAM_CALCMODULES_TOOLBARBUTTON_ENABLED: i64 = 47; -pub const HANDLE_ALL_EXCEPT_EXPLICIT: i64 = -3; +pub const OBJINTPARAM_UNIQUE_ID: i64 = 37; -pub const VORTEX_BODY_NORMALANGULARAXISSTATICFRICTIONSCALE: i64 = 24010; +pub const FILTERCOMPONENT_TODEPTHOUTPUT: i64 = 38; -pub const MILL_CYLINDER_SUBTYPE: i64 = 41; +pub const DRAWING_DISCPOINTS: i64 = 5; -pub const IKRESULT_FAIL: i64 = 2; +pub const SHAPEINTPARAM_RESPONDABLE: i64 = 3004; -pub const INTPARAM_DLGVERBOSITY: i64 = 42; +pub const SYSCB_CLEANUP: i64 = 1; -pub const VORTEX_JOINT_P1STIFFNESS: i64 = 21019; +pub const BUTTONPROPERTY_IGNOREMOUSE: i64 = 128; -pub const VORTEX_GLOBAL_INTERNALSCALINGFACTOR: i64 = 18002; +pub const VORTEX_JOINT_A2FRICTIONLOSS: i64 = 21047; -pub const MIRRORFLOATPARAM_WIDTH: i64 = 12000; +pub const PHYSICS_MUJOCO: i64 = 4; -pub const BOOLPARAM_DYNAMICS_HANDLING_ENABLED: i64 = 6; +pub const PROXINTPARAM_VOLUME_TYPE: i64 = 4001; -pub const JOINTFLOATPARAM_INTRINSIC_Z: i64 = 2007; +pub const BOOLPARAM_FORCE_SHOW_WIRELESS_EMISSION: i64 = 27; -pub const DLGSTYLE_YES_NO: i64 = 4; +pub const VORTEX_BODY_AUTOSLEEPSTEPLIVETHRESHOLD: i64 = 25007; -pub const FLOATPARAM_MAXTRISIZEABS: i64 = 6; +pub const BUFFER_UINT32: i64 = 4; -pub const SHAPEFLOATPARAM_INIT_VELOCITY_G: i64 = 3022; +pub const BANNER_NOBACKGROUND: i64 = 4; -pub const SHAPEINTPARAM_SLEEPMODESTART: i64 = 3029; +pub const SHAPEINTPARAM_KINEMATIC: i64 = 3030; -pub const HANDLEFLAG_RESETTORQUE: i64 = 8388608; +pub const SHAPE_MULTISHAPE_SUBTYPE: i64 = 21; -pub const HANDLEFLAG_SETMULTIPLE: i64 = 4194304; +pub const MUJOCO_GLOBAL_OVERRIDEMARGIN: i64 = 37010; -pub const PHYSICS_PHYSX: i64 = 5; +pub const LIGHTINTPARAM_POV_CASTS_SHADOWS: i64 = 8000; -pub const SIMULATION_ADVANCING_RUNNING: i64 = 17; +pub const INTPARAM_CURRENT_PAGE: i64 = 5; -pub const OBJECT_SHAPE_TYPE: i64 = 0; +pub const DISPLAYATTRIBUTE_RENDERPASS: i64 = 1; -pub const MUJOCO_DUMMY_RANGE2: i64 = 46002; +pub const VORTEX_JOINT_MOTORCONSTRAINTFRICTIONLOSS: i64 = 21011; -pub const STRINGPARAM_REMOTEAPI_TEMP_FILE_DIR: i64 = 16; +pub const HANDLE_WORLD: i64 = -1; -pub const MUJOCO_JOINT_POSPID1: i64 = 40028; +pub const IK_GAMMA_CONSTRAINT: i64 = 16; -pub const PURE_PRIMITIVE_DISC: i64 = 2; +pub const JOINTMODE_DYNAMIC: i64 = 5; -pub const DRAWING_POINTS: i64 = 0; +pub const BOOLPARAM_BROWSER_VISIBLE: i64 = 12; -pub const VORTEX_BODY_ANGULARVELOCITYDAMPING: i64 = 24017; +pub const HANDLE_TREE: i64 = -6; -pub const VERBOSITY_NONE: i64 = 100; +pub const INTPARAM_SCENE_UNIQUE_ID: i64 = 20; -pub const VORTEX_JOINT_A2LOSS: i64 = 21042; +pub const COLORCOMPONENT_SPECULAR: i64 = 2; -pub const SHAPEFLOATPARAM_INIT_VELOCITY_X: i64 = 3000; +pub const DISTCALCMETHOD_MAX_DL_DAC: i64 = 2; -pub const BANNER_OVERLAY: i64 = 8; +pub const VERBOSITY_DEBUG: i64 = 600; -pub const VISIONINTPARAM_ENTITY_TO_RENDER: i64 = 1008; +pub const FILEDLG_TYPE_FOLDER: i64 = 3; -pub const STRINGPARAM_USERSETTINGSDIR: i64 = 139; +pub const VORTEX_BODY_NORMALANGULARAXISSTATICFRICTIONSCALE: i64 = 24010; -pub const HANDLE_SINGLE: i64 = -8; +pub const DRAWING_25PERCENTTRANSPARENCY: i64 = 16384; -pub const SIMULATION_ADVANCING_FIRSTAFTERPAUSE: i64 = 20; +pub const VORTEX_JOINT_BITCODED: i64 = 22001; -pub const LIGHT_DIRECTIONAL_SUBTYPE: i64 = 3; +pub const OBJECTSPECIALPROPERTY_DETECTABLE_INFRARED: i64 = 32; -pub const NEWTON_GLOBAL_CONTACTMERGETOLERANCE: i64 = 27002; +pub const IK_JACOBIAN_TRANSPOSE_METHOD: i64 = 2; -pub const SYSCB_AOS_SUSPEND: i64 = 16; +pub const BULLET_CONSTRAINTSOLVERTYPE_SEQUENTIALIMPULSE: i64 = 0; -pub const VISIONINTPARAM_RESOLUTION_X: i64 = 1002; +pub const JOINTMODE_KINEMATIC: i64 = 0; -pub const FILTERCOMPONENT_ADDTOBUFFER1: i64 = 30; +pub const ARRAYPARAM_BACKGROUND_COLOR1: i64 = 3; -pub const HANDLEFLAG_ADDMULTIPLE: i64 = 16777216; +pub const VORTEX_JOINT_POSPID2: i64 = 21053; -pub const BUTTONPROPERTY_BUTTON: i64 = 0; +pub const CALLBACKID_DYNSTEP: i64 = 2; -pub const ARRAYPARAM_RANDOM_EULER: i64 = 6; +pub const MSGBOX_TYPE_WARNING: i64 = 2; -pub const NAVIGATION_CAMERAROTATEMIDDLEBUTTON: i64 = 8192; +pub const JOINTMODE_FORCE: i64 = 5; -pub const BOOLPARAM_RML2_AVAILABLE: i64 = 20; +pub const VORTEX_BODY_AUTOSLEEPANGULARACCELTHRESHOLD: i64 = 24031; -pub const INTPARAM_SERVER_PORT_START: i64 = 9; +pub const VISIONINTPARAM_WINDOWED_SIZE_X: i64 = 1009; -pub const STRINGPARAM_LUADIR: i64 = 136; +pub const ODE_GLOBAL_FULLINTERNALSCALING: i64 = 11001; -pub const SYSCB_CUSTOMCALLBACK1: i64 = 20; +pub const HANDLEFLAG_SILENTERROR: i64 = 33554432; -pub const HANDLE_TREE: i64 = -6; +pub const JOINTFLOATPARAM_VORTEX_DEP_OFFSET: i64 = 2033; -pub const VORTEX_GLOBAL_BITCODED: i64 = 19001; +pub const MUJOCO_GLOBAL_OVERRIDESOLREF1: i64 = 37011; -pub const MUJOCO_GLOBAL_BITCODED: i64 = 38001; +pub const INTPARAM_PROGRAM_VERSION: i64 = 1; -pub const MUJOCO_JOINT_SOLIMPFRICTION5: i64 = 40015; +pub const OBJSTRINGPARAM_DNA: i64 = 33; -pub const CALLBACKID_USERDEFINED: i64 = 1000; +pub const BOOLPARAM_USE_GLFINISH_CMD: i64 = 26; -pub const MODELPROPERTY_NOT_VISIBLE: i64 = 256; +pub const HANDLEFLAG_RESETFORCETORQUE: i64 = 12582912; -pub const COLORCOMPONENT_TRANSPARENCY: i64 = 4; +pub const SYSCB_AFTERINSTANCESWITCH: i64 = 12; -pub const OBJECTPROPERTY_COLLAPSED: i64 = 16; +pub const MUJOCO_JOINT_POLYCOEF2: i64 = 40024; -pub const VORTEX_JOINT_P0FRICTIONCOEFF: i64 = 21015; +pub const ARRAYPARAM_RAYDIRECTION: i64 = 8; -pub const BANNER_CLICKSELECTSPARENT: i64 = 32; +pub const JOINTFLOATPARAM_MAXVEL: i64 = 2036; -pub const STRINGPARAM_MODELDEFAULTDIR: i64 = 133; +pub const BOOLPARAM_DISTANCE_HANDLING_ENABLED: i64 = 3; -pub const APPOBJ_DISTANCE_TYPE: i64 = 111; +pub const STRINGPARAM_APP_ARG7: i64 = 8; -pub const FILTERCOMPONENT_FROMBUFFER2: i64 = 8; +pub const VORTEX_BODY_SECLINEARAXISSLIP: i64 = 24024; -pub const VERBOSITY_SCRIPTINFOS: i64 = 450; +pub const INTPARAM_NOTIFYDEPRECATED: i64 = 51; -pub const PARTICLE_RESPONDABLE1TO4: i64 = 32; +pub const VERBOSITY_INFOS: i64 = 500; -pub const SHAPEINTPARAM_COMPOUND: i64 = 3016; +pub const SCRIPTTHREADRESUME_ACTUATION_FIRST: i64 = 1; -pub const SHAPESTRINGPARAM_COLORNAME: i64 = 3032; +pub const PARTICLE_SPHERES: i64 = 4; -pub const MODELPROPERTY_NOT_SHOWASINSIDEMODEL: i64 = 1024; +pub const SYSCB_AOS_RUN: i64 = 15; -pub const SCRIPTTYPE_CHILDSCRIPT: i64 = 1; +pub const OBJECT_DUMMY_TYPE: i64 = 4; -pub const STRINGPARAM_DEFAULTPYTHON: i64 = 134; +pub const APPOBJ_SIMULATION_TYPE: i64 = 112; -pub const SHAPEFLOATPARAM_TEXTURE_Z: i64 = 3008; +pub const BOOLPARAM_HEADLESS: i64 = 34; -pub const MAINSCRIPTCALL_CLEANUP: i64 = 1; +pub const BOOLPARAM_SCENE_AND_MODEL_LOAD_MESSAGES: i64 = 13; -pub const ODE_GLOBAL_COMPUTEINERTIAS: i64 = 11003; +pub const SCRIPTINTPARAM_TYPE: i64 = 10102; -pub const MUJOCO_GLOBAL_MULTICCD: i64 = 39003; +pub const SIMULATION_STOPPED: i64 = 0; -pub const MUJOCO_GLOBAL_WIND1: i64 = 37003; +pub const BUTTONPROPERTY_LABEL: i64 = 1; -pub const SHAPEFLOATPARAM_INIT_VELOCITY_A: i64 = 3020; +pub const JOINTDYNCTRL_VELOCITY: i64 = 4; -pub const OBJINTPARAM_UNIQUE_ID: i64 = 37; +pub const ODE_BODY_SOFTCFM: i64 = 15003; -pub const JOINTFLOATPARAM_SCREW_PITCH: i64 = 2034; +pub const DUMMYINTPARAM_DUMMYTYPE: i64 = 10000; -pub const BOOLPARAM_FULL_MODEL_COPY_FROM_API: i64 = 24; +pub const OBJINTPARAM_CHILD_ROLE: i64 = 29; -pub const VORTEX_BODY_SECLINAXISSAMEASPRIMLINAXIS: i64 = 26006; +pub const PHYSICS_ODE: i64 = 1; -pub const BOOLPARAM_FORCE_SHOW_WIRELESS_RECEPTION: i64 = 28; +pub const BOOLPARAM_BROWSER_TOOLBARBUTTON_ENABLED: i64 = 36; -pub const VORTEX_JOINT_LOWERLIMITRESTITUTION: i64 = 21005; +pub const VORTEX_JOINT_MOTORCONSTRAINTFRICTIONCOEFF: i64 = 21009; -pub const OBJFLOATPARAM_ABS_ROT_VELOCITY: i64 = 14; +pub const VORTEX_GLOBAL_CONSTRAINTLINEARKINETICLOSS: i64 = 18006; -pub const BUFFER_UINT32: i64 = 4; +pub const BULLET_GLOBAL_BITCODED: i64 = 1002; -pub const SHAPEFLOATPARAM_TEXTURE_A: i64 = 3009; +pub const SCRIPTINTPARAM_LANG: i64 = 10106; -pub const SHAPEINTPARAM_CONVEX: i64 = 3017; +pub const FILTERCOMPONENT_SCALEANDOFFSETCOLORS: i64 = 27; -pub const BOOLPARAM_EXECUNSAFEEXT: i64 = 59; +pub const OBJECTPROPERTY_SELECTINVISIBLE: i64 = 2048; -pub const MODELPROPERTY_SCRIPTS_INACTIVE: i64 = 512; +pub const BUTTONPROPERTY_HORIZONTALLYCENTERED: i64 = 64; -pub const MUJOCO_DUMMY_SOLIMPLIMIT1: i64 = 46005; +pub const NEWTON_GLOBAL_HIGHJOINTACCURACY: i64 = 29003; -pub const HANDLE_SELF: i64 = -4; +pub const MUJOCO_GLOBAL_KININERTIA: i64 = 37019; -pub const SCRIPTDEBUG_SYSCALLS: i64 = 1; +pub const CAMERAINTPARAM_POV_FOCAL_BLUR: i64 = 9004; -pub const VORTEX_BODY_RANDOMSHAPESASTERRAIN: i64 = 26003; +pub const MUJOCO_JOINT_SPRINGDAMPER1: i64 = 40019; -pub const INTPARAM_HIERARCHYCHANGECOUNTER: i64 = 50; +pub const SCRIPT_MAIN_NOT_CALLED: i64 = 2; -pub const JOINTDYNCTRL_CALLBACK: i64 = 16; +pub const VERBOSITY_ONCE: i64 = 131072; -pub const FORCEFLOATPARAM_ERROR_Y: i64 = 5001; +pub const VISIONFLOATPARAM_FAR_CLIPPING: i64 = 1001; -pub const MSGBOX_BUTTONS_YESNOCANCEL: i64 = 2; +pub const BANNER_OVERLAY: i64 = 8; -pub const MUJOCO_DUMMY_SOLIMPLIMIT5: i64 = 46009; +pub const FLOATPARAM_MOUSE_WHEEL_ZOOM_FACTOR: i64 = 4; -pub const MUJOCO_JOINT_SOLREFLIMIT2: i64 = 40002; +pub const DISPLAYATTRIBUTE_NOPOINTCLOUDS: i64 = 16777216; -pub const INTPARAM_MOTIONPLANNING_SEED: i64 = 35; +pub const SCRIPTATTRIBUTE_ENABLED: i64 = 4; -pub const JOINTFLOATPARAM_VELOCITY: i64 = 2012; +pub const BUFFER_INT16: i64 = 3; -pub const OBJECTSPECIALPROPERTY_DETECTABLE: i64 = 496; +pub const OBJECT_CAMERA_TYPE: i64 = 3; -pub const MODULEINFO_EXTVERSIONINT: i64 = 2; +pub const MUJOCO_BODY_FRICTION2: i64 = 43002; -pub const MODELPROPERTY_NOT_RENDERABLE: i64 = 4; +pub const VORTEX_BODY_RANDOMSHAPESASTERRAIN: i64 = 26003; -pub const ODE_JOINT_NORMALCFM: i64 = 12005; +pub const STRINGPARAM_APP_ARG1: i64 = 2; -pub const MUJOCO_JOINT_SOLIMPFRICTION4: i64 = 40014; +pub const PATHPROPERTY_SHOW_ORIENTATION: i64 = 2; -pub const MUJOCO_DUMMY_SOLIMPLIMIT4: i64 = 46008; +pub const SYSCB_BEFORECOPY: i64 = 13; -pub const DRAWING_TRIANGLEPTS: i64 = 9; +pub const OBJFLOATPARAM_MODELBBOX_MAX_Z: i64 = 26; -pub const BOOLPARAM_RENDERING_SENSOR_HANDLING_ENABLED: i64 = 10; +pub const JOINTFLOATPARAM_VORTEX_DEP_MULTIPLICATION: i64 = 2032; -pub const SYSCB_AFTERCREATE: i64 = 26; +pub const HANDLEFLAG_WXYZQUAT: i64 = 16777216; -pub const JOINTFLOATPARAM_KC_C: i64 = 2019; +pub const MUJOCO_JOINT_SOLIMPFRICTION3: i64 = 40013; -pub const SHAPEFLOATPARAM_INIT_VELOCITY_Y: i64 = 3001; +pub const VERBOSITY_MSGS: i64 = 450; -pub const VERBOSITY_TRACE: i64 = 700; +pub const INTPARAM_PROGRAM_FULL_VERSION: i64 = 39; -pub const DRAWING_12PERCENTTRANSPARENCY: i64 = 32768; +pub const VORTEX_JOINT_A0STIFFNESS: i64 = 21031; -pub const BUTTONPROPERTY_CLOSEACTION: i64 = 4096; +pub const JOINTFLOATPARAM_ERROR_B: i64 = 2026; -pub const VORTEX_GLOBAL_CONSTRAINTLINEARKINETICLOSS: i64 = 18006; +pub const OBJINTPARAM_VISIBLE: i64 = 36; -pub const CAMERAFARRAYPARAM_VIEWFRUSTUM: i64 = 9013; +pub const STREAM_TRANSF_RAW: i64 = 0; -pub const BUTTONPROPERTY_LABEL: i64 = 1; +pub const STREAM_TRANSF_INTEGRAL: i64 = 2; -pub const BOOLPARAM_OBJPROPERTIES_TOOLBARBUTTON_ENABLED: i64 = 46; +pub const FILTERCOMPONENT_TOOUTPUT: i64 = 4; -pub const MUJOCO_JOINT_ARMATURE: i64 = 40021; +pub const STRINGPARAM_MACHINE_ID: i64 = 119; -pub const BOOLPARAM_FOG_ENABLED: i64 = 19; +pub const BOOLPARAM_GCS_HANDLING_ENABLED: i64 = 5; -pub const OBJECT_PATH_TYPE: i64 = 8; +pub const JOINTDYNCTRL_SPRING: i64 = 12; -pub const DRAWING_FACINGCAMERA: i64 = 131072; +pub const DUMMYTYPE_DYNLOOPCLOSURE: i64 = 0; -pub const PHYSICS_MUJOCO: i64 = 4; +pub const MODELPROPERTY_NOT_DETECTABLE: i64 = 8; -pub const JOINTINTPARAM_VORTEX_DEP_HANDLE: i64 = 2031; +pub const VORTEX_JOINT_P0FRICTIONMAXFORCE: i64 = 21016; -pub const IK_JACOBIAN_TRANSPOSE_METHOD: i64 = 2; +pub const FILTERCOMPONENT_EDGE: i64 = 21; -pub const PHYSICS_ODE: i64 = 1; +pub const BUFFER_UINT8: i64 = 0; -pub const MODELPROPERTY_NOT_RESET: i64 = 128; +pub const MUJOCO_DUMMY_MARGIN: i64 = 46010; -pub const INTPARAM_EDIT_MODE_TYPE: i64 = 14; +pub const SCRIPTDEBUG_ALLCALLS: i64 = 3; -pub const VORTEX_JOINT_P0LOSS: i64 = 21012; +pub const DISPLAYATTRIBUTE_FORCEWIREFRAME: i64 = 64; -pub const SYSCB_CUSTOMCALLBACK3: i64 = 22; +pub const NEWTON_GLOBAL_CONSTRAINTSOLVINGITERATIONS: i64 = 28001; -pub const NEWTON_BODY_RESTITUTION: i64 = 33003; +pub const SYSCB_MODULEENTRY: i64 = 33; -pub const BULLET_CONSTRAINTSOLVERTYPE_NNCG: i64 = 1; +pub const JOINTDYNCTRL_FREE: i64 = 0; -pub const NAVIGATION_CREATEPATHPOINT: i64 = 256; +pub const VISIONINTPARAM_ENTITY_TO_RENDER: i64 = 1008; -pub const MUJOCO_BODY_SOLIMP3: i64 = 43008; +pub const SCRIPTTHREADRESUME_SENSING_FIRST: i64 = 3; -pub const VERBOSITY_DEFAULT: i64 = 400; +pub const VORTEX_BODY_PRIMLINEARAXISSLIDE: i64 = 24018; -pub const JOINTDYNCTRL_VELOCITY: i64 = 4; +pub const DRAWING_CUBEPTS: i64 = 12; -pub const VORTEX_JOINT_P1LOSS: i64 = 21018; +pub const DISPLAYATTRIBUTE_COLORCODEDTRIANGLES: i64 = 134217728; -pub const MUJOCO_JOINT_DEPENDENTOBJECTID: i64 = 41002; +pub const VORTEX_BODY_SECLINEARAXISFRICTION: i64 = 24002; -pub const STRINGPARAM_APP_ARG9: i64 = 10; +pub const SCRIPTINTPARAM_AUTORESTARTONERROR: i64 = 10107; -pub const MUJOCO_GLOBAL_COMPUTEINERTIAS: i64 = 39001; +pub const CUSTOMIZATIONSCRIPTATTRIBUTE_ACTIVEDURINGSIMULATION: i64 = 0; -pub const INTPARAM_PROGRAM_FULL_VERSION: i64 = 39; +pub const MUJOCO_JOINT_SOLIMPFRICTION4: i64 = 40014; -pub const MUJOCO_DUMMY_PROXYJOINTID: i64 = 47002; +pub const JOINTFLOATPARAM_INTRINSIC_Y: i64 = 2006; -pub const PATHPROPERTY_FLAT_PATH: i64 = 64; +pub const FILTERCOMPONENT_CORRELATIONWITHBUFFER1: i64 = 32; -pub const SCRIPTATTRIBUTE_SCRIPTTYPE: i64 = 7; +pub const DYNMAT_RESTSTACKGRASP: i64 = 2310017; -pub const NAVIGATION_CAMERASHIFT: i64 = 1; +pub const FILTERCOMPONENT_BLOBEXTRACTION: i64 = 34; -pub const BOOLPARAM_PAUSE_TOOLBARBUTTON_ENABLED: i64 = 43; +pub const BOOLPARAM_SHOW_W_EMITTERS: i64 = 53; -pub const ODE_JOINT_FUDGEFACTOR: i64 = 12004; +pub const STRINGPARAM_VIDEO_FILENAME: i64 = 1; -pub const STRINGPARAM_APP_ARG6: i64 = 7; +pub const HANDLE_APP: i64 = -13; -pub const MUJOCO_GLOBAL_CONE: i64 = 38007; +pub const NAVIGATION_SHIFTSELECTION: i64 = 2048; -pub const JOINTINTPARAM_CTRL_ENABLED: i64 = 2001; +pub const FILTERCOMPONENT_PIXELCHANGE: i64 = 36; -pub const IK_DAMPED_LEAST_SQUARES_METHOD: i64 = 1; +pub const VORTEX_BODY_SECMANGULARARAXISFRICTIONMODEL: i64 = 25004; + +pub const VISIONFARRAYPARAM_VIEWFRUSTUM: i64 = 1019; + +pub const VERBOSITY_DEFAULT: i64 = 400; + +pub const MESSAGE_OBJECT_SELECTION_CHANGED: i64 = 2; + +pub const PROXIMITYSENSOR_DISC_SUBTYPE: i64 = 32; pub const INTPARAM_MOUSE_Y: i64 = 23; -pub const MUJOCO_BODY_SOLREF1: i64 = 43004; +pub const DISPLAYATTRIBUTE_COLORCODED: i64 = 8192; -pub const BULLET_BODY_RESTITUTION: i64 = 6001; +pub const OBJFLOATPARAM_OBJBBOX_MIN_Y: i64 = 16; -pub const DRAWING_OVERLAY: i64 = 262144; +pub const SYSCB_JOINT: i64 = 42; -pub const HANDLEFLAG_EXTENDED: i64 = 4194304; +pub const PLUGININFO_VERBOSITY: i64 = 3; -pub const VORTEX_BODY_SECLINEARAXISSTATICFRICTIONSCALE: i64 = 24007; +pub const VERBOSITY_UNDECORATED: i64 = 61440; -pub const VORTEX_JOINT_A0STIFFNESS: i64 = 21031; +pub const CUSTOMIZATIONSCRIPTCALL_SIMULATIONACTUATION: i64 = 6; -pub const SYSCB_TRIGGER: i64 = 31; +pub const BOOLPARAM_VISION_SENSOR_HANDLING_ENABLED: i64 = 10; -pub const BULLET_BODY_BITCODED: i64 = 7001; +pub const IKRESULT_SUCCESS: i64 = 1; -pub const DISPLAYATTRIBUTE_USEAUXCOMPONENT: i64 = 524288; +pub const VERBOSITY_USEGLOBAL: i64 = -1; -pub const SCRIPTATTRIBUTE_DEBUGLEVEL: i64 = 6; +pub const DRAWING_50PERCENTTRANSPARENCY: i64 = 8192; -pub const SHAPEFLOATPARAM_TEXTURE_G: i64 = 3011; +pub const NEWTON_BODY_KINETICFRICTION: i64 = 33002; -pub const VORTEX_GLOBAL_CONSTRAINTANGULARKINETICLOSS: i64 = 18009; +pub const BOOLPARAM_IK_HANDLING_ENABLED: i64 = 4; -pub const VORTEX_BODY_PRIMLINEARAXISFRICTION: i64 = 24001; +pub const RUCKIG_MINACCEL: i64 = 512; -pub const SHAPEINTPARAM_RESPONDABLE_MASK: i64 = 3019; +pub const DUMMY_LINKTYPE_IK_TIP_TARGET: i64 = 5; -pub const BOOLPARAM_USE_GLFINISH_CMD: i64 = 26; +pub const STRINGPARAM_APP_ARG9: i64 = 10; -pub const MESSAGE_PROX_SENSOR_SELECT_UP: i64 = 10; +pub const VORTEX_BODY_PRIMLINEARAXISFRICTIONMODEL: i64 = 25001; -pub const STRINGPARAM_MACHINE_ID: i64 = 119; +pub const OBJECT_POINTCLOUD_TYPE: i64 = 16; -pub const OBJINTPARAM_PARENT_ROLE: i64 = 30; +pub const VORTEX_JOINT_P1FRICTIONMAXFORCE: i64 = 21022; -pub const ODE_GLOBAL_QUICKSTEP: i64 = 11002; +pub const STRINGPARAM_DATADIR: i64 = 129; -pub const NEWTON_GLOBAL_MULTITHREADING: i64 = 29001; +pub const MSGBOX_TYPE_CRITICAL: i64 = 3; -pub const MUJOCO_JOINT_SOLIMPLIMIT5: i64 = 40007; +pub const FILTERCOMPONENT_SUBTRACTBUFFER1: i64 = 11; -pub const MILL_PYRAMID_SUBTYPE: i64 = 40; +pub const SCRIPT_NO_ERROR: i64 = 0; -pub const STRINGPARAM_PYTHONDIR: i64 = 137; +pub const SIMULATION_ADVANCING_LASTBEFOREPAUSE: i64 = 19; -pub const MUJOCO_GLOBAL_BALANCEINERTIAS: i64 = 39004; +pub const VISIONFLOATPARAM_POV_APERTURE: i64 = 1015; -pub const ODE_BODY_SOFTCFM: i64 = 15003; +pub const INTPARAM_SERVER_PORT_RANGE: i64 = 10; -pub const STRINGPARAM_ADDONDIR: i64 = 143; +pub const GRAPHINTPARAM_NEEDS_REFRESH: i64 = 10500; -pub const BOOLPARAM_FULLSCREEN: i64 = 33; +pub const VORTEX_JOINT_A2LOSS: i64 = 21042; -pub const FLOATPARAM_STEREO_DISTANCE: i64 = 2; +pub const ADDONSCRIPTCALL_RUN: i64 = 15; -pub const HANDLEFLAG_KEEPORIGINAL: i64 = 4194304; +pub const SHAPESTRINGPARAM_COLOR_NAME: i64 = 3023; -pub const SHAPEINTPARAM_STATIC: i64 = 3003; +pub const VORTEX_JOINT_A2STIFFNESS: i64 = 21043; -pub const CHILDSCRIPTATTRIBUTE_AUTOMATICCASCADINGCALLS: i64 = 3; +pub const CUSTOMIZATIONSCRIPTCALL_SIMULATIONPAUSELAST: i64 = 10; -pub const FILTERCOMPONENT_SHARPEN: i64 = 20; +pub const SHAPEFLOATPARAM_INIT_VELOCITY_Z: i64 = 3002; -pub const DYNMAT_WHEEL: i64 = 2310019; +pub const OBJECTPROPERTY_IGNOREVIEWFITTING: i64 = 1; -pub const OBJINTPARAM_VISIBLE: i64 = 36; +pub const API_ERROR_OUTPUT: i64 = 2; -pub const VORTEX_BODY_LINEARVELOCITYDAMPING: i64 = 24016; +pub const BOOLPARAM_REALTIME_SIMULATION: i64 = 25; -pub const BUTTONPROPERTY_IGNOREMOUSE: i64 = 128; +pub const DRAWING_FACINGCAMERA: i64 = 131072; -pub const PRIMITIVESHAPE_CUBOID: i64 = 3; +pub const PARTICLE_POINTS4: i64 = 2; -pub const SHAPEFLOATPARAM_MASS: i64 = 3005; +pub const SYSCB_CONTACTCALLBACK: i64 = 19; -pub const BULLET_GLOBAL_CONSTRAINTSOLVERTYPE: i64 = 1003; +pub const CAMERAFLOATPARAM_POV_BLUR_DISTANCE: i64 = 9005; -pub const JOINTFLOATPARAM_ERROR_G: i64 = 2027; +pub const NAVIGATION_CAMERAROTATERIGHTBUTTON: i64 = 8192; -pub const DUMMY_LINKTYPE_IK_TIP_TARGET: i64 = 5; +pub const MUJOCO_BODY_FRICTION3: i64 = 43003; -pub const MUJOCO_DUMMY_BITCODED: i64 = 47001; +pub const PARTICLE_INVISIBLE: i64 = 512; -pub const INTPARAM_SERVER_PORT_NEXT: i64 = 15; +pub const PRIMITIVESHAPE_CONE: i64 = 6; -pub const VERBOSITY_ONLYTERMINAL: i64 = 65536; +pub const CHILDSCRIPTCALL_INITIALIZATION: i64 = 2; -pub const DRAWING_TRIANGLEPOINTS: i64 = 3; +pub const NEWTON_JOINT_POSPID3: i64 = 30005; -pub const SIMULATION_ADVANCING: i64 = 16; +pub const BOOLPARAM_EXECUNSAFEEXT: i64 = 59; -pub const DISPLAYATTRIBUTE_COLORCODEDTRIANGLES: i64 = 134217728; +pub const INTPARAM_DLGVERBOSITY: i64 = 42; -pub const STRINGPARAM_SCENE_PATH: i64 = 14; +pub const DISTCALCMETHOD_DL_IF_NONZERO: i64 = 5; -pub const BOOLPARAM_CONSOLE_VISIBLE: i64 = 1; +pub const MUJOCO_JOINT_SOLIMPLIMIT4: i64 = 40006; -pub const VORTEX_BODY_SECANGULARAXISSLIDE: i64 = 24021; +pub const STRINGPARAM_SYSTEMDIR: i64 = 140; -pub const APPOBJ_UI_TYPE: i64 = 116; +pub const INTPARAM_MOTIONPLANNING_SEED: i64 = 35; -pub const DUMMYFLOATPARAM_SIZE: i64 = 10003; +pub const SCRIPTDEBUG_NONE: i64 = 0; -pub const DYNMAT_NOFRICTION: i64 = 2310016; +pub const ADDONSCRIPTCALL_INITIALIZATION: i64 = 2; -pub const CUSTOMIZATIONSCRIPTCALL_FIRSTAFTERSIMULATION: i64 = 5; +pub const VORTEX_JOINT_POSPID3: i64 = 21054; -pub const SYSCB_MODULEENTRY: i64 = 33; +pub const OBJECTPROPERTY_CANUPDATEDNA: i64 = 1024; -pub const JOINTFLOATPARAM_STEP_SIZE: i64 = 2035; +pub const INTPARAM_PLATFORM: i64 = 19; -pub const DYNMAT_FLOOR: i64 = 2310021; +pub const MODULEINFO_BUILDDATESTR: i64 = 1; -pub const BOOLPARAM_SHOW_W_EMITTERS: i64 = 53; +pub const MUJOCO_JOINT_SOLREFFRICTION2: i64 = 40010; -pub const INTPARAM_SERVER_PORT_RANGE: i64 = 10; +pub const MSGBOX_BUTTONS_OK: i64 = 0; -pub const NEWTON_BODY_FASTMOVING: i64 = 35001; +pub const INTPARAM_QT_VERSION: i64 = 16; -pub const SYSCB_INIT: i64 = 2; +pub const CALLBACKID_USERDEFINED: i64 = 1000; -pub const FILTERCOMPONENT_ROTATE: i64 = 15; +pub const MESSAGE_BANNERCLICKED: i64 = 7; -pub const SHAPEFLOATPARAM_SHADING_ANGLE: i64 = 3025; +pub const SYSCB_CUSTOMCALLBACK4: i64 = 23; -pub const CUSTOMIZATIONSCRIPTCALL_AFTERCOPY: i64 = 14; +pub const VORTEX_JOINT_P0STIFFNESS: i64 = 21013; -pub const LIGHTFLOATPARAM_LIN_ATTENUATION: i64 = 8004; +pub const MUJOCO_JOINT_SOLIMPFRICTION2: i64 = 40012; -pub const DISPLAYATTRIBUTE_RENDERPASS: i64 = 1; +pub const INTPARAM_DYNAMIC_ITERATION_COUNT: i64 = 37; -pub const OBJFLOATPARAM_OBJBBOX_MAX_X: i64 = 18; +pub const FORCEFLOATPARAM_ERROR_Z: i64 = 5002; -pub const OBJECT_PROXIMITYSENSOR_TYPE: i64 = 5; +pub const SYSCB_THREAD: i64 = 43; -pub const CUSTOMIZATIONSCRIPTCALL_SIMULATIONPAUSEFIRST: i64 = 9; +pub const VORTEX_BODY_NORMALANGULARAXISFRICTIONMODEL: i64 = 25005; -pub const STRINGPARAM_DATADIR: i64 = 129; +pub const SYSCB_BEFORESIMULATION: i64 = 4; -pub const HANDLEFLAG_RELJOINTBASEFRAME: i64 = 4194304; +pub const VORTEX_JOINT_LOWERLIMITMAXFORCE: i64 = 21007; -pub const SCRIPTINTPARAM_TYPE: i64 = 2; +pub const DISPLAYATTRIBUTE_SELECTED: i64 = 8; -pub const SYSCB_BEFORECOPY: i64 = 13; +pub const VORTEX_BODY_AUTOSLEEPLINEARACCELTHRESHOLD: i64 = 24029; -pub const BUTTONPROPERTY_STAYDOWN: i64 = 8; +pub const FLOATPARAM_SIMULATION_TIME_STEP: i64 = 1; -pub const IMGCOMB_HORIZONTAL: i64 = 1; +pub const INTPARAM_WORK_THREAD_CALC_TIME_MS: i64 = 25; -pub const STRINGPARAM_VERBOSITY: i64 = 121; +pub const ODE_JOINT_STOPERP: i64 = 12001; -pub const PURE_PRIMITIVE_CONE: i64 = 6; +pub const OBJFLOATPARAM_OBJBBOX_MAX_X: i64 = 18; -pub const INTPARAM_SPEEDMODIFIER: i64 = 36; +pub const MSGBOX_RETURN_OK: i64 = 3; -pub const DYNMAT_FOOT: i64 = 2310018; +pub const BOOLPARAM_PLAY_TOOLBARBUTTON_ENABLED: i64 = 42; + +pub const SCRIPTTYPE_SANDBOX: i64 = 8; pub const VORTEX_BODY_AUTOANGULARDAMPING: i64 = 26009; -pub const DISTCALCMETHOD_DL_IF_NONZERO: i64 = 5; +pub const BANNER_FULLYFACINGCAMERA: i64 = 256; -pub const DRAWING_SPHEREPTS: i64 = 7; +pub const MUJOCO_GLOBAL_NJMAX: i64 = 38005; -pub const OBJECTPROPERTY_HIERARCHYHIDDENMODELCHILD: i64 = 32768; +pub const DRAWING_DISCPTS: i64 = 11; -pub const INTPARAM_PROX_SENSOR_SELECT_UP: i64 = 28; +pub const VORTEX_JOINT_P2STIFFNESS: i64 = 21025; -pub const BOOLPARAM_COLLISION_HANDLING_ENABLED: i64 = 2; +pub const BUFFER_UINT8RGB: i64 = 8; -pub const STRINGPARAM_STATUSBARVERBOSITY: i64 = 122; +pub const MUJOCO_GLOBAL_WIND1: i64 = 37003; -pub const STRINGPARAM_SYSTEMDIR: i64 = 140; +pub const API_ERROR_REPORT: i64 = 1; -pub const FILTERCOMPONENT_TOBUFFER2: i64 = 6; +pub const CAMERAFLOATPARAM_POV_APERTURE: i64 = 9006; -pub const BANNER_LEFT: i64 = 1; +pub const BUTTONPROPERTY_TRANSPARENT: i64 = 512; -pub const VORTEX_GLOBAL_CONSTRAINTLINEARDAMPING: i64 = 18005; +pub const SIM_LANG_PYTHON: i64 = 1; -pub const SCRIPTDEBUG_VARS_INTERVAL: i64 = 2; +pub const SYSCB_DYNCALLBACK: i64 = 28; -pub const VORTEX_BODY_NORMANGAXISSAMEASPRIMANGAXIS: i64 = 26008; +pub const MUJOCO_GLOBAL_BALANCEINERTIAS: i64 = 39004; -pub const RML_KEEP_CURRENT_VEL_IF_FALLBACK_STRATEGY: i64 = 0; +pub const DRAWING_LOCAL: i64 = 8388608; -pub const BOOLPARAM_AUX_CLIP_PLANES_ENABLED: i64 = 23; +pub const SCRIPTDEBUG_SYSCALLS: i64 = 1; -pub const VISIONINTPARAM_WINDOWED_POS_X: i64 = 1011; +pub const DRAWING_BACKFACECULLING: i64 = 256; -pub const MUJOCO_GLOBAL_OVERRIDESOLIMP3: i64 = 37015; +pub const MUJOCO_BODY_SOLIMP3: i64 = 43008; -pub const SHAPEINTPARAM_RESPONDABLE: i64 = 3004; +pub const VORTEX_BODY_ADHESIVEFORCE: i64 = 24015; -pub const INTPARAM_SETTINGS: i64 = 13; +pub const INTPARAM_WORK_THREAD_COUNT: i64 = 21; -pub const BOOLPARAM_DISTANCE_HANDLING_ENABLED: i64 = 3; +pub const VORTEX_JOINT_P2DAMPING: i64 = 21026; -pub const MUJOCO_JOINT_SPRINGDAMPER2: i64 = 40020; +pub const MUJOCO_JOINT_SOLREFFRICTION1: i64 = 40009; -pub const OBJECTSPECIALPROPERTY_PATHPLANNING_IGNORED: i64 = 2048; +pub const BULLET_BODY_AUTOSHRINKCONVEX: i64 = 8004; -pub const SCRIPTTYPE_MAINSCRIPT: i64 = 0; +pub const BOOLPARAM_PAUSE_TOOLBARBUTTON_ENABLED: i64 = 43; -pub const BANNER_BITMAPFONT: i64 = 2048; +pub const OBJECTPROPERTY_DEPTHINVISIBLE: i64 = 4096; -pub const HANDLEFLAG_ASSEMBLY: i64 = 4194304; +pub const BOOLPARAM_RML4_AVAILABLE: i64 = 21; -pub const ODE_GLOBAL_CFM: i64 = 9003; +pub const DISPLAYATTRIBUTE_ORIGINALCOLORS: i64 = 512; -pub const RML_KEEP_TARGET_VEL: i64 = 0; +pub const BOOLPARAM_FULL_MODEL_COPY_FROM_API: i64 = 24; -pub const MAINSCRIPTCALL_REGULAR: i64 = 6; +pub const MUJOCO_JOINT_STIFFNESS: i64 = 40016; -pub const SYSCB_THREAD: i64 = 43; +pub const SHAPEINTPARAM_RESPONDABLESUSPENDCNT: i64 = 3031; -pub const BUTTONPROPERTY_EDITBOX: i64 = 3; +pub const VORTEX_BODY_CONVEXSHAPESASRANDOM: i64 = 26002; -pub const OBJECTSPECIALPROPERTY_DETECTABLE_CAPACITIVE: i64 = 256; +pub const FILTERCOMPONENT_SWAPBUFFERS: i64 = 9; -pub const JOINTDYNCTRL_SPRING: i64 = 12; +pub const PURE_PRIMITIVE_CONE: i64 = 6; -pub const OBJFLOATPARAM_OBJBBOX_MIN_Z: i64 = 17; +pub const MUJOCO_DUMMY_RANGE1: i64 = 46001; -pub const CUSTOMIZATIONSCRIPTCALL_BEFORECOPY: i64 = 13; +pub const BOOLPARAM_CONSOLE_VISIBLE: i64 = 1; -pub const STRINGPARAM_SANDBOXLANG: i64 = 144; +pub const PARTICLE_ROUGHSPHERES: i64 = 3; -pub const MILL_DISC_SUBTYPE: i64 = 42; +pub const PARTICLE_POINTS2: i64 = 1; -pub const VORTEX_GLOBAL_COMPUTEINERTIAS: i64 = 20005; +pub const OBJECT_SCRIPT_TYPE: i64 = 17; -pub const SHAPEINTPARAM_COMPONENT_CNT: i64 = 3028; +pub const IMGCOMB_HORIZONTAL: i64 = 1; -pub const BULLET_GLOBAL_FULLINTERNALSCALING: i64 = 2001; +pub const NEWTON_JOINT_OBJECTID: i64 = 31001; -pub const NAVIGATION_CAMERAROTATERIGHTBUTTON: i64 = 8192; +pub const VERBOSITY_NONE: i64 = 100; -pub const VORTEX_JOINT_DEPENDENTOBJECTID: i64 = 22006; +pub const PATHPROPERTY_AUTOMATIC_ORIENTATION: i64 = 8; -pub const INTPARAM_QT_VERSION: i64 = 16; +pub const VORTEX_JOINT_A0FRICTIONMAXFORCE: i64 = 21034; -pub const SYSCB_ACTUATION: i64 = 6; +pub const STRINGPARAM_SCENE_UNIQUE_ID: i64 = 118; -pub const FILTERCOMPONENT_SUBTRACTFROMBUFFER1: i64 = 31; +pub const SCRIPTEXECORDER_NORMAL: i64 = 1; -pub const VORTEX_JOINT_P0FRICTIONLOSS: i64 = 21017; +pub const MUJOCO_BODY_SOLIMP4: i64 = 43009; -pub const SYSCB_RESUME: i64 = 10; +pub const APPOBJ_TEXTURE_TYPE: i64 = 120; -pub const FILTERCOMPONENT_TODEPTHOUTPUT: i64 = 38; +pub const MUJOCO_DUMMY_SOLIMPLIMIT4: i64 = 46008; -pub const DISTCALCMETHOD_DL_AND_DAC: i64 = 3; +pub const OBJECTPROPERTY_COLLAPSED: i64 = 16; -pub const BULLET_BODY_ANGULARDAMPING: i64 = 6005; +pub const TEXTUREMAP_CUBE: i64 = 3; -pub const FILTERCOMPONENT_BLOBEXTRACTION: i64 = 34; +pub const VISIONINTPARAM_POV_BLUR_SAMPLED: i64 = 1016; -pub const BOOLPARAM_SCENE_CLOSING: i64 = 52; +pub const OBJECT_SHAPE_TYPE: i64 = 0; -pub const DISPLAYATTRIBUTE_MAINSELECTION: i64 = 32; +pub const BOOLPARAM_STOP_TOOLBARBUTTON_ENABLED: i64 = 44; -pub const VORTEX_BODY_MATERIALUNIQUEID: i64 = 25008; +pub const BOOLPARAM_FORCE_CALCSTRUCT_ALL: i64 = 40; -pub const BUFFER_BASE64: i64 = 12; +pub const COLORCOMPONENT_AUXILIARY: i64 = 5; -pub const ARRAYPARAM_FOG_COLOR: i64 = 2; +pub const MUJOCO_GLOBAL_NCONMAX: i64 = 38006; -pub const BULLET_BODY_OLDFRICTION: i64 = 6002; +pub const SYSCB_DATA: i64 = 45; -pub const VORTEX_JOINT_A0DAMPING: i64 = 21032; +pub const OBJFLOATPARAM_MODELBBOX_MIN_Z: i64 = 23; -pub const BUTTONPROPERTY_HORIZONTALLYCENTERED: i64 = 64; +pub const DRAWING_FOLLOWPARENTVISIBILITY: i64 = 2048; -pub const MUJOCO_JOINT_SOLIMPFRICTION1: i64 = 40011; +pub const DRAWING_ITEMCOLORS: i64 = 32; -pub const SIMULATION_ADVANCING_LASTBEFORESTOP: i64 = 22; +pub const DRAWING_CYCLIC: i64 = 4096; -pub const CAMERAINTPARAM_RENDERING_ATTRIBUTES: i64 = 9003; +pub const SIM_LANG_UNDEFINED: i64 = -1; -pub const OBJINTPARAM_CHILD_ROLE: i64 = 29; +pub const PARTICLE_CYCLIC: i64 = 8192; -pub const NEWTON_BODY_BITCODED: i64 = 34001; +pub const HANDLEFLAG_EXTENDED: i64 = 4194304; -pub const SCRIPTINTPARAM_HANDLE: i64 = 3; +pub const SCRIPT_LUA_ERROR: i64 = 8; -pub const MESSAGE_PROX_SENSOR_SELECT_DOWN: i64 = 9; +pub const MILL_CONE_SUBTYPE: i64 = 43; -pub const OBJFLOATPARAM_MODELBBOX_MIN_X: i64 = 21; +pub const JOINTINTPARAM_MOTOR_ENABLED: i64 = 2000; -pub const STREAM_TRANSF_CUMULATIVE: i64 = 3; +pub const MESSAGE_SCENE_LOADED: i64 = 8; -pub const VORTEX_BODY_COMPLIANCE: i64 = 24011; +pub const MODELPROPERTY_NOT_MODEL: i64 = 61440; -pub const STREAM_TRANSF_INTEGRAL: i64 = 2; +pub const STRINGPARAM_TEMPDIR: i64 = 127; -pub const MODULEINFO_BUILDDATESTR: i64 = 1; +pub const CUSTOMIZATIONSCRIPTCALL_NONSIMULATION: i64 = 3; -pub const BUTTONPROPERTY_TRANSPARENT: i64 = 512; +pub const SIMULATION_PAUSED: i64 = 8; + +pub const BOOLPARAM_SCENE_CLOSING: i64 = 52; + +pub const FILTERCOMPONENT_ORIGINALIMAGE: i64 = 1; + +pub const MUJOCO_BODY_SOLMIX: i64 = 43011; + +pub const HANDLE_ALL: i64 = -2; + +pub const BOOLPARAM_ROSINTERFACE_DONOTRUNMAINSCRIPT: i64 = 48; + +pub const MUJOCO_JOINT_POSPID3: i64 = 40030; + +pub const VORTEX_BODY_SECANGULARAXISFRICTION: i64 = 24004; + +pub const MUJOCO_GLOBAL_BITCODED: i64 = 38001; + +pub const VORTEX_JOINT_P0LOSS: i64 = 21012; + +pub const OBJECTPROPERTY_CANNOTDELETEDURINGSIM: i64 = 16384; + +pub const VORTEX_GLOBAL_CONTACTTOLERANCE: i64 = 18003; + +pub const VORTEX_BODY_SECANGULARAXISSLIP: i64 = 24026; + +pub const BUFFER_DOUBLE: i64 = 7; + +pub const MUJOCO_JOINT_SOLIMPFRICTION5: i64 = 40015; + +pub const VORTEX_BODY_AUTOSLEEPLINEARSPEEDTHRESHOLD: i64 = 24028; + +pub const VORTEX_JOINT_P1FRICTIONCOEFF: i64 = 21021; + +pub const ADDONSCRIPTCALL_SUSPEND: i64 = 16; + +pub const CHILDSCRIPTATTRIBUTE_ENABLED: i64 = 4; + +pub const SCRIPTDEBUG_VARS_INTERVAL: i64 = 2; -pub const SHAPE_MULTISHAPE_SUBTYPE: i64 = 21; +pub const INTPARAM_SETTINGS: i64 = 13; -pub const INTPARAM_INFOTEXT_STYLE: i64 = 12; +pub const IK_PSEUDO_INVERSE_METHOD: i64 = 0; -pub const BOOLPARAM_HIERARCHY_VISIBLE: i64 = 0; +pub const DUMMYINTPARAM_FOLLOW_PATH: i64 = 10001; -pub const SCRIPTATTRIBUTE_EXECUTIONORDER: i64 = 1; +pub const FILTERCOMPONENT_BINARY: i64 = 28; -pub const BOOLPARAM_REALTIME_SIMULATION: i64 = 25; +pub const IK_DAMPED_LEAST_SQUARES_METHOD: i64 = 1; -pub const FILTERCOMPONENT_SWAPBUFFERS: i64 = 9; +pub const VORTEX_JOINT_DEPENDENTOBJECTID: i64 = 22006; -pub const VORTEX_BODYFRICTIONMODEL_NONE: i64 = 6; +pub const INTPARAM_HIERARCHYCHANGECOUNTER: i64 = 50; -pub const SYSCB_AOS_RESUME: i64 = 17; +pub const SYSCB_CONTACT: i64 = 41; -pub const DISPLAYATTRIBUTE_FORVISIONSENSOR: i64 = 2048; +pub const MUJOCO_BODY_SOLIMP1: i64 = 43006; -pub const MUJOCO_DUMMY_DAMPING: i64 = 46013; +pub const NAVIGATION_CLICKSELECTION: i64 = 512; -pub const BOOLPARAM_EXECUNSAFE: i64 = 58; +pub const NEWTON_GLOBAL_BITCODED: i64 = 28002; -pub const SYSCB_CONTACTCALLBACK: i64 = 19; +pub const VERBOSITY_TRACE: i64 = 700; -pub const CALLBACKID_ROSSUBSCRIBER: i64 = 1; +pub const VORTEX_BODY_PRIMAXISVECTORZ: i64 = 24036; -pub const MUJOCO_JOINT_POLYCOEF2: i64 = 40024; +pub const MSGBOX_RETURN_NO: i64 = 1; -pub const INTPARAM_ERROR_REPORT_MODE: i64 = 0; +pub const FILTERCOMPONENT_SHARPEN: i64 = 20; -pub const FORCEFLOATPARAM_ERROR_B: i64 = 5004; +pub const STRINGPARAM_RESOURCESDIR: i64 = 141; -pub const NEWTON_GLOBAL_STEPSIZE: i64 = 27001; +pub const NEWTON_BODY_RESTITUTION: i64 = 33003; -pub const MSGBOX_RETURN_OK: i64 = 3; +pub const OBJECT_MIRROR_TYPE: i64 = 14; -pub const INTPARAM_PROGRAM_VERSION: i64 = 1; +pub const ARRAYPARAM_RAYORIGIN: i64 = 7; -pub const NAVIGATION_CAMERATILT: i64 = 4; +pub const VOLUME_RAY: i64 = 4; -pub const BOOLPARAM_PROXIMITY_SENSOR_HANDLING_ENABLED: i64 = 9; +pub const INTPARAM_OBJECTCREATIONCOUNTER: i64 = 48; -pub const VISIONINTPARAM_POV_FOCAL_BLUR: i64 = 1013; +pub const VORTEX_BODY_RESTITUTIONTHRESHOLD: i64 = 24014; -pub const IMGCOMB_VERTICAL: i64 = 0; +pub const HANDLEFLAG_CODEDSTRING: i64 = 4194304; -pub const MUJOCO_GLOBAL_OVERRIDESOLREF1: i64 = 37011; +pub const SYSCB_USERCONFIG: i64 = 32; -pub const VORTEX_JOINT_MOTORCONSTRAINTFRICTIONCOEFF: i64 = 21009; +pub const INTPARAM_IDLE_FPS: i64 = 26; -pub const DLGSTYLE_DONT_CENTER: i64 = 32; +pub const HANDLEFLAG_ALTNAME: i64 = 4194304; -pub const BULLET_CONSTRAINTSOLVERTYPE_DANTZIG: i64 = 2; +pub const JOINTFLOATPARAM_ERROR_Z: i64 = 2024; -pub const MUJOCO_GLOBAL_WIND2: i64 = 37004; +pub const VORTEX_BODY_SECANGULARAXISSTATICFRICTIONSCALE: i64 = 24009; -pub const RML_ONLY_TIME_SYNC: i64 = 1; +pub const NAVIGATION_CREATEPATHPOINT: i64 = 256; -pub const INTPARAM_IDLE_FPS: i64 = 26; +pub const VISIONINTPARAM_RGBIGNORED: i64 = 1020; -pub const INTPARAM_PROX_SENSOR_SELECT_DOWN: i64 = 27; +pub const SCRIPTINTPARAM_OBJECTHANDLE: i64 = 10105; -pub const INTPARAM_MOUSE_BUTTONS: i64 = 31; +pub const STRINGPARAM_APP_ARG8: i64 = 9; -pub const BUTTONPROPERTY_SLIDER: i64 = 2; +pub const STRINGPARAM_SCENE_PATH: i64 = 14; -pub const FLOATPARAM_MOUSE_WHEEL_ZOOM_FACTOR: i64 = 4; +pub const ADDONSCRIPTCALL_RESTARTING: i64 = 17; -pub const PHYSICS_VORTEX: i64 = 2; +pub const FILTERCOMPONENT_SWAPWITHBUFFER1: i64 = 29; -pub const SYSCB_CONTACT: i64 = 41; +pub const FLOATPARAM_DYNAMIC_STEP_SIZE: i64 = 3; -pub const SYSCB_BEFOREINSTANCESWITCH: i64 = 11; +pub const VORTEX_JOINT_A1DAMPING: i64 = 21038; -pub const FILTERCOMPONENT_COLORSEGMENTATION: i64 = 33; +pub const VORTEX_JOINT_P1FRICTIONLOSS: i64 = 21023; -pub const INTPARAM_OBJECTCREATIONCOUNTER: i64 = 48; +pub const MUJOCO_DUMMY_SOLREFLIMIT2: i64 = 46004; -pub const SIM_LANG_LUA: i64 = 0; +pub const SYSCB_VISION: i64 = 30; -pub const ADDONSCRIPTCALL_RESTARTING: i64 = 17; +pub const BULLET_BODY_NONDEFAULTCOLLISIONMARGINGFACTORCONVEX: i64 = 6007; -pub const BOOLPARAM_OBJECTSHIFT_TOOLBARBUTTON_ENABLED: i64 = 37; +pub const FILTERCOMPONENT_TOBUFFER2: i64 = 6; -pub const STRINGPARAM_APP_ARG1: i64 = 2; +pub const CUSTOMIZATIONSCRIPTCALL_SIMULATIONSENSING: i64 = 7; -pub const SCRIPTSTRINGPARAM_TEXT: i64 = 2; +pub const BULLET_BODY_LINEARDAMPING: i64 = 6004; -pub const VORTEX_JOINT_A1DAMPING: i64 = 21038; +pub const MUJOCO_JOINT_SOLIMPLIMIT3: i64 = 40005; -pub const STRINGPARAM_SCENE_PATH_AND_NAME: i64 = 13; +pub const VERBOSITY_TRACEALL: i64 = 900; -pub const OBJECTPROPERTY_DONTSHOWASINSIDEMODEL: i64 = 256; +pub const MUJOCO_JOINT_POLYCOEF1: i64 = 40023; -pub const SCRIPTTYPE_THREADED: i64 = 240; +pub const VORTEX_JOINT_A1FRICTIONCOEFF: i64 = 21039; -pub const MUJOCO_BODY_SOLIMP5: i64 = 43010; +pub const DISPLAYATTRIBUTE_MIRROR: i64 = 262144; -pub const STRINGPARAM_RESOURCESDIR: i64 = 141; +pub const OBJECT_PROXIMITYSENSOR_TYPE: i64 = 5; -pub const VORTEX_JOINT_P2DAMPING: i64 = 21026; +pub const MESSAGE_UI_BUTTON_STATE_CHANGE: i64 = 0; -pub const OBJECTSPECIALPROPERTY_MEASURABLE: i64 = 2; +pub const INTPARAM_EXITCODE: i64 = 44; -pub const SCRIPTEXECORDER_FIRST: i64 = 0; +pub const JOINTFLOATPARAM_SPHERICAL_QZ: i64 = 2015; -pub const CHILDSCRIPTCALL_CLEANUP: i64 = 1; +pub const STRINGPARAM_APP_ARG5: i64 = 6; -pub const VERBOSITY_UNDECORATED: i64 = 61440; +pub const STRINGPARAM_USERSETTINGSDIR: i64 = 139; -pub const OBJINTPARAM_MANIPULATION_PERMISSIONS: i64 = 31; +pub const FILTERCOMPONENT_ORIGINALDEPTH: i64 = 2; -pub const VORTEX_JOINT_MOTORCONSTRAINTFRICTIONMAXFORCE: i64 = 21010; +pub const JOINTFLOATPARAM_SCREWLEAD: i64 = 2042; -pub const MUJOCO_BODY_CONDIM: i64 = 44001; +pub const INTPARAM_ERROR_REPORT_MODE: i64 = 0; -pub const DUMMYFLOATPARAM_FOLLOW_PATH_OFFSET: i64 = 10002; +pub const SCRIPTTYPE_THREADED: i64 = 240; -pub const VISIONFLOATPARAM_NEAR_CLIPPING: i64 = 1000; +pub const CAMERAFLOATPARAM_PERSPECTIVE_ANGLE: i64 = 9001; -pub const MSGBOX_BUTTONS_OK: i64 = 0; +pub const STRINGPARAM_ADDONDIR: i64 = 143; -pub const VORTEX_GLOBAL_AUTOSLEEP: i64 = 20001; +pub const MUJOCO_DUMMY_BITCODED: i64 = 47001; -pub const OBJECT_POINTCLOUD_TYPE: i64 = 16; +pub const VORTEX_BODYFRICTIONMODEL_BOX: i64 = 0; -pub const SCRIPT_CALL_ERROR: i64 = 16; +pub const JOINT_REVOLUTE_SUBTYPE: i64 = 10; -pub const VORTEX_GLOBAL_CONSTRAINTANGULARDAMPING: i64 = 18008; +pub const VERBOSITY_WARNINGS: i64 = 300; -pub const MESSAGE_MODEL_LOADED: i64 = 4; +pub const SYSCB_DYN: i64 = 40; -pub const DISPLAYATTRIBUTE_IGNORERENDERABLEFLAG: i64 = 1048576; +pub const HANDLE_ALL_EXCEPT_EXPLICIT: i64 = -3; -pub const BUFFER_UINT8ARGB: i64 = 11; +pub const VORTEX_JOINT_LOWERLIMITRESTITUTION: i64 = 21005; -pub const SYSCB_BEFOREMAINSCRIPT: i64 = 29; +pub const VERBOSITY_SCRIPTERRORS: i64 = 420; -pub const DISPLAYATTRIBUTE_NOPOINTCLOUDS: i64 = 16777216; +pub const VORTEX_JOINT_UPPERLIMITSTIFFNESS: i64 = 21004; -pub const MUJOCO_JOINT_SOLREFFRICTION2: i64 = 40010; +pub const STRINGPARAM_DLGVERBOSITY: i64 = 123; -pub const APPOBJ_COLLISION_TYPE: i64 = 110; +pub const BOOLPARAM_INFOTEXT_VISIBLE: i64 = 17; -pub const DRAWING_PERSISTENT: i64 = 1048576; +pub const PLUGININFO_EXTVERSIONSTR: i64 = 0; -pub const NEWTON_GLOBAL_COMPUTEINERTIAS: i64 = 29004; +pub const SCRIPTTYPE_CUSTOMIZATION: i64 = 6; -pub const OBJECTSPECIALPROPERTY_DETECTABLE_INFRARED: i64 = 32; +pub const COLORCOMPONENT_AMBIENT_DIFFUSE: i64 = 0; -pub const DRAWING_TRIANGLES: i64 = 2; +pub const FILEDLG_TYPE_LOAD: i64 = 0; pub const VORTEX_GLOBAL_CONSTRAINTLINEARCOMPLIANCE: i64 = 18004; -pub const BULLET_BODY_FRICTION: i64 = 6003; +pub const JOINTINTPARAM_DYNVELCTRLTYPE: i64 = 2040; -pub const MUJOCO_JOINT_SOLIMPLIMIT3: i64 = 40005; +pub const STRINGPARAM_REMOTEAPI_TEMP_FILE_DIR: i64 = 16; -pub const NAVIGATION_CAMERAROTATE: i64 = 2; +pub const MUJOCO_JOINT_SPRINGDAMPER2: i64 = 40020; -pub const FILTERCOMPONENT_TOBUFFER1: i64 = 5; +pub const DRAWING_EMISSIONCOLOR: i64 = 65536; -pub const FILTERCOMPONENT_RESIZE: i64 = 17; +pub const INTPARAM_OBJECTDESTRUCTIONCOUNTER: i64 = 49; -pub const BANNER_CLICKTRIGGERSEVENT: i64 = 64; +pub const VORTEX_BODY_MATERIALUNIQUEID: i64 = 25008; -pub const TEXTUREMAP_CYLINDER: i64 = 1; +pub const OCTREEFLOATPARAM_VOXELSIZE: i64 = 13000; -pub const MUJOCO_JOINT_POLYCOEF5: i64 = 40027; +pub const MUJOCO_BODY_PRIORITY: i64 = 44002; -pub const CUSTOMIZATIONSCRIPTATTRIBUTE_ACTIVEDURINGSIMULATION: i64 = 0; +pub const LIGHTFLOATPARAM_SPOT_EXPONENT: i64 = 8001; -pub const PHYSICS_BULLET: i64 = 0; +pub const DISPLAYATTRIBUTE_NOGHOSTS: i64 = 8388608; -pub const SIMULATION_ADVANCING_FIRSTAFTERSTOP: i64 = 16; +pub const DUMMYTYPE_DYNTENDON: i64 = 7; -pub const BOOLPARAM_EXIT_REQUEST: i64 = 41; +pub const HANDLEFLAG_AXIS: i64 = 4194304; -pub const NAVIGATION_CAMERAZOOMWHEEL: i64 = 4096; +pub const BUTTONPROPERTY_ISDOWN: i64 = 256; -pub const DLGRET_CANCEL: i64 = 2; +pub const MUJOCO_JOINT_FRICTIONLOSS: i64 = 40008; -pub const NEWTON_BODY_STATICFRICTION: i64 = 33001; +pub const FLOATPARAM_MAXTRISIZEABS: i64 = 6; pub const NAVIGATION_OBJECTSHIFT: i64 = 7; -pub const JOINTFLOATPARAM_ERROR_B: i64 = 2026; +pub const NAVIGATION_OBJECTROTATE: i64 = 8; -pub const CAMERAFLOATPARAM_FAR_CLIPPING: i64 = 9009; +pub const VORTEX_BODY_NORMANGAXISSAMEASPRIMANGAXIS: i64 = 26008; -pub const OBJFLOATPARAM_SIZE_FACTOR: i64 = 34; +pub const INTPARAM_MOUSECLICKCOUNTERUP: i64 = 47; -pub const BUTTONPROPERTY_ROLLUPACTION: i64 = 2048; +pub const INTPARAM_DYNAMIC_ENGINE: i64 = 8; -pub const PARTICLE_INVISIBLE: i64 = 512; +pub const FORCEFLOATPARAM_ERROR_G: i64 = 5005; -pub const CUSTOMIZATIONSCRIPTCALL_FIRSTAFTERINSTANCESWITCH: i64 = 12; +pub const BULLET_BODY_ANGULARDAMPING: i64 = 6005; -pub const DISPLAYATTRIBUTE_FORCEWIREFRAME: i64 = 64; +pub const NEWTON_GLOBAL_STEPSIZE: i64 = 27001; -pub const CUSTOMIZATIONSCRIPTCALL_SIMULATIONPAUSELAST: i64 = 10; +pub const SCRIPTINTPARAM_ENABLED: i64 = 10104; -pub const FILEDLG_TYPE_LOAD_MULTIPLE: i64 = 2; +pub const PRIMITIVESHAPE_HEIGHTFIELD: i64 = 7; -pub const DISPLAYATTRIBUTE_PICKPASS: i64 = 4; +pub const VORTEX_BODY_PRIMLINEARAXISFRICTION: i64 = 24001; -pub const JOINTFLOATPARAM_INTRINSIC_QX: i64 = 2008; +pub const OBJFLOATPARAM_MODELBBOX_MAX_X: i64 = 24; -pub const VORTEX_JOINT_DEPENDENCYFACTOR: i64 = 21048; +pub const JOINTFLOATPARAM_INTRINSIC_X: i64 = 2005; -pub const INTPARAM_VERBOSITY: i64 = 40; +pub const SCRIPTTHREADRESUME_SENSING_LAST: i64 = 4; -pub const API_WARNING_OUTPUT: i64 = 4; +pub const APPOBJ_SCRIPT_TYPE: i64 = 117; -pub const VORTEX_JOINT_A2FRICTIONCOEFF: i64 = 21045; +pub const RML_KEEP_CURRENT_VEL_IF_FALLBACK_STRATEGY: i64 = 0; -pub const DRAWING_ITEMCOLORS: i64 = 32; +pub const OBJECT_PATH_TYPE: i64 = 8; -pub const SIMULATION_STOPPED: i64 = 0; +pub const JOINTMODE_DEPENDENT: i64 = 4; -pub const FILTERCOMPONENT_3X3FILTER: i64 = 18; +pub const SIMULATION_ADVANCING_RUNNING: i64 = 17; -pub const ODE_BODY_FRICTION: i64 = 15001; +pub const ODE_GLOBAL_CFM: i64 = 9003; -pub const INTPARAM_MOUSECLICKCOUNTERDOWN: i64 = 46; +pub const HANDLEFLAG_RAWVALUE: i64 = 16777216; -pub const MUJOCO_GLOBAL_NCONMAX: i64 = 38006; +pub const PLUGININFO_EXTVERSIONINT: i64 = 2; -pub const CHILDSCRIPTCALL_SENSING: i64 = 7; +pub const ODE_BODY_FRICTION: i64 = 15001; -pub const HANDLE_WORLD: i64 = -1; +pub const CHILDSCRIPTCALL_SENSING: i64 = 7; -pub const OBJINTPARAM_COLLECTION_SELF_COLLISION_INDICATOR: i64 = 27; +pub const VORTEX_BODY_PRIMAXISVECTORY: i64 = 24035; -pub const OBJECT_VISIONSENSOR_TYPE: i64 = 9; +pub const BOOLPARAM_SHAPE_TEXTURES_ARE_VISIBLE: i64 = 15; -pub const BULLET_JOINT_POSPID3: i64 = 3008; +pub const JOINT_SPHERICAL_SUBTYPE: i64 = 12; -pub const HANDLE_CHAIN: i64 = -7; +pub const VORTEX_BODY_PRIMLINEARAXISSLIP: i64 = 24023; -pub const PARTICLE_ROUGHSPHERES: i64 = 3; +pub const PROXIMITYSENSOR_RAY_SUBTYPE: i64 = 34; -pub const DISPLAYATTRIBUTE_FORBIDWIREFRAME: i64 = 128; +pub const PARTICLE_ITEMDENSITIES: i64 = 2048; -pub const MESSAGE_UI_BUTTON_STATE_CHANGE: i64 = 0; +pub const MESSAGE_PICK_SELECT_DOWN: i64 = 11; -pub const SHAPEFLOATPARAM_INIT_VELOCITY_B: i64 = 3021; +pub const BULLET_GLOBAL_CONSTRAINTSOLVINGITERATIONS: i64 = 1001; -pub const BULLET_GLOBAL_COMPUTEINERTIAS: i64 = 2002; +pub const SHAPEFLOATPARAM_INIT_VELOCITY_Y: i64 = 3001; -pub const INTPARAM_CORE_COUNT: i64 = 24; +pub const BULLET_JOINT_STOPCFM: i64 = 3002; -pub const PRIMITIVESHAPE_SPHEROID: i64 = 4; +pub const STRINGPARAM_LUADIR: i64 = 136; -pub const NAVIGATION_CLICKSELECTION: i64 = 512; +pub const JOINTDYNCTRL_CALLBACK: i64 = 16; -pub const IK_UNDAMPED_PSEUDO_INVERSE_METHOD: i64 = 3; +pub const PHYSICS_BULLET: i64 = 0; -pub const PARTICLE_CYCLIC: i64 = 8192; +pub const VORTEX_BODY_DAMPING: i64 = 24012; -pub const SCRIPTTHREADRESUME_SENSING_LAST: i64 = 4; +pub const PHYSICS_VORTEX: i64 = 2; -pub const PARTICLE_PARTICLERESPONDABLE: i64 = 128; +pub const DLGRET_CANCEL: i64 = 2; -pub const HANDLEFLAG_ALTNAME: i64 = 4194304; +pub const DLGRET_YES: i64 = 3; -pub const ODE_GLOBAL_CONSTRAINTSOLVINGITERATIONS: i64 = 10001; +pub const MUJOCO_GLOBAL_COMPUTEINERTIAS: i64 = 39001; -pub const COLORCOMPONENT_EMISSION: i64 = 3; +pub const INTPARAM_DYNAMIC_WARNING_DISABLED_MASK: i64 = 32; -pub const CUSTOMIZATIONSCRIPTCALL_SIMULATIONSENSING: i64 = 7; +pub const PRIMITIVESHAPE_CUBOID: i64 = 3; -pub const PARTICLE_ITEMDENSITIES: i64 = 2048; +pub const SYSCB_SELCHANGE: i64 = 44; -pub const MILLINTPARAM_VOLUME_TYPE: i64 = 11000; +pub const DRAWING_ITEMSIZES: i64 = 128; -pub const DUMMYLINK_DYNLOOPCLOSURE: i64 = 0; +pub const COLORCOMPONENT_AMBIENT: i64 = 0; -pub const PATHPROPERTY_SHOW_POSITION: i64 = 128; +pub const COLORCOMPONENT_DIFFUSE: i64 = 1; -pub const RML_DISABLE_EXTREMUM_MOTION_STATES_CALC: i64 = 0; +pub const DUMMYTYPE_DEFAULT: i64 = 8; -pub const FORCEFLOATPARAM_ERROR_ANGLE: i64 = 5007; +pub const BUFFER_CLAMP: i64 = 256; -pub const VISIONINTPARAM_WINDOWED_SIZE_Y: i64 = 1010; +pub const PARTICLE_ITEMCOLORS: i64 = 4096; -pub const CAMERAFLOATPARAM_POV_APERTURE: i64 = 9006; +pub const VORTEX_JOINT_MOTORFRICTIONENABLED: i64 = 23001; -pub const MODELPROPERTY_NOT_DETECTABLE: i64 = 8; +pub const INTPARAM_PROX_SENSOR_SELECT_DOWN: i64 = 27; -pub const OBJECT_FORCESENSOR_TYPE: i64 = 12; +pub const VORTEX_JOINT_P1STIFFNESS: i64 = 21019; -pub const PURE_PRIMITIVE_PLANE: i64 = 1; +pub const MODULEINFO_STATUSBARVERBOSITY: i64 = 4; -pub const PRIMITIVESHAPE_CYLINDER: i64 = 5; +pub const MUJOCO_GLOBAL_OVERRIDECONTACTS: i64 = 39005; -pub const LIGHTFLOATPARAM_CONST_ATTENUATION: i64 = 8003; +pub const CAMERAINTPARAM_DISABLED_LIGHT_COMPONENTS: i64 = 9000; -pub const VORTEX_GLOBAL_MULTITHREADING: i64 = 20002; +pub const VORTEX_BODY_ANGULARVELOCITYDAMPING: i64 = 24017; -pub const HANDLEFLAG_TOGGLEVISIBILITY: i64 = 4194304; +pub const BOOLPARAM_VIDEO_RECORDING_TRIGGERED: i64 = 29; -pub const COLORCOMPONENT_AMBIENT: i64 = 0; +pub const FORCEFLOATPARAM_ERROR_ANGLE: i64 = 5007; -pub const HANDLEFLAG_SILENTERROR: i64 = 33554432; +pub const OBJECT_FORCESENSOR_TYPE: i64 = 12; -pub const ODE_JOINT_POSPID1: i64 = 12006; +pub const FORCEFLOATPARAM_ERROR_A: i64 = 5003; -pub const JOINTMODE_PASSIVE: i64 = 0; +pub const SYSCB_NONSIMULATION: i64 = 3; -pub const FILTERCOMPONENT_HORIZONTALFLIP: i64 = 13; +pub const SYSCB_AFTERCOPY: i64 = 14; -pub const BANNER_BACKFACECULLING: i64 = 512; +pub const BOOLPARAM_STATUSTEXT_OPEN: i64 = 18; -pub const HANDLEFLAG_RESETFORCE: i64 = 4194304; +pub const VOLUME_CONE: i64 = 3; -pub const IK_Y_CONSTRAINT: i64 = 2; +pub const SCRIPT_CALL_ERROR: i64 = 16; -pub const VORTEX_JOINT_A1STIFFNESS: i64 = 21037; +pub const OBJECTPROPERTY_SELECTMODELBASEINSTEAD: i64 = 128; -pub const FORCEFLOATPARAM_ERROR_Z: i64 = 5002; +pub const VISIONFLOATPARAM_ORTHO_SIZE: i64 = 1005; -pub const IK_X_CONSTRAINT: i64 = 1; +pub const OBJFLOATPARAM_ABS_Y_VELOCITY: i64 = 12; -pub const DISPLAYATTRIBUTE_THICK_EDGES: i64 = 65536; +pub const SHAPEFLOATPARAM_TEXTURE_Y: i64 = 3007; -pub const OBJFLOATPARAM_MODELBBOX_MIN_Y: i64 = 22; +pub const SYSCB_AFTERCREATE: i64 = 26; -pub const VOLUME_RAY: i64 = 4; +pub const SIMULATION_ADVANCING_LASTBEFORESTOP: i64 = 22; -pub const OBJFLOATPARAM_OBJBBOX_MAX_Y: i64 = 19; +pub const MUJOCO_GLOBAL_INTEGRATOR: i64 = 38003; -pub const VORTEX_BODYFRICTIONMODEL_BOX: i64 = 0; +pub const JOINTFLOATPARAM_ERROR_G: i64 = 2027; -pub const VORTEX_BODY_SECLINEARAXISSLIDE: i64 = 24019; +pub const DISTCALCMETHOD_DL: i64 = 0; -pub const MUJOCO_GLOBAL_OVERRIDESOLIMP4: i64 = 37016; +pub const VOLUME_CYLINDER: i64 = 1; -pub const SCRIPT_MAIN_NOT_CALLED: i64 = 2; +pub const SHAPEFLOATPARAM_INIT_VELOCITY_A: i64 = 3020; -pub const PARTICLE_WATER: i64 = 32768; +pub const ODE_JOINT_POSPID2: i64 = 12007; -pub const VORTEX_BODY_PRIMANGULARAXISSTATICFRICTIONSCALE: i64 = 24008; +pub const ARRAYPARAM_FOG_COLOR: i64 = 2; -pub const SHAPEINTPARAM_EDGE_BORDERS_HIDDEN: i64 = 3027; +pub const DISPLAYATTRIBUTE_IGNORERENDERABLEFLAG: i64 = 1048576; -pub const CUSTOMIZATIONSCRIPTATTRIBUTE_CLEANUPBEFORESAVE: i64 = 5; +pub const INTPARAM_SERVER_PORT_NEXT: i64 = 15; -pub const JOINTFLOATPARAM_IK_WEIGHT: i64 = 2021; +pub const LIGHT_DIRECTIONAL_SUBTYPE: i64 = 3; -pub const COLORCOMPONENT_AMBIENT_DIFFUSE: i64 = 0; +pub const FILTERCOMPONENT_VERTICALFLIP: i64 = 14; -pub const SHAPEINTPARAM_KINEMATIC: i64 = 3030; +pub const RML_NO_SYNC: i64 = 3; -pub const DRAWING_FOLLOWPARENTVISIBILITY: i64 = 2048; +pub const SHAPEFLOATPARAM_TEXTURE_Z: i64 = 3008; -pub const VORTEX_BODYFRICTIONMODEL_SCALEDBOXFAST: i64 = 4; +pub const DUMMY_LINKTYPE_GCS_TARGET: i64 = 4; -pub const FILTERCOMPONENT_CORRELATIONWITHBUFFER1: i64 = 32; +pub const MODELPROPERTY_SCRIPTS_INACTIVE: i64 = 512; -pub const MESSAGE_KEYPRESS: i64 = 6; +pub const DISPLAYATTRIBUTE_NOPARTICLES: i64 = 67108864; -pub const VORTEX_JOINT_P2LOSS: i64 = 21024; +pub const SHAPEFLOATPARAM_TEXTURE_B: i64 = 3010; -pub const SHAPEINTPARAM_RESPONDABLESUSPENDCNT: i64 = 3031; +pub const LIGHTFLOATPARAM_LIN_ATTENUATION: i64 = 8004; -pub const JOINTFLOATPARAM_SPHERICAL_QZ: i64 = 2015; +pub const OBJFLOATPARAM_OBJBBOX_MAX_Z: i64 = 20; -pub const SYSCB_AFTERCOPY: i64 = 14; +pub const SHAPEFLOATPARAM_TEXTURE_X: i64 = 3006; -pub const DISPLAYATTRIBUTE_DEPTHPASS: i64 = 2; +pub const HANDLE_CHAIN: i64 = -7; -pub const SYSCB_JOINTCALLBACK: i64 = 18; +pub const BOOLPARAM_DYNAMICS_HANDLING_ENABLED: i64 = 6; -pub const VISIONINTPARAM_DISABLED_LIGHT_COMPONENTS: i64 = 1006; +pub const JOINTFLOATPARAM_INTRINSIC_QZ: i64 = 2010; -pub const MUJOCO_JOINT_POSPID2: i64 = 40029; +pub const BULLET_CONSTRAINTSOLVERTYPE_DANTZIG: i64 = 2; -pub const SHAPEFLOATPARAM_INIT_VELOCITY_Z: i64 = 3002; +pub const SCRIPTSTRINGPARAM_LANG: i64 = 10112; -pub const SCRIPTDEBUG_ALLCALLS: i64 = 3; +pub const OBJFLOATPARAM_SIZE_FACTOR: i64 = 34; -pub const VERBOSITY_USEGLOBAL: i64 = -1; +pub const SYSCB_AOS_RESUME: i64 = 17; -pub const VORTEX_BODY_DAMPING: i64 = 24012; +pub const SYSCB_CUSTOMCALLBACK3: i64 = 22; -pub const PATHPROPERTY_SHOW_LINE: i64 = 1; +pub const SYSCB_INIT: i64 = 2; -pub const SYSCB_CLEANUP: i64 = 1; +pub const STRINGPARAM_IMPORTEXPORTDIR: i64 = 130; -pub const VORTEX_GLOBAL_CONSTRAINTANGULARCOMPLIANCE: i64 = 18007; +pub const PROXIMITYSENSOR_CONE_SUBTYPE: i64 = 33; -pub const MSGBOX_RETURN_CANCEL: i64 = 0; +pub const HANDLEFLAG_MODEL: i64 = 8388608; -pub const PURE_PRIMITIVE_NONE: i64 = 0; +pub const VISIONINTPARAM_PERSPECTIVE_OPERATION: i64 = 1018; -pub const RUCKIG_TIMESYNC: i64 = 1; +pub const MESSAGE_PROX_SENSOR_SELECT_UP: i64 = 10; -pub const JOINTINTPARAM_DYNVELCTRLTYPE: i64 = 2040; +pub const NEWTON_BODY_FASTMOVING: i64 = 35001; -pub const STRINGPARAM_APP_ARG4: i64 = 5; +pub const BUFFER_INT8: i64 = 1; -pub const LIGHTFLOATPARAM_SPOT_CUTOFF: i64 = 8002; +pub const STRINGPARAM_LEGACYMACHINETAG: i64 = 142; -pub const SCRIPTINTPARAM_EXECCOUNT: i64 = 1; +pub const JOINTFLOATPARAM_INTRINSIC_QY: i64 = 2009; -pub const ODE_GLOBAL_FULLINTERNALSCALING: i64 = 11001; +pub const MUJOCO_JOINT_POSPID2: i64 = 40029; -pub const JOINTFLOATPARAM_PID_I: i64 = 2003; +pub const OBJECT_JOINT_TYPE: i64 = 1; -pub const VORTEX_BODY_RESTITUTIONTHRESHOLD: i64 = 24014; +pub const INTPARAM_VIDEOENCODERINDEX: i64 = 43; -pub const OBJECTPROPERTY_DEPTHINVISIBLE: i64 = 4096; +pub const OBJINTPARAM_ILLUMINATION_HANDLE: i64 = 32; -pub const VERBOSITY_SCRIPTWARNINGS: i64 = 430; +pub const BULLET_BODY_USENONDEFAULTCOLLISIONMARGIN: i64 = 8002; -pub const STRINGPARAM_IMPORTEXPORTDIR: i64 = 130; +pub const PATHPROPERTY_SHOW_LINE: i64 = 1; -pub const MUJOCO_DUMMY_SOLREFLIMIT1: i64 = 46003; +pub const NAVIGATION_CTRLSELECTION: i64 = 1024; -pub const FILTERCOMPONENT_RECTANGULARCUT: i64 = 22; +pub const DRAWING_TRIANGLEPTS: i64 = 9; -pub const JOINTFLOATPARAM_VORTEX_DEP_OFFSET: i64 = 2033; +pub const SYSCB_AOS_SUSPEND: i64 = 16; -pub const BULLET_BODY_USENONDEFAULTCOLLISIONMARGINCONVEX: i64 = 8003; +pub const BOOLPARAM_WAITING_FOR_TRIGGER: i64 = 45; -pub const RUCKIG_PHASESYNC: i64 = 0; +pub const STRINGPARAM_APP_ARG2: i64 = 3; -pub const SHAPEFLOATPARAM_TEXTURE_SCALING_Y: i64 = 3013; +pub const PROXINTPARAM_RAY_INVISIBILITY: i64 = 4000; -pub const VORTEX_BODY_PRIMLINEARAXISSTATICFRICTIONSCALE: i64 = 24006; +pub const VISIONFLOATPARAM_POV_BLUR_DISTANCE: i64 = 1014; -pub const STRINGPARAM_MUJOCODIR: i64 = 138; +pub const SYSCB_TRIGGER: i64 = 31; -pub const OBJECTSPECIALPROPERTY_DETECTABLE_LASER: i64 = 64; +pub const JOINTDYNCTRL_POSITION: i64 = 8; -pub const INTPARAM_MOUSECLICKCOUNTERUP: i64 = 47; +pub const STRINGPARAM_TEMPSCENEDIR: i64 = 128; -pub const BUFFER_INT32: i64 = 5; +pub const MODELPROPERTY_NOT_SHOWASINSIDEMODEL: i64 = 1024; -pub const VERBOSITY_INFOS: i64 = 500; +pub const DUMMYFLOATPARAM_SIZE: i64 = 10003; -pub const VORTEX_BODY_CONVEXSHAPESASRANDOM: i64 = 26002; +pub const BOOLPARAM_FORCE_SHOW_WIRELESS_RECEPTION: i64 = 28; -pub const SCRIPTTYPE_CUSTOMIZATIONSCRIPT: i64 = 6; +pub const DISPLAYATTRIBUTE_NOOPENGLCALLBACKS: i64 = 2097152; -pub const OBJSTRINGPARAM_DNA: i64 = 33; +pub const MODELPROPERTY_NOT_MEASURABLE: i64 = 2; -pub const DRAWING_25PERCENTTRANSPARENCY: i64 = 16384; +pub const FILEDLG_TYPE_LOAD_MULTIPLE: i64 = 2; -pub const SCRIPT_LUA_ERROR: i64 = 8; +pub const SCRIPTTHREADRESUME_ACTUATION_LAST: i64 = 2; -pub const MUJOCO_BODY_SOLREF2: i64 = 43005; +pub const VORTEX_GLOBAL_CONSTRAINTLINEARDAMPING: i64 = 18005; -pub const MSGBOX_RETURN_ERROR: i64 = 4; +pub const DYNMAT_GRIPPER: i64 = 2310020; -pub const BOOLPARAM_PLAY_TOOLBARBUTTON_ENABLED: i64 = 42; +pub const CUSTOMIZATIONSCRIPTCALL_FIRSTAFTERSIMULATION: i64 = 5; -pub const ODE_BODY_MAXCONTACTS: i64 = 16001; +pub const VORTEX_BODY_PRIMLINEARAXISSTATICFRICTIONSCALE: i64 = 24006; -pub const ARRAYPARAM_FOG: i64 = 1; +pub const VORTEX_BODYFRICTIONMODEL_NEUTRAL: i64 = 5; pub const DISPLAYATTRIBUTE_DYNAMICCONTENTONLY: i64 = 131072; -pub const LIGHT_SPOT_SUBTYPE: i64 = 2; +pub const MUJOCO_JOINT_POLYCOEF5: i64 = 40027; -pub const MUJOCO_JOINT_SOLIMPFRICTION2: i64 = 40012; +pub const HANDLEFLAG_DEPTHBUFFERMETERS: i64 = 8388608; -pub const BOOLPARAM_CALCMODULES_TOOLBARBUTTON_ENABLED: i64 = 47; +pub const BOOLPARAM_OBJECTSHIFT_TOOLBARBUTTON_ENABLED: i64 = 37; -pub const MUJOCO_GLOBAL_NSTACK: i64 = 38009; +pub const JOINTFLOATPARAM_STEP_SIZE: i64 = 2035; -pub const DLGRET_OK: i64 = 1; +pub const DRAWING_PAINTTAG: i64 = 1024; -pub const DYNMAT_LOWFRICTION: i64 = 2310015; +pub const FILTERCOMPONENT_SHIFT: i64 = 16; -pub const STRINGPARAM_APP_ARG3: i64 = 4; +pub const FILEDLG_TYPE_SAVE: i64 = 1; + +pub const BULLET_JOINT_POSPID3: i64 = 3008; pub const JOINTFLOATPARAM_INTRINSIC_QW: i64 = 2011; -pub const JOINTFLOATPARAM_SPHERICAL_QW: i64 = 2016; +pub const SCRIPTTYPE_MAINSCRIPT: i64 = 0; -pub const NAVIGATION_SHIFTSELECTION: i64 = 2048; +pub const HANDLEFLAG_ASSEMBLY: i64 = 4194304; -pub const BUFFER_SPLIT: i64 = 13; +pub const PARTICLE_EMISSIONCOLOR: i64 = 16384; -pub const SYSCB_BEFOREDELETE: i64 = 24; +pub const CAMERAFLOATPARAM_NEAR_CLIPPING: i64 = 9008; -pub const VISIONINTPARAM_RENDER_MODE: i64 = 1017; +pub const BUFFER_UINT8RGBA: i64 = 10; -pub const MILL_CONE_SUBTYPE: i64 = 43; +pub const DISPLAYATTRIBUTE_NODRAWINGOBJECTS: i64 = 33554432; -pub const JOINTINTPARAM_VELOCITY_LOCK: i64 = 2030; +pub const DRAWING_AUXCHANNELCOLOR1: i64 = 2097152; -pub const VISIONINTPARAM_RENDERING_ATTRIBUTES: i64 = 1007; +pub const JOINTFLOATPARAM_SPHERICAL_QW: i64 = 2016; -pub const VISIONINTPARAM_WINDOWED_SIZE_X: i64 = 1009; +pub const NAVIGATION_CAMERASHIFT: i64 = 1; -pub const BUFFER_UINT8: i64 = 0; +pub const SYSCB_SUSPEND: i64 = 9; -pub const STRINGPARAM_APP_ARG5: i64 = 6; +pub const SHAPEFLOATPARAM_INIT_ANG_VELOCITY_X: i64 = 3020; -pub const OBJECT_MIRROR_TYPE: i64 = 14; +pub const VISIONINTPARAM_RESOLUTION_Y: i64 = 1003; -pub const SHAPE_SIMPLESHAPE_SUBTYPE: i64 = 20; +pub const JOINTINTPARAM_DYNCTRLMODE: i64 = 2039; -pub const STRINGPARAM_TEMPDIR: i64 = 127; +pub const SHAPEFLOATPARAM_INIT_VELOCITY_X: i64 = 3000; -pub const JOINTFLOATPARAM_ERROR_ANGLE: i64 = 2029; +pub const SHAPEINTPARAM_STATIC: i64 = 3003; -pub const PROXIMITYSENSOR_RAY_SUBTYPE: i64 = 34; +pub const MUJOCO_GLOBAL_MULTICCD: i64 = 39003; -pub const JOINTFLOATPARAM_SPHERICAL_QX: i64 = 2013; +pub const BUTTONPROPERTY_ENABLED: i64 = 16; -pub const HANDLE_PARENT: i64 = -11; +pub const BOOLPARAM_FORCE_CALCSTRUCT_ALL_VISIBLE: i64 = 39; -pub const VERBOSITY_QUESTIONS: i64 = 410; +pub const JOINTFLOATPARAM_ERROR_ANGLE: i64 = 2029; -pub const DISTCALCMETHOD_MAX_DL_DAC: i64 = 2; +pub const DISPLAYATTRIBUTE_TRIANGLEWIREFRAME: i64 = 16384; -pub const INTPARAM_EXITCODE: i64 = 44; +pub const FILTERCOMPONENT_RECTANGULARCUT: i64 = 22; -pub const SCRIPTTYPE_ADDONSCRIPT: i64 = 2; +pub const JOINTFLOATPARAM_KC_K: i64 = 2018; -pub const PURE_PRIMITIVE_CYLINDER: i64 = 5; +pub const JOINTFLOATPARAM_SCREW_PITCH: i64 = 2034; + +pub const SHAPEINTPARAM_CONVEX_CHECK: i64 = 3018; -pub const BOOLPARAM_FORCE_CALCSTRUCT_ALL: i64 = 40; +pub const COLORCOMPONENT_TRANSPARENCY: i64 = 4; -pub const VORTEX_JOINT_UPPERLIMITSTIFFNESS: i64 = 21004; +pub const DRAWING_VERTEXCOLORS: i64 = 64; -pub const SCRIPTSTRINGPARAM_DESCRIPTION: i64 = 0; +pub const PARTICLE_POINTS1: i64 = 0; -pub const JOINTFLOATPARAM_ERROR_POS: i64 = 2028; +pub const VORTEX_BODY_SECLINEARAXISSLIDE: i64 = 24019; -pub const VORTEX_JOINT_LOWERLIMITSTIFFNESS: i64 = 21003; +pub const VORTEX_JOINT_PROPORTIONALMOTORFRICTION: i64 = 23002; -pub const SYSCB_DYN: i64 = 40; +pub const SHAPEFLOATPARAM_INIT_ANG_VELOCITY_Z: i64 = 3022; -pub const OBJINTPARAM_VISIBILITY_LAYER: i64 = 10; +pub const FILTERCOMPONENT_NORMALIZE: i64 = 24; -pub const TEXTUREMAP_PLANE: i64 = 0; +pub const RUCKIG_NOSYNC: i64 = 3; -pub const IK_ALPHA_BETA_CONSTRAINT: i64 = 8; +pub const OBJECTSPECIALPROPERTY_PATHPLANNING_IGNORED: i64 = 2048; -pub const APPOBJ_OBJECT_TYPE: i64 = 109; +pub const APPOBJ_COLLECTION_TYPE: i64 = 115; -pub const SHAPEFLOATPARAM_TEXTURE_SCALING_X: i64 = 3012; +pub const SHAPEFLOATPARAM_INIT_VELOCITY_B: i64 = 3021; -pub const VORTEX_JOINT_A0FRICTIONLOSS: i64 = 21035; +pub const BOOLPARAM_PROXIMITY_SENSOR_HANDLING_ENABLED: i64 = 9; -pub const SCRIPTATTRIBUTE_EXECUTIONCOUNT: i64 = 2; +pub const PATHPROPERTY_KEEP_X_UP: i64 = 2048; -pub const NEWTON_JOINT_POSPID3: i64 = 30005; +pub const MUJOCO_GLOBAL_OVERRIDESOLIMP3: i64 = 37015; -pub const SCRIPTTHREADRESUME_ACTUATION_FIRST: i64 = 1; +pub const HANDLEFLAG_ABSCOORDS: i64 = 8388608; -pub const SCRIPTATTRIBUTE_SCRIPTHANDLE: i64 = 8; +pub const JOINTFLOATPARAM_ERROR_POS: i64 = 2028; -pub const PROXINTPARAM_RAY_INVISIBILITY: i64 = 4000; +pub const SCRIPTDEBUG_VARS: i64 = 4; -pub const PARTICLE_SPHERES: i64 = 4; +pub const DYNMAT_WHEEL: i64 = 2310019; -pub const VORTEX_BODY_SECLINEARAXISFRICTIONMODEL: i64 = 25002; +pub const DUMMY_LINKTYPE_GCS_LOOP_CLOSURE: i64 = 2; -pub const NAVIGATION_OBJECTROTATE: i64 = 8; +pub const INTPARAM_VISIBLE_LAYERS: i64 = 11; -pub const FILEDLG_TYPE_LOAD: i64 = 0; +pub const ODE_JOINT_STOPCFM: i64 = 12002; -pub const JOINTFLOATPARAM_MAXACCEL: i64 = 2037; +pub const FORCEFLOATPARAM_ERROR_X: i64 = 5000; -pub const MODELPROPERTY_NOT_DYNAMIC: i64 = 32; +pub const MUJOCO_GLOBAL_BOUNDINERTIA: i64 = 37009; -pub const PRIMITIVESHAPE_NONE: i64 = 0; +pub const BANNER_RIGHT: i64 = 2; -pub const SYSCB_AOS_RUN: i64 = 15; +pub const OBJECTPROPERTY_CANNOTDELETE: i64 = 8192; -pub const DRAWING_QUADPOINTS: i64 = 4; +pub const MESSAGE_MODEL_LOADED: i64 = 4; -pub const MESSAGE_BANNERCLICKED: i64 = 7; +pub const HANDLE_ALL_EXCEPT_SELF: i64 = -10; -pub const BULLET_GLOBAL_STEPSIZE: i64 = 1; +pub const DUMMY_LINKTYPE_DYNAMICS_LOOP_CLOSURE: i64 = 0; -pub const TEXTUREMAP_SPHERE: i64 = 2; +pub const OBJFLOATPARAM_OBJBBOX_MAX_Y: i64 = 19; -pub const BOOLPARAM_RML4_AVAILABLE: i64 = 21; +pub const CAMERAINTPARAM_RENDERING_ATTRIBUTES: i64 = 9003; -pub const RUCKIG_MINACCEL: i64 = 512; +pub const MUJOCO_JOINT_POLYCOEF4: i64 = 40026; -pub const VISIONINTPARAM_WINDOWED_POS_Y: i64 = 1012; +pub const VERBOSITY_SCRIPTWARNINGS: i64 = 430; -pub const SCRIPT_REENTRANCE_ERROR: i64 = 4; +pub const MUJOCO_GLOBAL_ITERATIONS: i64 = 38002; -pub const FILTERCOMPONENT_KEEPORREMOVECOLORS: i64 = 26; +pub const CHILDSCRIPTCALL_CLEANUP: i64 = 1; -pub const HANDLE_INVERSE: i64 = -14; +pub const FILTERCOMPONENT_INTENSITYSCALE: i64 = 25; -pub const MUJOCO_BODY_SOLIMP4: i64 = 43009; +pub const SCRIPTATTRIBUTE_DEBUGLEVEL: i64 = 6; -pub const VOLUME_RANDOMIZEDRAY: i64 = 5; +pub const MAINSCRIPTCALL_REGULAR: i64 = 6; -pub const VORTEX_BODY_FASTMOVING: i64 = 26004; +pub const BANNER_KEEPSAMESIZE: i64 = 1024; -pub const BUTTONPROPERTY_VERTICALLYCENTERED: i64 = 8192; +pub const SHAPEFLOATPARAM_TEXTURE_G: i64 = 3011; -pub const MUJOCO_JOINT_FRICTIONLOSS: i64 = 40008; +pub const PURE_PRIMITIVE_CUBOID: i64 = 3; -pub const BOOLPARAM_BROWSER_VISIBLE: i64 = 12; +pub const VERBOSITY_SCRIPTINFOS: i64 = 450; -pub const SCRIPTINTPARAM_EXECORDER: i64 = 0; +pub const STRINGPARAM_SCENEDEFAULTDIR: i64 = 132; -pub const OBJFLOATPARAM_OBJBBOX_MIN_Y: i64 = 16; +pub const MUJOCO_JOINT_SOLREFLIMIT2: i64 = 40002; -pub const OBJINTPARAM_HIERARCHYCOLOR: i64 = 38; +pub const FILTERCOMPONENT_ADDTOBUFFER1: i64 = 30; -pub const APPOBJ_SCRIPT_TYPE: i64 = 117; +pub const SHAPEFLOATPARAM_SHADING_ANGLE: i64 = 3025; -pub const APPOBJ_2DELEMENT_TYPE: i64 = 116; +pub const VISIONFLOATPARAM_NEAR_CLIPPING: i64 = 1000; -pub const INTPARAM_OBJECTDESTRUCTIONCOUNTER: i64 = 49; +pub const NEWTON_JOINT_POSPID1: i64 = 30003; -pub const STRINGPARAM_TEMPSCENEDIR: i64 = 128; +pub const SHAPEINTPARAM_RESPONDABLE_MASK: i64 = 3019; -pub const SIMULATION_ADVANCING_LASTBEFOREPAUSE: i64 = 19; +pub const VORTEX_JOINT_OBJECTID: i64 = 22005; -pub const FORCEFLOATPARAM_ERROR_X: i64 = 5000; +pub const BULLET_GLOBAL_FULLINTERNALSCALING: i64 = 2001; -pub const VORTEX_JOINT_P1FRICTIONMAXFORCE: i64 = 21022; +pub const DISPLAYATTRIBUTE_FORBIDEDGES: i64 = 256; -pub const VORTEX_JOINT_BITCODED: i64 = 22001; +pub const BANNER_CLICKTRIGGERSEVENT: i64 = 64; -pub const VORTEX_BODY_AUTOSLEEPANGULARACCELTHRESHOLD: i64 = 24031; +pub const VORTEX_GLOBAL_STEPSIZE: i64 = 18001; -pub const SCRIPTDEBUG_CALLSANDVARS: i64 = 5; +pub const VORTEX_BODY_SKINTHICKNESS: i64 = 24032; -pub const OBJECT_OCTREE_TYPE: i64 = 15; +pub const SHAPEFLOATPARAM_MASS: i64 = 3005; -pub const MUJOCO_JOINT_MARGIN: i64 = 40022; +pub const FILTERCOMPONENT_RESIZE: i64 = 17; -pub const MSGBOX_BUTTONS_OKCANCEL: i64 = 3; +pub const HANDLEFLAG_CAMERA: i64 = 4194304; -pub const MUJOCO_JOINT_STIFFNESS: i64 = 40016; +pub const SHAPEINTPARAM_COMPOUND: i64 = 3016; -pub const VORTEX_JOINT_A2FRICTIONMAXFORCE: i64 = 21046; +pub const ODE_GLOBAL_BITCODED: i64 = 10002; -pub const OBJFLOATPARAM_ABS_X_VELOCITY: i64 = 11; +pub const RML_RECOMPUTE_TRAJECTORY: i64 = 0; -pub const PROXINTPARAM_ENTITY_TO_DETECT: i64 = 4002; +pub const PRIMITIVESHAPE_DISC: i64 = 2; -pub const SCRIPT_MAIN_SCRIPT_NONEXISTENT: i64 = 1; +pub const MUJOCO_BODY_SOLREF1: i64 = 43004; -pub const STRINGPARAM_LOGFILTER: i64 = 124; +pub const PARTICLE_ITEMSIZES: i64 = 1024; -pub const VORTEX_JOINT_UPPERLIMITRESTITUTION: i64 = 21006; +pub const VORTEX_BODY_FASTMOVING: i64 = 26004; -pub const OBJECTPROPERTY_IGNOREVIEWFITTING: i64 = 1; +pub const PARTICLE_RESPONDABLE5TO8: i64 = 64; -pub const DLGRET_YES: i64 = 3; +pub const RUCKIG_MINVEL: i64 = 256; -pub const INTPARAM_WORK_THREAD_CALC_TIME_MS: i64 = 25; +pub const MUJOCO_BODY_CONDIM: i64 = 44001; -pub const PLUGININFO_VERBOSITY: i64 = 3; +pub const PRIMITIVESHAPE_NONE: i64 = 0; -pub const JOINTFLOATPARAM_ERROR_Z: i64 = 2024; +pub const SHAPEFLOATPARAM_TEXTURE_SCALING_X: i64 = 3012; -pub const SCRIPTTYPE_ADDONFUNCTION: i64 = 3; +pub const ODE_GLOBAL_CONSTRAINTSOLVINGITERATIONS: i64 = 10001; -pub const CAMERAFLOATPARAM_ORTHO_SIZE: i64 = 9002; +pub const HANDLE_DEFAULT: i64 = -9; -pub const CAMERAINTPARAM_POV_FOCAL_BLUR: i64 = 9004; +pub const JOINTINTPARAM_CTRL_ENABLED: i64 = 2001; -pub const LIGHTINTPARAM_POV_CASTS_SHADOWS: i64 = 8000; +pub const SYSCB_ACTUATION: i64 = 6; -pub const MUJOCO_DUMMY_SOLIMPLIMIT2: i64 = 46006; +pub const BULLET_BODY_FRICTION: i64 = 6003; -pub const DYNMAT_GRIPPER: i64 = 2310020; +pub const MODELPROPERTY_NOT_RENDERABLE: i64 = 4; -pub const HANDLEFLAG_GREYSCALE: i64 = 4194304; +pub const DRAWING_ITEMTRANSPARENCY: i64 = 524288; -pub const CAMERAINTPARAM_POV_BLUR_SAMPLES: i64 = 9007; +pub const VORTEX_GLOBAL_CONSTRAINTANGULARDAMPING: i64 = 18008; -pub const BANNER_FACINGCAMERA: i64 = 128; +pub const VORTEX_JOINT_MOTORCONSTRAINTFRICTIONMAXFORCE: i64 = 21010; -pub const SCRIPTDEBUG_NONE: i64 = 0; +pub const DRAWING_POINTS: i64 = 0; -pub const VORTEX_GLOBAL_STEPSIZE: i64 = 18001; +pub const LIGHTFLOATPARAM_SPOT_CUTOFF: i64 = 8002; -pub const SYSCB_SENSING: i64 = 7; +pub const STRINGPARAM_VERBOSITY: i64 = 121; -pub const MSGBOX_TYPE_INFO: i64 = 0; +pub const HANDLEFLAG_RESETFORCE: i64 = 4194304; -pub const MIRRORFLOATPARAM_REFLECTANCE: i64 = 12002; +pub const BOOLPARAM_SHOW_W_RECEIVERS: i64 = 54; -pub const BUTTONPROPERTY_DOWNUPEVENT: i64 = 16384; +pub const NEWTON_JOINT_DEPENDENCYOFFSET: i64 = 30002; -pub const MIRRORINTPARAM_ENABLE: i64 = 12003; +pub const MUJOCO_DUMMY_SOLIMPLIMIT3: i64 = 46007; -pub const BULLET_GLOBAL_INTERNALSCALINGFACTOR: i64 = 2; +pub const MUJOCO_JOINT_DEPENDENTOBJECTID: i64 = 41002; -pub const STRINGPARAM_SCENE_NAME: i64 = 15; +pub const VORTEX_GLOBAL_AUTOSLEEP: i64 = 20001; -pub const JOINTFLOATPARAM_MAXVEL: i64 = 2036; +pub const OBJINTPARAM_HIERARCHYCOLOR: i64 = 38; -pub const DRAWING_QUADPTS: i64 = 10; +pub const SCRIPTATTRIBUTE_SCRIPTHANDLE: i64 = 8; -pub const FILTERCOMPONENT_PIXELCHANGE: i64 = 36; +pub const STRINGPARAM_DEFAULTPYTHON: i64 = 134; -pub const BULLET_GLOBAL_COLLISIONMARGINFACTOR: i64 = 3; +pub const OBJSTRINGPARAM_UNIQUE_ID: i64 = 35; -pub const GRAPHINTPARAM_NEEDS_REFRESH: i64 = 10500; +pub const DISTCALCMETHOD_DAC_IF_NONZERO: i64 = 6; -pub const MUJOCO_DUMMY_SOLIMPLIMIT3: i64 = 46007; +pub const BULLET_BODY_USENONDEFAULTCOLLISIONMARGINCONVEX: i64 = 8003; -pub const BUTTONPROPERTY_ENABLED: i64 = 16; +pub const VORTEX_BODY_NORMALANGULARAXISSLIDE: i64 = 24022; -pub const VOLUME_CYLINDER: i64 = 1; +pub const ODE_GLOBAL_QUICKSTEP: i64 = 11002; -pub const PATHPROPERTY_SHOW_ORIENTATION: i64 = 2; +pub const FILTERCOMPONENT_CIRCULARCUT: i64 = 23; -pub const ADDONSCRIPTCALL_RUN: i64 = 15; +pub const VORTEX_GLOBAL_BITCODED: i64 = 19001; -pub const BOOLPARAM_INFOTEXT_VISIBLE: i64 = 17; +pub const MIRRORFLOATPARAM_REFLECTANCE: i64 = 12002; -pub const NEWTON_JOINT_OBJECTID: i64 = 31001; +pub const BANNER_FOLLOWPARENTVISIBILITY: i64 = 16; -pub const MUJOCO_GLOBAL_OVERRIDEMARGIN: i64 = 37010; +pub const VORTEX_JOINT_A0FRICTIONCOEFF: i64 = 21033; -pub const DISPLAYATTRIBUTE_MIRROR: i64 = 262144; +pub const ODE_JOINT_FUDGEFACTOR: i64 = 12004; -pub const BULLET_JOINT_NORMALCFM: i64 = 3003; +pub const JOINTDYNCTRL_FORCE: i64 = 1; -pub const BULLET_JOINT_POSPID2: i64 = 3007; +pub const BULLET_BODY_STICKY: i64 = 8001; -pub const BULLET_BODY_LINEARDAMPING: i64 = 6004; +pub const ODE_BODY_SOFTERP: i64 = 15002; -pub const OBJECT_LIGHT_TYPE: i64 = 13; +pub const CUSTOMIZATIONSCRIPTCALL_CLEANUP: i64 = 1; -pub const OBJECT_MILL_TYPE: i64 = 11; +pub const PATHPROPERTY_SHOW_POSITION: i64 = 128; -pub const OBJSTRINGPARAM_UNIQUE_ID: i64 = 35; +pub const ODE_BODY_ANGULARDAMPING: i64 = 15005; -pub const VORTEX_BODY_PRIMAXISVECTORY: i64 = 24035; +pub const OBJECTSPECIALPROPERTY_DETECTABLE_LASER: i64 = 64; -pub const BULLET_BODY_STICKY: i64 = 8001; +pub const MUJOCO_JOINT_ARMATURE: i64 = 40021; -pub const BOOLPARAM_FORCE_SHOW_WIRELESS_EMISSION: i64 = 27; +pub const VORTEX_JOINT_A0FRICTIONLOSS: i64 = 21035; -pub const BUTTONPROPERTY_BORDERLESS: i64 = 32; +pub const JOINTFLOATPARAM_IK_WEIGHT: i64 = 2021; -pub const DISPLAYATTRIBUTE_NOOPENGLCALLBACKS: i64 = 2097152; +pub const SCRIPTATTRIBUTE_EXECUTIONCOUNT: i64 = 2; -pub const BULLET_BODY_USENONDEFAULTCOLLISIONMARGIN: i64 = 8002; +pub const NAVIGATION_PASSIVE: i64 = 0; -pub const RUCKIG_MINVEL: i64 = 256; +pub const VORTEX_JOINT_P2FRICTIONCOEFF: i64 = 21027; -pub const VORTEX_BODY_SECANGAXISSAMEASPRIMANGAXIS: i64 = 26007; +pub const ODE_BODY_MAXCONTACTS: i64 = 16001; -pub const INTPARAM_WORK_THREAD_COUNT: i64 = 21; +pub const DRAWING_LINES: i64 = 1; -pub const VORTEX_BODY_PURESHAPESASCONVEX: i64 = 26001; +pub const HANDLEFLAG_GREYSCALE: i64 = 4194304; -pub const VORTEX_JOINT_UPPERLIMITMAXFORCE: i64 = 21008; +pub const MSGBOX_TYPE_INFO: i64 = 0; -pub const NEWTON_JOINT_DEPENDENTOBJECTID: i64 = 31002; +pub const BULLET_GLOBAL_COMPUTEINERTIAS: i64 = 2002; -pub const DUMMY_LINKTYPE_DYNAMICS_FORCE_CONSTRAINT: i64 = 1; +pub const DLGSTYLE_OK_CANCEL: i64 = 3; -pub const NEWTON_JOINT_POSPID1: i64 = 30003; +pub const VORTEX_JOINT_A2FRICTIONMAXFORCE: i64 = 21046; -pub const VORTEX_BODY_AUTOSLEEPLINEARACCELTHRESHOLD: i64 = 24029; +pub const SCRIPTINTPARAM_EXECCOUNT: i64 = 10101; -pub const OBJECT_RENDERINGSENSOR_TYPE: i64 = 9; +pub const VORTEX_GLOBAL_CONSTRAINTANGULARKINETICLOSS: i64 = 18009; -pub const MODULEINFO_EXTVERSIONSTR: i64 = 0; +pub const MSGBOX_BUTTONS_YESNOCANCEL: i64 = 2; -pub const MUJOCO_JOINT_POLYCOEF4: i64 = 40026; +pub const VORTEX_BODY_COMPLIANCE: i64 = 24011; -pub const VORTEX_JOINT_OBJECTID: i64 = 22005; +pub const LIGHTFLOATPARAM_QUAD_ATTENUATION: i64 = 8005; -pub const DRAWING_CUBEPOINTS: i64 = 6; +pub const JOINTINTPARAM_VELOCITY_LOCK: i64 = 2030; -pub const VORTEX_JOINT_P2FRICTIONMAXFORCE: i64 = 21028; +pub const MUJOCO_GLOBAL_MULTITHREADED: i64 = 39002; -pub const VORTEX_JOINT_A1LOSS: i64 = 21036; +pub const DYNMAT_LOWFRICTION: i64 = 2310015; -pub const MSGBOX_TYPE_WARNING: i64 = 2; +pub const COLORCOMPONENT_EMISSION: i64 = 3; -pub const NAVIGATION_PASSIVE: i64 = 0; +pub const CALLBACKID_ROSSUBSCRIBER: i64 = 1; -pub const INTPARAM_DYNAMIC_WARNING_DISABLED_MASK: i64 = 32; +pub const PRIMITIVESHAPE_PLANE: i64 = 1; -pub const ODE_BODY_LINEARDAMPING: i64 = 15004; +pub const MUJOCO_JOINT_SOLIMPLIMIT5: i64 = 40007; -pub const SYSCB_REGULAR: i64 = 6; +pub const DLGRET_NO: i64 = 4; -pub const ARRAYPARAM_BACKGROUND_COLOR1: i64 = 3; +pub const VORTEX_JOINT_P0FRICTIONLOSS: i64 = 21017; -pub const SYSCB_USERCONFIG: i64 = 32; +pub const VORTEX_JOINT_P1LOSS: i64 = 21018; -pub const PROXINTPARAM_VOLUME_TYPE: i64 = 4001; +pub const IKRESULT_NOT_PERFORMED: i64 = 0; -pub const VORTEX_JOINT_PROPORTIONALMOTORFRICTION: i64 = 23002; +pub const DRAWING_OVERLAY: i64 = 262144; -pub const SCRIPT_NO_ERROR: i64 = 0; +pub const OBJECT_NO_SUBTYPE: i64 = 200; -pub const FILTERCOMPONENT_SHIFT: i64 = 16; +pub const MODULEINFO_VERBOSITY: i64 = 3; -pub const TEXTUREMAP_CUBE: i64 = 3; +pub const SCRIPTINTPARAM_EXECORDER: i64 = 10100; -pub const MUJOCO_DUMMY_SOLREFLIMIT2: i64 = 46004; +pub const VORTEX_BODY_BITCODED: i64 = 25006; -pub const JOINTMODE_IKDEPENDENT: i64 = 3; +pub const JOINTFLOATPARAM_VELOCITY: i64 = 2012; -pub const CUSTOMIZATIONSCRIPTCALL_LASTBEFORESIMULATION: i64 = 4; +pub const CAMERAINTPARAM_POV_BLUR_SAMPLES: i64 = 9007; -pub const VISIONINTPARAM_RESOLUTION_Y: i64 = 1003; +pub const STRINGPARAM_PYTHONDIR: i64 = 137; -pub const VORTEX_JOINT_P2FRICTIONLOSS: i64 = 21029; +pub const FILTERCOMPONENT_TOBUFFER1: i64 = 5; -pub const LIGHTFLOATPARAM_SPOT_EXPONENT: i64 = 8001; +pub const VISIONINTPARAM_WINDOWED_SIZE_Y: i64 = 1010; -pub const VORTEX_BODY_RESTITUTION: i64 = 24013; +pub const JOINTFLOATPARAM_SPHERICAL_QY: i64 = 2014; -pub const VORTEX_JOINT_UPPERLIMITDAMPING: i64 = 21002; +pub const MUJOCO_DUMMY_LIMITED: i64 = 48001; -pub const MUJOCO_JOINT_SOLREFLIMIT1: i64 = 40001; +pub const SCRIPTTHREADRESUME_CUSTOM: i64 = 5; -pub const SYSCB_SUSPEND: i64 = 9; +pub const OBJFLOATPARAM_OBJBBOX_MIN_Z: i64 = 17; -pub const VORTEX_JOINT_POSPID2: i64 = 21053; +pub const SHAPE_SIMPLESHAPE_SUBTYPE: i64 = 20; -pub const SCRIPTEXECORDER_NORMAL: i64 = 1; +pub const PROXIMITYSENSOR_CYLINDER_SUBTYPE: i64 = 31; -pub const SYSCB_BEFORESIMULATION: i64 = 4; +pub const PURE_PRIMITIVE_DISC: i64 = 2; -pub const VORTEX_JOINT_P0FRICTIONMAXFORCE: i64 = 21016; +pub const VORTEX_JOINT_A1LOSS: i64 = 21036; -pub const RML_ONLY_PHASE_SYNC: i64 = 1; +pub const OBJECTSPECIALPROPERTY_DETECTABLE_ALL: i64 = 496; -pub const SYSCB_DYNCALLBACK: i64 = 28; +pub const BOOLPARAM_HIERARCHY_TOOLBARBUTTON_ENABLED: i64 = 35; -pub const JOINTFLOATPARAM_ERROR_Y: i64 = 2023; +pub const HANDLE_SCENE: i64 = -12; -pub const VORTEX_JOINT_P1DAMPING: i64 = 21020; +pub const NAVIGATION_CAMERATILT: i64 = 4; -pub const RML_NO_SYNC: i64 = 3; +pub const IMGCOMB_VERTICAL: i64 = 0; -pub const FILEDLG_TYPE_FOLDER: i64 = 3; +pub const INTPARAM_STOP_REQUEST_COUNTER: i64 = 29; -pub const JOINTMODE_FORCE: i64 = 5; +pub const BANNER_BITMAPFONT: i64 = 2048; -pub const SIMULATION_PAUSED: i64 = 8; +pub const ARRAYPARAM_FOG: i64 = 1; -pub const DUMMY_LINKTYPE_DYNAMICS_LOOP_CLOSURE: i64 = 0; +pub const SHAPEINTPARAM_EDGE_BORDERS_HIDDEN: i64 = 3027; -pub const NEWTON_GLOBAL_BITCODED: i64 = 28002; +pub const SCRIPTDEBUG_CALLSANDVARS: i64 = 5; -pub const VORTEX_JOINT_A0LOSS: i64 = 21030; +pub const VORTEX_JOINT_DEPENDENCYFACTOR: i64 = 21048; -pub const VORTEX_JOINT_A0FRICTIONMAXFORCE: i64 = 21034; +pub const SCRIPTSTRINGPARAM_DESCRIPTION: i64 = 10108; -pub const NEWTON_BODY_ANGULARDRAG: i64 = 33005; +pub const VORTEX_JOINT_FRICTIONENABLEDBC: i64 = 22003; -pub const SCRIPTTHREADRESUME_ALLNOTYETRESUMED: i64 = -1; +pub const SYSCB_CUSTOMCALLBACK2: i64 = 21; -pub const VORTEX_BODY_PRIMAXISVECTORZ: i64 = 24036; +pub const DRAWING_SPHEREPTS: i64 = 7; -pub const ODE_BODY_SOFTERP: i64 = 15002; +pub const VORTEX_BODY_NORMALANGULARAXISFRICTION: i64 = 24005; -pub const HANDLE_SCENE: i64 = -12; +pub const MUJOCO_GLOBAL_DENSITY: i64 = 37006; -pub const HANDLEFLAG_DEPTHBUFFER: i64 = 8388608; +pub const VOLUME_PYRAMID: i64 = 0; -pub const OBJECT_DUMMY_TYPE: i64 = 4; +pub const HANDLE_SELF: i64 = -4; -pub const VORTEX_BODY_PRIMLINEARAXISFRICTIONMODEL: i64 = 25001; +pub const BOOLPARAM_EXECUNSAFE: i64 = 58; -pub const BULLET_JOINT_STOPCFM: i64 = 3002; +pub const DRAWING_TRIANGLES: i64 = 2; -pub const INTPARAM_STATUSBARVERBOSITY: i64 = 41; +pub const DISPLAYATTRIBUTE_THICK_EDGES: i64 = 65536; -pub const MUJOCO_BODY_FRICTION2: i64 = 43002; +pub const JOINTMODE_PASSIVE: i64 = 0; -pub const FILTERCOMPONENT_NORMALIZE: i64 = 24; +pub const NEWTON_GLOBAL_EXACTSOLVER: i64 = 29002; -pub const SYSCB_CUSTOMCALLBACK2: i64 = 21; +pub const MILL_CYLINDER_SUBTYPE: i64 = 41; -pub const CAMERAFLOATPARAM_NEAR_CLIPPING: i64 = 9008; +pub const FILTERCOMPONENT_CUSTOMIZED: i64 = 1000; -pub const HANDLEFLAG_AXIS: i64 = 4194304; +pub const OBJFLOATPARAM_MODELBBOX_MAX_Y: i64 = 25; -pub const FILTERCOMPONENT_ORIGINALDEPTH: i64 = 2; +pub const ADDONSCRIPTCALL_CLEANUP: i64 = 1; -pub const VORTEX_BODY_SECANGULARAXISFRICTION: i64 = 24004; +pub const DISPLAYATTRIBUTE_USEAUXCOMPONENT: i64 = 524288; -pub const SYSCB_AFTERDELETE: i64 = 25; +pub const ODE_GLOBAL_STEPSIZE: i64 = 9001; -pub const VORTEX_JOINT_P1FRICTIONCOEFF: i64 = 21021; +pub const DISPLAYATTRIBUTE_FORBIDWIREFRAME: i64 = 128; -pub const BULLET_BODY_NONDEFAULTCOLLISIONMARGINGFACTORCONVEX: i64 = 6007; +pub const VORTEX_JOINT_A2FRICTIONCOEFF: i64 = 21045; -pub const HANDLEFLAG_CAMERA: i64 = 4194304; +pub const NAVIGATION_CAMERAANGLE: i64 = 5; -pub const VORTEX_JOINT_P0STIFFNESS: i64 = 21013; +pub const INTPARAM_SIMULATION_WARNING_DISABLED_MASK: i64 = 33; -pub const DRAWING_SPHEREPOINTS: i64 = 7; +pub const NEWTON_GLOBAL_MULTITHREADING: i64 = 29001; -pub const VORTEX_BODY_SECANGULARAXISSLIP: i64 = 24026; +pub const STRINGPARAM_APP_ARG4: i64 = 5; -pub const SCRIPTEXECORDER_LAST: i64 = 2; +pub const IKRESULT_FAIL: i64 = 2; -pub const OBJFLOATPARAM_MODELBBOX_MIN_Z: i64 = 23; +pub const BULLET_JOINT_STOPERP: i64 = 3001; -pub const JOINTFLOATPARAM_PID_D: i64 = 2004; +pub const NEWTON_JOINT_DEPENDENTOBJECTID: i64 = 31002; -pub const MUJOCO_GLOBAL_VISCOSITY: i64 = 37007; +pub const SYSCB_BEFOREDELETE: i64 = 24; -pub const VORTEX_BODY_SECMANGULARARAXISFRICTIONMODEL: i64 = 25004; +pub const SCRIPTTYPE_SANDBOXSCRIPT: i64 = 8; -pub const SHAPEFLOATPARAM_INIT_ANG_VELOCITY_X: i64 = 3020; +pub const MODULEINFO_EXTVERSIONSTR: i64 = 0; -pub const VORTEX_BODY_AUTOSLEEPSTEPLIVETHRESHOLD: i64 = 25007; +pub const OBJFLOATPARAM_MODELBBOX_MIN_X: i64 = 21; -pub const SYSCB_AFTERSIMULATION: i64 = 5; +pub const VORTEX_BODY_PRIMANGULARAXISSLIDE: i64 = 24020; -pub const INTPARAM_DYNAMIC_ENGINE: i64 = 8; +pub const MUJOCO_JOINT_SOLREFLIMIT1: i64 = 40001; -pub const JOINTFLOATPARAM_SCREWLEAD: i64 = 2042; +pub const ODE_GLOBAL_RANDOMSEED: i64 = 10003; -pub const STRINGPARAM_APP_ARG7: i64 = 8; +pub const TEXTUREMAP_SPHERE: i64 = 2; -pub const CUSTOMIZATIONSCRIPTCALL_INITIALIZATION: i64 = 2; +pub const JOINTINTPARAM_DYNPOSCTRLTYPE: i64 = 2041; -pub const HANDLEFLAG_CODEDSTRING: i64 = 4194304; +pub const MODELPROPERTY_NOT_VISIBLE: i64 = 256; -pub const VISIONFLOATPARAM_FAR_CLIPPING: i64 = 1001; +pub const APPOBJ_COLLISION_TYPE: i64 = 110; -pub const MUJOCO_GLOBAL_OVERRIDESOLIMP2: i64 = 37014; +pub const OBJECT_RENDERINGSENSOR_TYPE: i64 = 9; -pub const MSGBOX_BUTTONS_YESNO: i64 = 1; +pub const VERBOSITY_TRACELUA: i64 = 800; -pub const MUJOCO_GLOBAL_SOLVER: i64 = 38004; +pub const PATHPROPERTY_CLOSED_PATH: i64 = 4; -pub const MUJOCO_GLOBAL_MULTITHREADED: i64 = 39002; +pub const NEWTON_GLOBAL_COMPUTEINERTIAS: i64 = 29004; -pub const MUJOCO_JOINT_SPRINGREF: i64 = 40018; +pub const VORTEX_BODY_LINEARVELOCITYDAMPING: i64 = 24016; -pub const HANDLEFLAG_WXYZQUAT: i64 = 16777216; +pub const PURE_PRIMITIVE_HEIGHTFIELD: i64 = 7; -pub const APPOBJ_PATHPLANNING_TYPE: i64 = 118; +pub const PARTICLE_WATER: i64 = 32768; -pub const OBJFLOATPARAM_MODELBBOX_MAX_Y: i64 = 25; +pub const ODE_GLOBAL_COMPUTEINERTIAS: i64 = 11003; -pub const VORTEX_BODY_SECANGULARAXISSTATICFRICTIONSCALE: i64 = 24009; +pub const MUJOCO_DUMMY_SOLIMPLIMIT2: i64 = 46006; -pub const DUMMYINTPARAM_LINK_TYPE: i64 = 10000; +pub const MIRRORINTPARAM_ENABLE: i64 = 12003; -pub const FILTERCOMPONENT_5X5FILTER: i64 = 19; +pub const SCRIPT_REENTRANCE_ERROR: i64 = 4; -pub const FILTERCOMPONENT_MULTIPLYWITHBUFFER1: i64 = 12; +pub const BULLET_JOINT_POSPID2: i64 = 3007; -pub const BUFFER_INT8: i64 = 1; +pub const LIGHT_SPOT_SUBTYPE: i64 = 2; -pub const SCRIPTDEBUG_VARS: i64 = 4; +pub const SCRIPTTYPE_MAIN: i64 = 0; -pub const BUFFER_UINT8BGR: i64 = 9; +pub const PHYSICS_PHYSX: i64 = 5; -pub const SYSCB_CUSTOMCALLBACK4: i64 = 23; +pub const SCRIPTEXECORDER_FIRST: i64 = 0; -pub const HANDLE_ALL: i64 = -2; +pub const PLUGININFO_STATUSBARVERBOSITY: i64 = 4; -pub const MUJOCO_GLOBAL_OVERRIDESOLIMP1: i64 = 37013; +pub const HANDLE_INVERSE: i64 = -14; -pub const LIGHT_OMNIDIRECTIONAL_SUBTYPE: i64 = 1; +pub const FILTERCOMPONENT_COLORSEGMENTATION: i64 = 33; -pub const CALLBACKID_DYNSTEP: i64 = 2; +pub const VISIONINTPARAM_DISABLED_LIGHT_COMPONENTS: i64 = 1006; -pub const PHYSICS_NEWTON: i64 = 3; +pub const INTPARAM_COMPILATION_VERSION: i64 = 4; -pub const OBJECTPROPERTY_SELECTABLE: i64 = 32; +pub const CUSTOMIZATIONSCRIPTCALL_SIMULATIONPAUSEFIRST: i64 = 9; pub const FILTERCOMPONENT_UNIFORMIMAGE: i64 = 3; -pub const OBJECTSPECIALPROPERTY_DETECTABLE_ULTRASONIC: i64 = 16; +pub const BUFFER_SPLIT: i64 = 13; -pub const FILTERCOMPONENT_TOOUTPUT: i64 = 4; +pub const FILTERCOMPONENT_3X3FILTER: i64 = 18; -pub const NEWTON_BODY_LINEARDRAG: i64 = 33004; +pub const MSGBOX_RETURN_ERROR: i64 = 4; -pub const HANDLEFLAG_RAWVALUE: i64 = 16777216; +pub const DLGSTYLE_OK: i64 = 2; -pub const FLOATPARAM_RAND: i64 = 0; +pub const STRINGPARAM_SANDBOXLANG: i64 = 144; -pub const PARTICLE_POINTS4: i64 = 2; +pub const PARTICLE_IGNORESGRAVITY: i64 = 256; -pub const MUJOCO_GLOBAL_OVERRIDESOLREF2: i64 = 37012; +pub const BUFFER_UINT8BGR: i64 = 9; -pub const DISTCALCMETHOD_DL: i64 = 0; +pub const FILTERCOMPONENT_VELODYNE: i64 = 37; -pub const FILTERCOMPONENT_CUSTOMIZED: i64 = 1000; +pub const BOOLPARAM_RML2_AVAILABLE: i64 = 20; -pub const BOOLPARAM_SCENE_AND_MODEL_LOAD_MESSAGES: i64 = 13; +pub const CUSTOMIZATIONSCRIPTCALL_LASTBEFORESIMULATION: i64 = 4; -pub const SHAPEFLOATPARAM_TEXTURE_X: i64 = 3006; +pub const RML_PHASE_SYNC_IF_POSSIBLE: i64 = 0; -pub const FILTERCOMPONENT_CIRCULARCUT: i64 = 23; +pub const CUSTOMIZATIONSCRIPTCALL_AFTERCOPY: i64 = 14; -pub const VERBOSITY_SCRIPTERRORS: i64 = 420; +pub const MODELPROPERTY_NOT_RESET: i64 = 128; -pub const BUFFER_INT16: i64 = 3; +pub const SCRIPTTYPE_ADDONSCRIPT: i64 = 2; -pub const MUJOCO_JOINT_SPRINGDAMPER1: i64 = 40019; +pub const VISIONINTPARAM_WINDOWED_POS_X: i64 = 1011; -pub const BULLET_GLOBAL_BITCODED: i64 = 1002; +pub const NAVIGATION_CAMERAROTATE: i64 = 2; -pub const VORTEX_BODY_AUTOSLIP: i64 = 26005; +pub const BULLET_BODY_BITCODED: i64 = 7001; -pub const MUJOCO_DUMMY_STIFFNESS: i64 = 46012; +pub const APPOBJ_DISTANCE_TYPE: i64 = 111; -pub const PARTICLE_ITEMSIZES: i64 = 1024; +pub const LIGHTFLOATPARAM_CONST_ATTENUATION: i64 = 8003; -pub const LIGHTFLOATPARAM_QUAD_ATTENUATION: i64 = 8005; +pub const OBJECTPROPERTY_SELECTABLE: i64 = 32; -pub const VISIONFLOATPARAM_POV_BLUR_DISTANCE: i64 = 1014; +pub const VORTEX_JOINT_P2LOSS: i64 = 21024; -pub const MSGBOX_RETURN_YES: i64 = 2; +pub const VORTEX_BODY_PRIMANGULARARAXISFRICTIONMODEL: i64 = 25003; -pub const MUJOCO_DUMMY_SPRINGLENGTH: i64 = 46011; +pub const DISTCALCMETHOD_SQRT_DL2_AND_DAC2: i64 = 4; -pub const BANNER_KEEPSAMESIZE: i64 = 1024; +pub const MODELPROPERTY_NOT_DYNAMIC: i64 = 32; -pub const PURE_PRIMITIVE_HEIGHTFIELD: i64 = 7; +pub const SHAPEINTPARAM_WIREFRAME: i64 = 3015; -pub const MUJOCO_JOINT_POSPID3: i64 = 40030; +pub const VORTEX_JOINT_UPPERLIMITRESTITUTION: i64 = 21006; -pub const JOINT_PRISMATIC_SUBTYPE: i64 = 11; +pub const STRINGPARAM_STATUSBARVERBOSITY: i64 = 122; -pub const CHILDSCRIPTCALL_ACTUATION: i64 = 6; +pub const PURE_PRIMITIVE_CYLINDER: i64 = 5; -pub const ARRAYPARAM_GRAVITY: i64 = 0; +pub const MUJOCO_GLOBAL_NSTACK: i64 = 38009; -pub const DRAWING_LOCAL: i64 = 8388608; +pub const DYNMAT_FOOT: i64 = 2310018; -pub const INTPARAM_PROGRAM_REVISION: i64 = 30; +pub const INTPARAM_PROCESSCNT: i64 = 53; + +pub const BULLET_CONSTRAINTSOLVERTYPE_PROJECTEDGAUSSSEIDEL: i64 = 3; diff --git a/src/remote_api_objects/sim/sim_ik_api.rs b/src/remote_api_objects/sim/sim_ik_api.rs index b8acf8c..4b6531e 100644 --- a/src/remote_api_objects/sim/sim_ik_api.rs +++ b/src/remote_api_objects/sim/sim_ik_api.rs @@ -1,83 +1,83 @@ use crate::RemoteApiClientInterface; -#[doc=r#"API functions for creating kinematics tasks. All units, unless otherwise indicated, are specified in meters and radians."#] +#[doc=r#####"API functions for creating kinematics tasks. All units, unless otherwise indicated, are specified in meters and radians."#####] pub trait SimIK : RemoteApiClientInterface { requests!{ "simIK", -(r#"Adds a new IK element to an IK group."#,sim_ik_add_element,"addElement",(environment_handle:i64,ik_group_handle:i64,tip_dummy_handle:i64)->i64), -(r#"Convenience function to quickly generate an IK element from a kinematic chain in the scene"#,sim_ik_add_element_from_scene,"addElementFromScene",(environment_handle:i64,ik_group:i64,base_handle:i64,tip_handle:i64,target_handle:i64,constraints:i64)->(i64,serde_json::Value,serde_json::Value)), -(r#"Computes the Jacobian and error vector for an IK group"#,sim_ik_compute_group_jacobian,"computeGroupJacobian",(environment_handle:i64,ik_group_handle:i64)->(Vec,Vec)), -(r#"Computes the Jacobian and error vector for a kinematic chain"#,sim_ik_compute_jacobian,"computeJacobian",(environment_handle:i64,base_object:i64,last_joint:i64,constraints:i64,tip_matrix:Vec),opt(target_matrix:Vec,constr_base_matrix:Vec)->(Vec,Vec)), -(r#"Creates a visual representation of an IK chain."#,sim_ik_create_debug_overlay,"createDebugOverlay",(environment_handle:i64,tip_handle:i64),opt(base_handle:i64)->i64), -(r#"Creates a dummy object."#,sim_ik_create_dummy,"createDummy",(environment_handle:i64),opt(dummy_name:String)->i64), -(r#"Creates an new IK environment."#,sim_ik_create_environment,"createEnvironment",opt(flags:i64)->i64), -(r#"Creates an IK group."#,sim_ik_create_group,"createGroup",(environment_handle:i64),opt(ik_group_name:String)->i64), -(r#"Creates a joint object."#,sim_ik_create_joint,"createJoint",(environment_handle:i64,joint_type:i64),opt(joint_name:String)->i64), -(r#"Checks whether an IK group exists, based on its name."#,sim_ik_does_group_exist,"doesGroupExist",(environment_handle:i64,ik_group_name:String)->bool), -(r#"Checks whether an object exists, based on its name."#,sim_ik_does_object_exist,"doesObjectExist",(environment_handle:i64,object_name:String)->bool), -(r#"Duplicates an IK environment. Useful when operating on an environment while leaving the original environment unchanged."#,sim_ik_duplicate_environment,"duplicateEnvironment",(environment_handle:i64)->i64), -(r#"Removes the visual representation of an IK chain."#,sim_ik_erase_debug_overlay,"eraseDebugOverlay",(debug_object:i64)->()), -(r#"Erases an IK environment."#,sim_ik_erase_environment,"eraseEnvironment",(environment_handle:i64)->()), -(r#"Erases an object."#,sim_ik_erase_object,"eraseObject",(environment_handle:i64,object_handle:i64)->()), -(r#"Searches for a manipulator configuration that matches the target dummy/dummies position/orientation in space. Search is randomized. One should call simIK.getAlternateConfigs for each returned configuration, if some revolute joints of the manipulator have a range of more than 360 degrees, in order to generate some equivalent poses but alternate configurations. The IK environment remains unchanged."#,sim_ik_find_config,"findConfig",(environment_handle:i64,ik_group_handle:i64,joint_handles:Vec),opt(threshold_dist:f64,max_time:f64,metric:Vec,validation_callback:String,aux_data:serde_json::Value)->Vec), -(r#"Generates a path that drives the IK tip onto its IK target, in a straight line (i.e. shortest path in Cartesian space). The function returns a path in the configuration space if the operation was successful. A reason for a non-successful operation can be: there are some forbidden poses/configurations on the way, or some of the configuration points cannot be reached (e.g. out of reach, or due to joint limits). The IK environment remains unchanged."#,sim_ik_generate_path,"generatePath",(environment_handle:i64,ik_group_handle:i64,joint_handles:Vec,tip_handle:i64,path_point_count:i64),opt(validation_callback:String,aux_data:serde_json::Value)->Vec), -(r#"Useful when called after simIK.findConfig: generates alternative manipulator configurations, for a same end-effector pose, for a manipulator that has revolute joints with a range larger than 360 degrees. The original submitted configuration will be part of the returned configurations. The IK environment remains unchanged."#,sim_ik_get_alternate_configs,"getAlternateConfigs",(environment_handle:i64,joint_handles:Vec),opt(low_limits:Vec,ranges:Vec)->Vec), -(r#"Retrieves the base object of an IK element."#,sim_ik_get_element_base,"getElementBase",(environment_handle:i64,ik_group_handle:i64,element_handle:i64)->(i64,i64)), -(r#"Retrieves the constraints of an IK element."#,sim_ik_get_element_constraints,"getElementConstraints",(environment_handle:i64,ik_group_handle:i64,element_handle:i64)->i64), -(r#"Retrieves various flags of an IK element."#,sim_ik_get_element_flags,"getElementFlags",(environment_handle:i64,ik_group_handle:i64,element_handle:i64)->i64), -(r#"Retrieves the precision settings of an IK element."#,sim_ik_get_element_precision,"getElementPrecision",(environment_handle:i64,ik_group_handle:i64,element_handle:i64)->Vec), -(r#"Retrieves the desired linear and angular resolution weights of an IK element."#,sim_ik_get_element_weights,"getElementWeights",(environment_handle:i64,ik_group_handle:i64,element_handle:i64)->Vec), -(r#""#,sim_ik_get_failure_description,"getFailureDescription",(reason:i64)->String), -(r#"Retrieves calculation properties for an IK group."#,sim_ik_get_group_calculation,"getGroupCalculation",(environment_handle:i64,ik_group_handle:i64)->(i64,f64,i64)), -(r#"Retrieves flags of an IK group."#,sim_ik_get_group_flags,"getGroupFlags",(environment_handle:i64,ik_group_handle:i64)->i64), -(r#"Retrieves the handle of an IK group based on its name."#,sim_ik_get_group_handle,"getGroupHandle",(environment_handle:i64,ik_group_name:String)->i64), -(r#"Checks which joints of an IK group hit a limit last time that IK group was handled"#,sim_ik_get_group_joint_limit_hits,"getGroupJointLimitHits",(environment_handle:i64,ik_group_handle:i64)->(Vec,Vec)), -(r#"Returns the joint handles involved in the IK group calculation, i.e. one handle per Jacobian column (except with revolute joints that have 3 corresponding Jacobian columns)"#,sim_ik_get_group_joints,"getGroupJoints",(environment_handle:i64,ik_group_handle:i64)->Vec), -(r#"Retrieves information about a possible joint dependency."#,sim_ik_get_joint_dependency,"getJointDependency",(environment_handle:i64,joint_handle:i64)->(i64,f64,f64)), -(r#"Retrieves the joint limits."#,sim_ik_get_joint_interval,"getJointInterval",(environment_handle:i64,joint_handle:i64)->(bool,Vec)), -(r#"Retrieves the limit margin of a joint, i.e. the threshold that will be used to counteract on joint limit violation during IK resolution, if the appropriate IK group flag was set"#,sim_ik_get_joint_limit_margin,"getJointLimitMargin",(environment_handle:i64,joint_handle:i64)->f64), -(r#"Retrieves the intrinsic transformation matrix of a joint."#,sim_ik_get_joint_matrix,"getJointMatrix",(environment_handle:i64,joint_handle:i64)->Vec), -(r#"Retrieves the maximum step size of a joint."#,sim_ik_get_joint_max_step_size,"getJointMaxStepSize",(environment_handle:i64,joint_handle:i64)->f64), -(r#"Retrieves the joint mode."#,sim_ik_get_joint_mode,"getJointMode",(environment_handle:i64,joint_handle:i64)->i64), -(r#"Retrieves the position (linear or angular) of a joint."#,sim_ik_get_joint_position,"getJointPosition",(environment_handle:i64,joint_handle:i64)->f64), -(r#"Retrieves the screw lead of a revolute joint."#,sim_ik_get_joint_screw_lead,"getJointScrewLead",(environment_handle:i64,joint_handle:i64)->f64), -(r#"Retrieves the intrinsic transformation of a joint."#,sim_ik_get_joint_transformation,"getJointTransformation",(environment_handle:i64,joint_handle:i64)->(Vec,Vec,Vec)), -(r#"Retrieves the joint type."#,sim_ik_get_joint_type,"getJointType",(environment_handle:i64,joint_handle:i64)->i64), -(r#"Retrieves the IK weight of a joint, i.e. the weight it has during IK resolution."#,sim_ik_get_joint_weight,"getJointWeight",(environment_handle:i64,joint_handle:i64)->f64), -(r#"Retrieves the handle of an object based on its name."#,sim_ik_get_object_handle,"getObjectHandle",(environment_handle:i64,object_name:String)->i64), -(r#"Retrieves the transformation matrix of an object. If the object is a joint object, the matrix does not include the joint's intrinsic transformation."#,sim_ik_get_object_matrix,"getObjectMatrix",(environment_handle:i64,object_handle:i64),opt(relative_to_object_handle:i64)->Vec), -(r#"Retrieves an object's parent handle."#,sim_ik_get_object_parent,"getObjectParent",(environment_handle:i64,object_handle:i64)->i64), -(r#"Retrieves the pose (position and quaternion) of an object. If the object is a joint object, the pose does not include the joint's intrinsic transformation."#,sim_ik_get_object_pose,"getObjectPose",(environment_handle:i64,object_handle:i64),opt(relative_to_object_handle:i64)->Vec), -(r#"Retrieves the transformation (position and quaternion/euler angles) of an object. If the object is a joint object, the transformation does not include the joint's intrinsic transformation."#,sim_ik_get_object_transformation,"getObjectTransformation",(environment_handle:i64,object_handle:i64),opt(relative_to_object_handle:i64)->(Vec,Vec,Vec)), -(r#"Retrieves the type of an object."#,sim_ik_get_object_type,"getObjectType",(environment_handle:i64,object_handle:i64)->i64), -(r#"Allows to loop through all objects in the environment."#,sim_ik_get_objects,"getObjects",(environment_handle:i64,index:i64)->(i64,String,bool,i64)), -(r#"Retrieves the handle of the target dummy associated with a tip dummy"#,sim_ik_get_target_dummy,"getTargetDummy",(environment_handle:i64,dummy_handle:i64)->i64), -(r#"Handles (i.e. computes/resolves) an IK group. Convenience function for simIK.handleIkGroups(ikEnv,{ikGroupHandle},..)"#,sim_ik_handle_group,"handleGroup",(environment_handle:i64,ik_group:i64),opt(options:serde_json::Value)->(i64,i64,Vec)), -(r#"Handles (i.e. computes/resolves) one or several IK groups"#,sim_ik_handle_groups,"handleGroups",(environment_handle:i64,ik_groups:Vec),opt(options:serde_json::Value)->(i64,i64,Vec)), -(r#"Loads kinematic content previously exported in the CoppeliaSim application. Make sure that the environment is empty before calling this function."#,sim_ik_load,"load",(environment_handle:i64,data:String)->()), -(r#"Saves the kinematic content of an IK environment."#,sim_ik_save,"save",(environment_handle:i64)->String), -(r#"Sets the base object of an IK element."#,sim_ik_set_element_base,"setElementBase",(environment_handle:i64,ik_group_handle:i64,element_handle:i64,base_handle:i64),opt(constraints_base_handle:i64)->()), -(r#"Sets the constraints of an IK element."#,sim_ik_set_element_constraints,"setElementConstraints",(environment_handle:i64,ik_group_handle:i64,element_handle:i64,constraints:i64)->()), -(r#"Sets various flags of an IK element."#,sim_ik_set_element_flags,"setElementFlags",(environment_handle:i64,ik_group_handle:i64,element_handle:i64,flags:i64)->()), -(r#"Sets the desired precision of an IK element."#,sim_ik_set_element_precision,"setElementPrecision",(environment_handle:i64,ik_group_handle:i64,element_handle:i64,precision:Vec)->()), -(r#"Sets the desired linear and angular resolution weights of an IK element."#,sim_ik_set_element_weights,"setElementWeights",(environment_handle:i64,ik_group_handle:i64,element_handle:i64,weights:Vec)->()), -(r#"Sets calculation properties for an IK group."#,sim_ik_set_group_calculation,"setGroupCalculation",(environment_handle:i64,ik_group_handle:i64,method:i64,damping:f64,max_iterations:i64)->()), -(r#"Sets flags of an IK group."#,sim_ik_set_group_flags,"setGroupFlags",(environment_handle:i64,ik_group_handle:i64,flags:i64)->()), -(r#"Sets information about a possible dependent joint."#,sim_ik_set_joint_dependency,"setJointDependency",(environment_handle:i64,joint_handle:i64,master_joint_handle:i64),opt(offset:f64,mult:f64,callback:String)->()), -(r#"Sets the joint limits."#,sim_ik_set_joint_interval,"setJointInterval",(environment_handle:i64,joint_handle:i64,cyclic:bool),opt(interval:Vec)->()), -(r#"Sets the limit margin of a joint, i.e. the threshold that will be used to counteract on joint limit violation during IK resolution, if the appropriate IK group flag was set"#,sim_ik_set_joint_limit_margin,"setJointLimitMargin",(environment_handle:i64,joint_handle:i64,margin:f64)->()), -(r#"Sets the maximum step size of a joint."#,sim_ik_set_joint_max_step_size,"setJointMaxStepSize",(environment_handle:i64,joint_handle:i64,step_size:f64)->()), -(r#"Sets the joint mode."#,sim_ik_set_joint_mode,"setJointMode",(environment_handle:i64,joint_handle:i64,joint_mode:i64)->()), -(r#"Sets the position (linear or angular) of a joint."#,sim_ik_set_joint_position,"setJointPosition",(environment_handle:i64,joint_handle:i64,position:f64)->()), -(r#"Sets the screw lead, in case of a revolute joint."#,sim_ik_set_joint_screw_lead,"setJointScrewLead",(environment_handle:i64,joint_handle:i64,lead:f64)->()), -(r#"Sets the IK weight of a joint, i.e. the weight it has during IK resolution."#,sim_ik_set_joint_weight,"setJointWeight",(environment_handle:i64,joint_handle:i64,weight:f64)->()), -(r#"Sets the transformation matrix of an object. If the object is a joint object, the matrix does not include the joint's intrinsic transformation."#,sim_ik_set_object_matrix,"setObjectMatrix",(environment_handle:i64,object_handle:i64,matrix:Vec),opt(relative_to_object_handle:i64)->()), -(r#"Sets the parent of an object."#,sim_ik_set_object_parent,"setObjectParent",(environment_handle:i64,object_handle:i64,parent_object_handle:i64),opt(keep_in_place:bool)->()), -(r#"Sets the pose (position and quaternion) of an object. If the object is a joint object, the pose does not include the joint's intrinsic transformation."#,sim_ik_set_object_pose,"setObjectPose",(environment_handle:i64,object_handle:i64,pose:Vec),opt(relative_to_object_handle:i64)->()), -(r#"Sets the transformation (position and quaternion/Euler angles) of an object. If the object is a joint object, the transformation does not include the joint's intrinsic transformation."#,sim_ik_set_object_transformation,"setObjectTransformation",(environment_handle:i64,object_handle:i64,position:Vec,euler_or_quaternion:Vec),opt(relative_to_object_handle:i64)->()), -(r#"Sets the rotation transformation matrix of a spherical joint."#,sim_ik_set_spherical_joint_matrix,"setSphericalJointMatrix",(environment_handle:i64,joint_handle:i64,matrix:Vec)->()), -(r#"Sets the rotation transformation of a spherical joint."#,sim_ik_set_spherical_joint_rotation,"setSphericalJointRotation",(environment_handle:i64,joint_handle:i64,euler_or_quaternion:Vec)->()), -(r#"Associates a tip dummy with a target dummy, or removes that association. If the tip dummy is already associated with another target dummy, then first remove that association before setting another one"#,sim_ik_set_target_dummy,"setTargetDummy",(environment_handle:i64,dummy_handle:i64,target_dummy_handle:i64)->()), -(r#"Convenience function to apply the scene state to its ik environment counterpart. Use together with simIK.addElementFromScene."#,sim_ik_sync_from_sim,"syncFromSim",(environment_handle:i64,ik_groups:Vec)->()), -(r#"Convenience function to apply inverse kinematic values computed in the IK world, to the scene. Use together with simIK.addElementFromScene."#,sim_ik_sync_to_sim,"syncToSim",(environment_handle:i64,ik_groups:Vec)->()) +(r#######"Adds a new IK element to an IK group."#######,sim_ik_add_element,"addElement",(environment_handle:i64,ik_group_handle:i64,tip_dummy_handle:i64)->i64), +(r#######"Convenience function to quickly generate an IK element from a kinematic chain in the scene"#######,sim_ik_add_element_from_scene,"addElementFromScene",(environment_handle:i64,ik_group:i64,base_handle:i64,tip_handle:i64,target_handle:i64,constraints:i64)->(i64,serde_json::Value,serde_json::Value)), +(r#######"Computes the Jacobian and error vector for an IK group"#######,sim_ik_compute_group_jacobian,"computeGroupJacobian",(environment_handle:i64,ik_group_handle:i64)->(Vec,Vec)), +(r#######"Computes the Jacobian and error vector for a kinematic chain"#######,sim_ik_compute_jacobian,"computeJacobian",(environment_handle:i64,base_object:i64,last_joint:i64,constraints:i64,tip_matrix:Vec),opt(target_matrix:Vec,constr_base_matrix:Vec)->(Vec,Vec)), +(r#######"Creates a visual representation of an IK chain."#######,sim_ik_create_debug_overlay,"createDebugOverlay",(environment_handle:i64,tip_handle:i64),opt(base_handle:i64)->i64), +(r#######"Creates a dummy object."#######,sim_ik_create_dummy,"createDummy",(environment_handle:i64),opt(dummy_name:String)->i64), +(r#######"Creates an new IK environment."#######,sim_ik_create_environment,"createEnvironment",opt(flags:i64)->i64), +(r#######"Creates an IK group."#######,sim_ik_create_group,"createGroup",(environment_handle:i64),opt(ik_group_name:String)->i64), +(r#######"Creates a joint object."#######,sim_ik_create_joint,"createJoint",(environment_handle:i64,joint_type:i64),opt(joint_name:String)->i64), +(r#######"Checks whether an IK group exists, based on its name."#######,sim_ik_does_group_exist,"doesGroupExist",(environment_handle:i64,ik_group_name:String)->bool), +(r#######"Checks whether an object exists, based on its name."#######,sim_ik_does_object_exist,"doesObjectExist",(environment_handle:i64,object_name:String)->bool), +(r#######"Duplicates an IK environment. Useful when operating on an environment while leaving the original environment unchanged."#######,sim_ik_duplicate_environment,"duplicateEnvironment",(environment_handle:i64)->i64), +(r#######"Removes the visual representation of an IK chain."#######,sim_ik_erase_debug_overlay,"eraseDebugOverlay",(debug_object:i64)->()), +(r#######"Erases an IK environment."#######,sim_ik_erase_environment,"eraseEnvironment",(environment_handle:i64)->()), +(r#######"Erases an object."#######,sim_ik_erase_object,"eraseObject",(environment_handle:i64,object_handle:i64)->()), +(r#######"Deprecated. See simIK.findConfigs instead."#######,sim_ik_find_config,"findConfig",(environment_handle:i64,ik_group_handle:i64,joint_handles:Vec),opt(threshold_dist:f64,max_time:f64,metric:Vec,validation_callback:String,aux_data:serde_json::Value)->Vec), +(r#######"Generates a path that drives the IK tip onto its IK target, in a straight line (i.e. shortest path in Cartesian space). The function returns a path in the configuration space if the operation was successful. A reason for a non-successful operation can be: there are some forbidden poses/configurations on the way, or some of the configuration points cannot be reached (e.g. out of reach, or due to joint limits). The IK environment remains unchanged."#######,sim_ik_generate_path,"generatePath",(environment_handle:i64,ik_group_handle:i64,joint_handles:Vec,tip_handle:i64,path_point_count:i64),opt(validation_callback:String,aux_data:serde_json::Value)->Vec), +(r#######"Generates alternative manipulator configurations, for a same end-effector pose, for a manipulator that has revolute joints with a range larger than 360 degrees. The original submitted configuration will be part of the returned configurations. The IK environment remains unchanged."#######,sim_ik_get_alternate_configs,"getAlternateConfigs",(environment_handle:i64,joint_handles:Vec),opt(low_limits:Vec,ranges:Vec)->Vec), +(r#######"Retrieves the base object of an IK element."#######,sim_ik_get_element_base,"getElementBase",(environment_handle:i64,ik_group_handle:i64,element_handle:i64)->(i64,i64)), +(r#######"Retrieves the constraints of an IK element."#######,sim_ik_get_element_constraints,"getElementConstraints",(environment_handle:i64,ik_group_handle:i64,element_handle:i64)->i64), +(r#######"Retrieves various flags of an IK element."#######,sim_ik_get_element_flags,"getElementFlags",(environment_handle:i64,ik_group_handle:i64,element_handle:i64)->i64), +(r#######"Retrieves the precision settings of an IK element."#######,sim_ik_get_element_precision,"getElementPrecision",(environment_handle:i64,ik_group_handle:i64,element_handle:i64)->Vec), +(r#######"Retrieves the desired linear and angular resolution weights of an IK element."#######,sim_ik_get_element_weights,"getElementWeights",(environment_handle:i64,ik_group_handle:i64,element_handle:i64)->Vec), +(r#######""#######,sim_ik_get_failure_description,"getFailureDescription",(reason:i64)->String), +(r#######"Retrieves calculation properties for an IK group."#######,sim_ik_get_group_calculation,"getGroupCalculation",(environment_handle:i64,ik_group_handle:i64)->(i64,f64,i64)), +(r#######"Retrieves flags of an IK group."#######,sim_ik_get_group_flags,"getGroupFlags",(environment_handle:i64,ik_group_handle:i64)->i64), +(r#######"Retrieves the handle of an IK group based on its name."#######,sim_ik_get_group_handle,"getGroupHandle",(environment_handle:i64,ik_group_name:String)->i64), +(r#######"Checks which joints of an IK group hit a limit last time that IK group was handled"#######,sim_ik_get_group_joint_limit_hits,"getGroupJointLimitHits",(environment_handle:i64,ik_group_handle:i64)->(Vec,Vec)), +(r#######"Returns the joint handles involved in the IK group calculation, i.e. one handle per Jacobian column (except with revolute joints that have 3 corresponding Jacobian columns)"#######,sim_ik_get_group_joints,"getGroupJoints",(environment_handle:i64,ik_group_handle:i64)->Vec), +(r#######"Retrieves information about a possible joint dependency."#######,sim_ik_get_joint_dependency,"getJointDependency",(environment_handle:i64,joint_handle:i64)->(i64,f64,f64)), +(r#######"Retrieves the joint limits."#######,sim_ik_get_joint_interval,"getJointInterval",(environment_handle:i64,joint_handle:i64)->(bool,Vec)), +(r#######"Retrieves the limit margin of a joint, i.e. the threshold that will be used to counteract on joint limit violation during IK resolution, if the appropriate IK group flag was set"#######,sim_ik_get_joint_limit_margin,"getJointLimitMargin",(environment_handle:i64,joint_handle:i64)->f64), +(r#######"Retrieves the intrinsic transformation matrix of a joint."#######,sim_ik_get_joint_matrix,"getJointMatrix",(environment_handle:i64,joint_handle:i64)->Vec), +(r#######"Retrieves the maximum step size of a joint."#######,sim_ik_get_joint_max_step_size,"getJointMaxStepSize",(environment_handle:i64,joint_handle:i64)->f64), +(r#######"Retrieves the joint mode."#######,sim_ik_get_joint_mode,"getJointMode",(environment_handle:i64,joint_handle:i64)->i64), +(r#######"Retrieves the position (linear or angular) of a joint."#######,sim_ik_get_joint_position,"getJointPosition",(environment_handle:i64,joint_handle:i64)->f64), +(r#######"Retrieves the screw lead of a revolute joint."#######,sim_ik_get_joint_screw_lead,"getJointScrewLead",(environment_handle:i64,joint_handle:i64)->f64), +(r#######"Retrieves the intrinsic transformation of a joint."#######,sim_ik_get_joint_transformation,"getJointTransformation",(environment_handle:i64,joint_handle:i64)->(Vec,Vec,Vec)), +(r#######"Retrieves the joint type."#######,sim_ik_get_joint_type,"getJointType",(environment_handle:i64,joint_handle:i64)->i64), +(r#######"Retrieves the IK weight of a joint, i.e. the weight it has during IK resolution."#######,sim_ik_get_joint_weight,"getJointWeight",(environment_handle:i64,joint_handle:i64)->f64), +(r#######"Retrieves the handle of an object based on its name."#######,sim_ik_get_object_handle,"getObjectHandle",(environment_handle:i64,object_name:String)->i64), +(r#######"Retrieves the transformation matrix of an object. If the object is a joint object, the matrix does not include the joint's intrinsic transformation."#######,sim_ik_get_object_matrix,"getObjectMatrix",(environment_handle:i64,object_handle:i64),opt(relative_to_object_handle:i64)->Vec), +(r#######"Retrieves an object's parent handle."#######,sim_ik_get_object_parent,"getObjectParent",(environment_handle:i64,object_handle:i64)->i64), +(r#######"Retrieves the pose (position and quaternion) of an object. If the object is a joint object, the pose does not include the joint's intrinsic transformation."#######,sim_ik_get_object_pose,"getObjectPose",(environment_handle:i64,object_handle:i64),opt(relative_to_object_handle:i64)->Vec), +(r#######"Retrieves the transformation (position and quaternion/euler angles) of an object. If the object is a joint object, the transformation does not include the joint's intrinsic transformation."#######,sim_ik_get_object_transformation,"getObjectTransformation",(environment_handle:i64,object_handle:i64),opt(relative_to_object_handle:i64)->(Vec,Vec,Vec)), +(r#######"Retrieves the type of an object."#######,sim_ik_get_object_type,"getObjectType",(environment_handle:i64,object_handle:i64)->i64), +(r#######"Allows to loop through all objects in the environment."#######,sim_ik_get_objects,"getObjects",(environment_handle:i64,index:i64)->(i64,String,bool,i64)), +(r#######"Retrieves the handle of the target dummy associated with a tip dummy"#######,sim_ik_get_target_dummy,"getTargetDummy",(environment_handle:i64,dummy_handle:i64)->i64), +(r#######"Handles (i.e. computes/resolves) an IK group. Convenience function for simIK.handleIkGroups(ikEnv,{ikGroupHandle},..)"#######,sim_ik_handle_group,"handleGroup",(environment_handle:i64,ik_group:i64),opt(options:serde_json::Value)->(i64,i64,Vec)), +(r#######"Handles (i.e. computes/resolves) one or several IK groups"#######,sim_ik_handle_groups,"handleGroups",(environment_handle:i64,ik_groups:Vec),opt(options:serde_json::Value)->(i64,i64,Vec)), +(r#######"Loads kinematic content previously exported in the CoppeliaSim application. Make sure that the environment is empty before calling this function."#######,sim_ik_load,"load",(environment_handle:i64,data:String)->()), +(r#######"Saves the kinematic content of an IK environment."#######,sim_ik_save,"save",(environment_handle:i64)->String), +(r#######"Sets the base object of an IK element."#######,sim_ik_set_element_base,"setElementBase",(environment_handle:i64,ik_group_handle:i64,element_handle:i64,base_handle:i64),opt(constraints_base_handle:i64)->()), +(r#######"Sets the constraints of an IK element."#######,sim_ik_set_element_constraints,"setElementConstraints",(environment_handle:i64,ik_group_handle:i64,element_handle:i64,constraints:i64)->()), +(r#######"Sets various flags of an IK element."#######,sim_ik_set_element_flags,"setElementFlags",(environment_handle:i64,ik_group_handle:i64,element_handle:i64,flags:i64)->()), +(r#######"Sets the desired precision of an IK element."#######,sim_ik_set_element_precision,"setElementPrecision",(environment_handle:i64,ik_group_handle:i64,element_handle:i64,precision:Vec)->()), +(r#######"Sets the desired linear and angular resolution weights of an IK element."#######,sim_ik_set_element_weights,"setElementWeights",(environment_handle:i64,ik_group_handle:i64,element_handle:i64,weights:Vec)->()), +(r#######"Sets calculation properties for an IK group."#######,sim_ik_set_group_calculation,"setGroupCalculation",(environment_handle:i64,ik_group_handle:i64,method:i64,damping:f64,max_iterations:i64)->()), +(r#######"Sets flags of an IK group."#######,sim_ik_set_group_flags,"setGroupFlags",(environment_handle:i64,ik_group_handle:i64,flags:i64)->()), +(r#######"Sets information about a possible dependent joint."#######,sim_ik_set_joint_dependency,"setJointDependency",(environment_handle:i64,joint_handle:i64,master_joint_handle:i64),opt(offset:f64,mult:f64,callback:String)->()), +(r#######"Sets the joint limits."#######,sim_ik_set_joint_interval,"setJointInterval",(environment_handle:i64,joint_handle:i64,cyclic:bool),opt(interval:Vec)->()), +(r#######"Sets the limit margin of a joint, i.e. the threshold that will be used to counteract on joint limit violation during IK resolution, if the appropriate IK group flag was set"#######,sim_ik_set_joint_limit_margin,"setJointLimitMargin",(environment_handle:i64,joint_handle:i64,margin:f64)->()), +(r#######"Sets the maximum step size of a joint."#######,sim_ik_set_joint_max_step_size,"setJointMaxStepSize",(environment_handle:i64,joint_handle:i64,step_size:f64)->()), +(r#######"Sets the joint mode."#######,sim_ik_set_joint_mode,"setJointMode",(environment_handle:i64,joint_handle:i64,joint_mode:i64)->()), +(r#######"Sets the position (linear or angular) of a joint."#######,sim_ik_set_joint_position,"setJointPosition",(environment_handle:i64,joint_handle:i64,position:f64)->()), +(r#######"Sets the screw lead, in case of a revolute joint."#######,sim_ik_set_joint_screw_lead,"setJointScrewLead",(environment_handle:i64,joint_handle:i64,lead:f64)->()), +(r#######"Sets the IK weight of a joint, i.e. the weight it has during IK resolution."#######,sim_ik_set_joint_weight,"setJointWeight",(environment_handle:i64,joint_handle:i64,weight:f64)->()), +(r#######"Sets the transformation matrix of an object. If the object is a joint object, the matrix does not include the joint's intrinsic transformation."#######,sim_ik_set_object_matrix,"setObjectMatrix",(environment_handle:i64,object_handle:i64,matrix:Vec),opt(relative_to_object_handle:i64)->()), +(r#######"Sets the parent of an object."#######,sim_ik_set_object_parent,"setObjectParent",(environment_handle:i64,object_handle:i64,parent_object_handle:i64),opt(keep_in_place:bool)->()), +(r#######"Sets the pose (position and quaternion) of an object. If the object is a joint object, the pose does not include the joint's intrinsic transformation."#######,sim_ik_set_object_pose,"setObjectPose",(environment_handle:i64,object_handle:i64,pose:Vec),opt(relative_to_object_handle:i64)->()), +(r#######"Sets the transformation (position and quaternion/Euler angles) of an object. If the object is a joint object, the transformation does not include the joint's intrinsic transformation."#######,sim_ik_set_object_transformation,"setObjectTransformation",(environment_handle:i64,object_handle:i64,position:Vec,euler_or_quaternion:Vec),opt(relative_to_object_handle:i64)->()), +(r#######"Sets the rotation transformation matrix of a spherical joint."#######,sim_ik_set_spherical_joint_matrix,"setSphericalJointMatrix",(environment_handle:i64,joint_handle:i64,matrix:Vec)->()), +(r#######"Sets the rotation transformation of a spherical joint."#######,sim_ik_set_spherical_joint_rotation,"setSphericalJointRotation",(environment_handle:i64,joint_handle:i64,euler_or_quaternion:Vec)->()), +(r#######"Associates a tip dummy with a target dummy, or removes that association. If the tip dummy is already associated with another target dummy, then first remove that association before setting another one"#######,sim_ik_set_target_dummy,"setTargetDummy",(environment_handle:i64,dummy_handle:i64,target_dummy_handle:i64)->()), +(r#######"Convenience function to apply the scene state to its ik environment counterpart. Use together with simIK.addElementFromScene."#######,sim_ik_sync_from_sim,"syncFromSim",(environment_handle:i64,ik_groups:Vec)->()), +(r#######"Convenience function to apply inverse kinematic values computed in the IK world, to the scene. Use together with simIK.addElementFromScene."#######,sim_ik_sync_to_sim,"syncToSim",(environment_handle:i64,ik_groups:Vec)->()) } } \ No newline at end of file diff --git a/src/remote_api_objects/sim/tests.rs b/src/remote_api_objects/sim/tests.rs index 20df5c7..e643864 100644 --- a/src/remote_api_objects/sim/tests.rs +++ b/src/remote_api_objects/sim/tests.rs @@ -16,7 +16,7 @@ fn test_get_simulation_time_functions() -> Result<(), RemoteAPIError> { sim.sim_start_simulation()?; assert_payload! {sim,b"\xa6dfuncssim.startSimulationdargs\x80duuidx$773fb818-718b-4337-ba83-33a13209a3a1cver\x02dlangdrusteargsL\x00"}; - sim.sim_stop_simulation()?; + sim.sim_stop_simulation(None)?; assert_payload! {sim,b"\xa6dfuncrsim.stopSimulationdargs\x80duuidx$773fb818-718b-4337-ba83-33a13209a3a1cver\x02dlangdrusteargsL\x00"}; *sim.result.borrow_mut() = json!({"ret":[1.23],"success":true}); @@ -58,7 +58,7 @@ fn test_simple_test_functions() -> Result<(), RemoteAPIError> { assert_payload!(sim,b"\xa6dfuncjsim.addLogdargs\x82\x19\x01\xc2xVSimulation time: 0.00 [s] (simulation running asynchronously to client, i.e. stepped)duuidx$8a7e3cf4-ae84-4b29-9af3-1e87930b7971cver\x02dlangdrusteargsL\x02"); let objects = (465..515).collect::>(); - sim.sim_remove_objects(objects)?; + sim.sim_remove_objects(objects, None)?; assert_payload!(sim, b"\xa6dfuncqsim.removeObjectsdargs\x81\x982\x19\x01\xd1\x19\x01\xd2\x19\x01\xd3\x19\x01\xd4\x19\x01\xd5\x19\x01\xd6\x19\x01\xd7\x19\x01\xd8\x19\x01\xd9\x19\x01\xda\x19\x01\xdb\x19\x01\xdc\x19\x01\xdd\x19\x01\xde\x19\x01\xdf\x19\x01\xe0\x19\x01\xe1\x19\x01\xe2\x19\x01\xe3\x19\x01\xe4\x19\x01\xe5\x19\x01\xe6\x19\x01\xe7\x19\x01\xe8\x19\x01\xe9\x19\x01\xea\x19\x01\xeb\x19\x01\xec\x19\x01\xed\x19\x01\xee\x19\x01\xef\x19\x01\xf0\x19\x01\xf1\x19\x01\xf2\x19\x01\xf3\x19\x01\xf4\x19\x01\xf5\x19\x01\xf6\x19\x01\xf7\x19\x01\xf8\x19\x01\xf9\x19\x01\xfa\x19\x01\xfb\x19\x01\xfc\x19\x01\xfd\x19\x01\xfe\x19\x01\xff\x19\x02\x00\x19\x02\x01\x19\x02\x02duuidx$8a7e3cf4-ae84-4b29-9af3-1e87930b7971cver\x02dlangdrusteargsL\x01"); Ok(()) @@ -109,54 +109,6 @@ fn test_synchronous_image_transmission_functions() -> Result<(), RemoteAPIError> Ok(()) } -#[test] -fn test_send_ik_movement_sequence_mov_functions() -> Result<(), RemoteAPIError> { - env_logger::init(); - - let mut sim = MockRemoteAPIClient::new_sucess(); - sim.uuid = "782cad7d-4493-42f2-a715-69f740f26ea9".to_string(); - - let handle_id = sim.sim_get_object(String::from("/LBR4p"), None)?; - assert_eq!(handle_id, 1); - - assert_payload!(sim, b"\xa6dfuncmsim.getObjectdargs\x81f/LBR4pduuidx$782cad7d-4493-42f2-a715-69f740f26ea9cver\x02dlangdrusteargsL\x01"); - - let script_handle = sim.sim_get_script(1, Some(13), None)?; - assert_eq!(script_handle, 1); - assert_payload!(sim, b"\xa6dfuncmsim.getScriptdargs\x82\x01\rduuidx$782cad7d-4493-42f2-a715-69f740f26ea9cver\x02dlangdrusteargsL\x02"); - - *sim.result.borrow_mut() = serde_json::json!(json!({"ret":[[114,101,97,100,121]]})); - let signal = sim.sim_get_string_signal(String::from("/LBR4p_executedMovId"))?; - assert_payload!( - sim, - b"\xa6dfuncssim.getStringSignaldargs\x81t/LBR4p_executedMovIdduuidx$782cad7d-4493-42f2-a715-69f740f26ea9cver\x02dlangdrusteargsL\x01" - ); - - let signal = String::from_utf8(signal.unwrap()).unwrap(); - assert_eq!(signal, "ready".to_string()); - - let script_handle = 1010073; - - *sim.result.borrow_mut() = json!({"ret":[[0.005610920649735013,-0.00021765310913694194,1.0726233629223674,0.00015426587889780238,0.00035320923886966716,0.0002262267625328107,0.999999900133357],[-0.00016239643955495708,-0.523748620585974,6.142930608632469e-10,1.047150871028287,0.00003561749575364814,-0.523602489795632,-3.7685468967652014e-8]]}); - let _json = sim.sim_call_script_function( - String::from("remoteApi_getPoseAndConfig"), - script_handle, - None, - )?; - - assert_payload!(sim,b"\xa6dfuncvsim.callScriptFunctiondargs\x82x\x1aremoteApi_getPoseAndConfig\x1a\x00\x0fi\x99duuidx$782cad7d-4493-42f2-a715-69f740f26ea9cver\x02dlangdrusteargsL\x02"); - - let json_arg = json!( {"id": "movSeq1", "type": "mov", "targetPose": [0, 0, 0.85, 0, 0, 0, 1], "maxVel": 0.1, "maxAccel": 0.01}); - let _json_out = sim.sim_call_script_function( - String::from("remoteApi_movementDataFunction"), - script_handle, - Some(json_arg), - )?; - - assert_payload!(sim,b"\xa6dfuncvsim.callScriptFunctiondargs\x83x\x1eremoteApi_movementDataFunction\x1a\x00\x0fi\x99\xa5bidgmovSeq1hmaxAccel\xfb?\x84z\xe1G\xae\x14{fmaxVel\xfb?\xb9\x99\x99\x99\x99\x99\x9ajtargetPose\x87\x00\x00\xfb?\xeb333333\x00\x00\x00\x01dtypecmovduuidx$782cad7d-4493-42f2-a715-69f740f26ea9cver\x02dlangdrusteargsL\x03"); - - Ok(()) -} #[test] fn test_get_step() {