Skip to content

how to control same joint on different part like left_arm & right_arm #635

Answered by pattacini
jimingda asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jimingda

Find below a possible implementation.
I didn't compile it though so there might be errors.

// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
//
// A tutorial on how to use the Gaze Interface.
//
// Author: Ugo Pattacini - <[email protected]>

#include <cstdlib>
#include <mutex>
#include <condition_variable>
#include <cmath>

#include <yarp/os/Network.h>
#include <yarp/os/LogStream.h>
#include <yarp/os/RFModule.h>
#include <yarp/os/RpcServer.h>
#include <yarp/os/Time.h>

#include <yarp/dev/Drivers.h>
#include <yarp/dev/PolyDriver.h>
#include <yarp/dev/ControlBoardInterfaces.h>

using namespace std;
using namespace yarp::os;
using namespace yarp::dev;


Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@jimingda
Comment options

@pattacini
Comment options

Answer selected by jimingda
@jimingda
Comment options

@pattacini
Comment options

@jimingda
Comment options

@pattacini
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants