Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: AX-12A Dynamixel mbed iothub_client EthernetInterface NTPClient ConfigFile SDFileSystem iothub_amqp_transport mbed-rtos proton-c-mbed wolfSSL
RobotArmCfg.h
00001 // Copyright (c) Microsoft. All rights reserved. 00002 // Licensed under the MIT license. See LICENSE file in the project root for full license information. 00003 00004 #ifndef __ROBOT_ARM_CFG_H__ 00005 #define __ROBOT_ARM_CFG_H__ 00006 00007 #include "RobotNode.h" 00008 00009 // define number of joints for this arm 00010 static const int NUMJOINTS = 5; 00011 00012 // used to configure each joint 00013 typedef struct _NodeCfg 00014 { 00015 NodePartType JointType; 00016 int JointId; 00017 } NodeCfg; 00018 00019 // specify joints in arm 00020 //static NodeCfg ArmJoints[NUMJOINTS] = { 00021 // { NT_AX12, 2 }, 00022 // { NT_AX12, 3 }, 00023 // { NT_AX12, 4 }, 00024 // { NT_AX12, 6 }, 00025 // { NT_AX12, 1 } 00026 //}; 00027 00028 // specify joints in arm 00029 // array filled in from configuration file 00030 extern NodeCfg ArmJoints[NUMJOINTS]; 00031 00032 extern char* connectionString; 00033 00034 extern bool ReadConfigValues(); 00035 00036 #endif
Generated on Tue Jul 12 2022 16:05:15 by
1.7.2