API C#
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Kinova.API.Jaco.Maintenance.CJacoToolManager Class Reference

This class represents all the diagnostic tools method of JACO. Now, there is only method and it is the one to reprogram the main board. More...

Public Member Functions

 CJacoToolManager (CCypherMessage encryptedPass)
 Initializes a new instance of the CJacoToolManager class. More...
 
void RestoreFactorySettings ()
 Restores the JACO arm default's settings. You need to reboot(hardware) JACO after the method's call to make the changes effective. More...
 
int ReprogrammingJacoArm (string path)
 Reprogrammings the jaco arm. Do not use this method unless you know exactly what you are doing. More...
 
void SetZeroJoint (byte[] val)
 Sets the zero joint. WARNING : Do not use this method lightly, you can cause serious damage to JACO. If you do not know what it does, DO NOT USE IT!! More...
 
void SetZeroTorqueSensor (byte[] val)
 
void SetActuatorAddress (byte[] val)
 
void SetSerialNumber (string serial)
 

Detailed Description

This class represents all the diagnostic tools method of JACO. Now, there is only method and it is the one to reprogram the main board.

Constructor & Destructor Documentation

Kinova.API.Jaco.Maintenance.CJacoToolManager.CJacoToolManager ( CCypherMessage  encryptedPass)

Initializes a new instance of the CJacoToolManager class.

Parameters
encryptedPassThe encrypted pass.

Member Function Documentation

int Kinova.API.Jaco.Maintenance.CJacoToolManager.ReprogrammingJacoArm ( string  path)

Reprogrammings the jaco arm. Do not use this method unless you know exactly what you are doing.

Parameters
pathThe path.
Returns
Exceptions
CJACOOfflineExceptionJACO is offline (USB Connection)
CAccessDeniedExceptionYou must enter a valid password when you declare a CJacoArm object.
CJacoCommFailedExceptionCommunication has been broken and the system was not able to recover from the fault.
CPacketSynchroExceptionA USB packet has been skip during the communication.
void Kinova.API.Jaco.Maintenance.CJacoToolManager.RestoreFactorySettings ( )

Restores the JACO arm default's settings. You need to reboot(hardware) JACO after the method's call to make the changes effective.

try { CCypherMessage cypherPass;

//MyValidPassword is a string containing the password. cypherPass = Crypto.GetInstance().Encrypt(MyValidPassword); CJacoArm m_Jaco = new CJacoArm(cypherPass);

if (m_Jaco.JacoIsReady()) { m_Jaco.DiagnosticManager.ToolManager.RestoreFactorySettings();

//REBOOT your Jaco to complete the operation. //You now have a factory default JACO. } } catch (Exception ex) { System.Console.WriteLine("EXCEPTION"); }

Returns
Exceptions
CJACOOfflineExceptionJACO is offline (USB Connection)
CAccessDeniedExceptionYou must enter a valid password when you declare a CJacoArm object.
CJacoCommFailedExceptionCommunication has been broken and the system was not able to recover from the fault.
CPacketSynchroExceptionA USB packet has been skip during the communication.
void Kinova.API.Jaco.Maintenance.CJacoToolManager.SetZeroJoint ( byte[]  val)

Sets the zero joint. WARNING : Do not use this method lightly, you can cause serious damage to JACO. If you do not know what it does, DO NOT USE IT!!

Parameters
valThe val.
Exceptions
CJACOOfflineExceptionJACO is offline (USB Connection)
CAccessDeniedExceptionYou must enter a valid password when you declare a CJacoArm object.
CJacoCommFailedExceptionCommunication has been broken and the system was not able to recover from the fault.
CPacketSynchroExceptionA USB packet has been skip during the communication.

The documentation for this class was generated from the following file: