The RemoteUpgrade module provides the function of remote upgrading for the robot control software.
#include <Elite/RemoteUpgrade.hpp>bool upgradeControlSoftware(std::string ip, std::string file, std::string password)- Function Upgrades the robot control software.
- Parameters
ip: The IP address of the robot.file: The path of the upgrade file.password: The SSH password of the robot controller.
- Return Value
true: The upgrade is successful.false: The upgrade fails.
- Notes
- Under the Linux system, if
libsshis not installed, it is necessary to ensure that the computer running the SDK has thescp,ssh, andsshpasscommands available. - Under the Windows system, if
libsshis not installed, this interface is not available.
- Under the Linux system, if