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:
18:224289104fc0
Child:
19:2f0ec9ac1238

File content as of revision 18:224289104fc0:

/* 
Copyright (c) 2015 Jonathan Pickett & Microsoft. Some appropriate open source license.
*/

#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