Example #1
0
void cvzMmcm_IDL::pause() {
  cvzMmcm_IDL_pause helper;
  helper.init();
  if (!yarp().canWrite()) {
    yError("Missing server method '%s'?","void cvzMmcm_IDL::pause()");
  }
  yarp().write(helper,helper);
}
Example #2
0
void cvzMmcm_IDL::setLearningRate(const double l) {
  cvzMmcm_IDL_setLearningRate helper;
  helper.init(l);
  if (!yarp().canWrite()) {
    yError("Missing server method '%s'?","void cvzMmcm_IDL::setLearningRate(const double l)");
  }
  yarp().write(helper,helper);
}
Example #3
0
void cvzMmcm_IDL::setSigma(const double s) {
  cvzMmcm_IDL_setSigma helper;
  helper.init(s);
  if (!yarp().canWrite()) {
    yError("Missing server method '%s'?","void cvzMmcm_IDL::setSigma(const double s)");
  }
  yarp().write(helper,helper);
}
bool fingersTuner_IDLServer::save() {
  bool _return = false;
  fingersTuner_IDLServer_save helper;
  if (!yarp().canWrite()) {
    fprintf(stderr,"Missing server method '%s'?\n","bool fingersTuner_IDLServer::save()");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #5
0
int32_t IRpcServer::get_answer() {
  int32_t _return = 0;
  IRpcServer_get_answer helper;
  if (!yarp().canWrite()) {
    fprintf(stderr,"Missing server method '%s'?\n","int32_t IRpcServer::get_answer()");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #6
0
bool IRpcServer::is_running() {
  bool _return = false;
  IRpcServer_is_running helper;
  if (!yarp().canWrite()) {
    fprintf(stderr,"Missing server method '%s'?\n","bool IRpcServer::is_running()");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
bool tactileGrasp_IDLServer::quit() {
  bool _return = false;
  tactileGrasp_IDLServer_quit helper;
  if (!yarp().canWrite()) {
    fprintf(stderr,"Missing server method '%s'?\n","bool tactileGrasp_IDLServer::quit()");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
bool forceCoPController::quit() {
  bool _return = false;
  forceCoPController_quit helper;
  helper.init();
  if (!yarp().canWrite()) {
    yError("Missing server method '%s'?","bool forceCoPController::quit()");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #9
0
std::string floatingBaseEstimatorRPC::getCurrentSettingsString() {
  std::string _return = "";
  floatingBaseEstimatorRPC_getCurrentSettingsString helper;
  helper.init();
  if (!yarp().canWrite()) {
    yError("Missing server method '%s'?","std::string floatingBaseEstimatorRPC::getCurrentSettingsString()");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #10
0
bool floatingBaseEstimatorRPC::changeFixedLinkSimpleLeggedOdometry(const std::string& new_fixed_frame) {
  bool _return = false;
  floatingBaseEstimatorRPC_changeFixedLinkSimpleLeggedOdometry helper;
  helper.init(new_fixed_frame);
  if (!yarp().canWrite()) {
    yError("Missing server method '%s'?","bool floatingBaseEstimatorRPC::changeFixedLinkSimpleLeggedOdometry(const std::string& new_fixed_frame)");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #11
0
bool floatingBaseEstimatorRPC::resetSimpleLeggedOdometryToArbitraryFrame(const std::string& initial_reference_frame, const HomTransform& initial_reference_frame_H_world, const std::string& initial_fixed_frame) {
  bool _return = false;
  floatingBaseEstimatorRPC_resetSimpleLeggedOdometryToArbitraryFrame helper;
  helper.init(initial_reference_frame,initial_reference_frame_H_world,initial_fixed_frame);
  if (!yarp().canWrite()) {
    yError("Missing server method '%s'?","bool floatingBaseEstimatorRPC::resetSimpleLeggedOdometryToArbitraryFrame(const std::string& initial_reference_frame, const HomTransform& initial_reference_frame_H_world, const std::string& initial_fixed_frame)");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #12
0
std::string yarprobotinterfaceRpc::exit() {
  std::string _return = "";
  yarprobotinterfaceRpc_exit helper;
  helper.init();
  if (!yarp().canWrite()) {
    yError("Missing server method '%s'?","std::string yarprobotinterfaceRpc::exit()");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #13
0
bool yarprobotinterfaceRpc::is_ready() {
  bool _return = false;
  yarprobotinterfaceRpc_is_ready helper;
  helper.init();
  if (!yarp().canWrite()) {
    yError("Missing server method '%s'?","bool yarprobotinterfaceRpc::is_ready()");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #14
0
int32_t yarprobotinterfaceRpc::get_level() {
  int32_t _return = 0;
  yarprobotinterfaceRpc_get_level helper;
  helper.init();
  if (!yarp().canWrite()) {
    yError("Missing server method '%s'?","int32_t yarprobotinterfaceRpc::get_level()");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #15
0
int32_t IRpcServer::add_one(const int32_t x) {
  int32_t _return = 0;
  IRpcServer_add_one helper;
  helper.x = x;
  if (!yarp().canWrite()) {
    fprintf(stderr,"Missing server method '%s'?\n","int32_t IRpcServer::add_one(const int32_t x)");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #16
0
bool IRpcServer::set_answer(const int32_t rightAnswer) {
  bool _return = false;
  IRpcServer_set_answer helper;
  helper.rightAnswer = rightAnswer;
  if (!yarp().canWrite()) {
    fprintf(stderr,"Missing server method '%s'?\n","bool IRpcServer::set_answer(const int32_t rightAnswer)");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #17
0
bool cvzMmcm_IDL::saveRF(const std::string& path) {
  bool _return = false;
  cvzMmcm_IDL_saveRF helper;
  helper.init(path);
  if (!yarp().canWrite()) {
    yError("Missing server method '%s'?","bool cvzMmcm_IDL::saveRF(const std::string& path)");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #18
0
double cvzMmcm_IDL::getActivity(const int32_t x, const int32_t y, const int32_t z) {
  double _return = (double)0;
  cvzMmcm_IDL_getActivity helper;
  helper.init(x,y,z);
  if (!yarp().canWrite()) {
    yError("Missing server method '%s'?","double cvzMmcm_IDL::getActivity(const int32_t x, const int32_t y, const int32_t z)");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
bool fingersTuner_IDL::tune(const std::string& part, const yarp::os::Value& val) {
  bool _return = false;
  fingersTuner_IDL_tune helper;
  helper.init(part,val);
  if (!yarp().canWrite()) {
    fprintf(stderr,"Missing server method '%s'?\n","bool fingersTuner_IDL::tune(const std::string& part, const yarp::os::Value& val)");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #20
0
bool cvzMmcm_IDL::quit() {
  bool _return = false;
  cvzMmcm_IDL_quit helper;
  helper.init();
  if (!yarp().canWrite()) {
    yError("Missing server method '%s'?","bool cvzMmcm_IDL::quit()");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #21
0
double cvzMmcm_IDL::getSigma() {
  double _return = (double)0;
  cvzMmcm_IDL_getSigma helper;
  helper.init();
  if (!yarp().canWrite()) {
    yError("Missing server method '%s'?","double cvzMmcm_IDL::getSigma()");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #22
0
bool iol2opc_IDL::change_name(const std::string& old_name, const std::string& new_name) {
  bool _return = false;
  iol2opc_IDL_change_name helper;
  helper.init(old_name,new_name);
  if (!yarp().canWrite()) {
    yError("Missing server method '%s'?","bool iol2opc_IDL::change_name(const std::string& old_name, const std::string& new_name)");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #23
0
bool iol2opc_IDL::remove_all() {
  bool _return = false;
  iol2opc_IDL_remove_all helper;
  helper.init();
  if (!yarp().canWrite()) {
    yError("Missing server method '%s'?","bool iol2opc_IDL::remove_all()");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #24
0
bool iol2opc_IDL::remove_object(const std::string& name) {
  bool _return = false;
  iol2opc_IDL_remove_object helper;
  helper.init(name);
  if (!yarp().canWrite()) {
    yError("Missing server method '%s'?","bool iol2opc_IDL::remove_object(const std::string& name)");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
bool fingersTuner_IDLServer::sync(const std::string& part, const yarp::os::Value& val) {
  bool _return = false;
  fingersTuner_IDLServer_sync helper;
  helper.part = part;
  helper.val = val;
  if (!yarp().canWrite()) {
    fprintf(stderr,"Missing server method '%s'?\n","bool fingersTuner_IDLServer::sync(const std::string& part, const yarp::os::Value& val)");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
bool tactileGrasp_IDLServer::setThreshold(const int32_t aFinger, const double aThreshold) {
  bool _return = false;
  tactileGrasp_IDLServer_setThreshold helper;
  helper.aFinger = aFinger;
  helper.aThreshold = aThreshold;
  if (!yarp().canWrite()) {
    fprintf(stderr,"Missing server method '%s'?\n","bool tactileGrasp_IDLServer::setThreshold(const int32_t aFinger, const double aThreshold)");
  }
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #27
0
int32_t Demo::add_one(const int32_t x) {
  int32_t _return = 0;
  Demo_add_one helper;
  helper.x = x;
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
Example #28
0
int32_t Demo::double_down(const int32_t x) {
  int32_t _return = 0;
  Demo_double_down helper;
  helper.x = x;
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
bool dmpExecutorInterface::set_hand(const Hand newHand) {
  bool _return = false;
  dmpExecutorInterface_set_hand helper;
  helper.newHand = newHand;
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}
bool dmpExecutorInterface::execute_OPC(const int32_t id) {
  bool _return = false;
  dmpExecutorInterface_execute_OPC helper;
  helper.id = id;
  bool ok = yarp().write(helper,helper);
  return ok?helper._return:_return;
}