2025-10-24 14:37:17 +08:00
|
|
|
//
|
|
|
|
|
// Created by linbo on 2025/10/24.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#include "jointpositioncontroller.h"
|
|
|
|
|
using namespace std;
|
|
|
|
|
using namespace cmvr::device;
|
|
|
|
|
JointPositionController::JointPositionController(const XmlNode& cfg):AbstractController(cfg)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2025-10-24 17:06:17 +08:00
|
|
|
void JointPositionController::call(const Json::Value& json)
|
2025-10-24 14:37:17 +08:00
|
|
|
{
|
2025-10-24 14:44:45 +08:00
|
|
|
if (state_ != ControllerState_Idle)
|
|
|
|
|
return;
|
2025-10-24 14:37:17 +08:00
|
|
|
}
|
|
|
|
|
void JointPositionController::stop()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|