demo project

Dependencies:   AX-12A Dynamixel mbed iothub_client EthernetInterface NTPClient ConfigFile SDFileSystem iothub_amqp_transport mbed-rtos proton-c-mbed wolfSSL

RobotArmCfg.h

Committer:
henryrawas
Date:
2016-01-23
Revision:
19:2f0ec9ac1238
Parent:
18:224289104fc0
Child:
27:4239713d9690

File content as of revision 19:2f0ec9ac1238:

// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

#ifndef __ROBOT_ARM_CFG_H__
#define __ROBOT_ARM_CFG_H__

#include "RobotNode.h"

// define number of joints for this arm
#define NUMJOINTS   5

// used to configure each joint
typedef struct _NodeCfg
{
    NodePartType    JointType;
    int             JointId;
} NodeCfg;

// specify joints in arm
static NodeCfg ArmJoints[NUMJOINTS] = {
    { NT_AX12, 2 },
    { NT_AX12, 3 },
    { NT_AX12, 4 },
    { NT_AX12, 6 },
    { NT_AX12, 1 }
};


#endif