![]() FIRST ROBOTICS LABVIEW 2014 DRIVERSMake sure you have installed the latest Falcon drivers and SDK and then copy the folder “hdl” into your LabVIEW’s user.lib folder. Here you can find the hdl library ( hdl Library). Here you can see the behaviour of the haptic with different elasticities. You can see the program in action in the following video. The elasticity constant can be changed on line, and the positions are shown in a chart. Let’s make another example with force generation. In this next case a simple elastic model is going to be used. The force output force is opposed, and proportional, to the displacement of the haptic from its workspace origin. Remember to stop the program pressing the “Stop” boolean control. You can use a chart and the default array indicators. The haptic is not going to move so don’t be afraid to try:Ĭheck in the user panel that the buttons and the position readings are working. You can start by making a read only program like this. Here, in case that the haptic is not ready you get a message and your program stops. So don’t forget to stop your program using your panel Stop button, instead of the “Abort” button. Else your computer will have a bad digestion and you’ll need to restart LabVIEW. Waning: Always “uninit” your device ID before “initing” another one. At the end you must “Stop” the servo thread and “uninit” the used ID. ![]() A lower rate just makes a poorer haptic illusion. It is your responsibility to repeatedly read and write to the haptic at a rate of about 1000 times per second (yes, 1000). Else you can “start” the servo thread and make the ID the default ID value for the read and write operations. If this fail (the device is not ready), a -1 is returned and your program should stop. The good news are that because the concurrent nature of LabVIEW language and the lack of conventional classes architecture, is easier Minimum exampleįirst you need to “init” the device to get a device ID. The Y axis is pointing up and the Z is aiming toward the user. The Cartesian workspace is about 20 cm with with origin at the center position. Also, the status of the tool-tip buttons can be read. As this is a three degrees of freedom (DOF’s) system, only forces and positions along the X, Y and Z axes are exchanged. FIRST ROBOTICS LABVIEW 2014 HOW TOElse you can learn how to build it by yourself here.Īn impedance-type haptic link this one is a very simple device: it receives Cartesian forces and return its position. If you already have the “hdl” library its time to start programming.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |