Dynamixel
2.9.5
RoadNarrows Robotics Dynamixel Package
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
bsDynaMsgs.xml
1
<?
xml
version
=
"1.0"
encoding
=
"UTF-8"
?>
2
<!
DOCTYPE
netmsgs
PUBLIC
"-//www.roadnarrows.com//DTD NETMSGS 1.0//EN"
3
"http://www.roadnarrows.com/xml/netmsgs/1.0/netmsgs.dtd"
>
4
5
<!--
6
- Package: Dynamixel
7
- Module: bsDyna
8
- File: bsDynaMsgs.xml
9
-
10
11
/*!
12
\file
13
14
$LastChangedDate: 2015-01-12 10:56:06 -0700 (Mon, 12 Jan 2015) $
15
$Rev: 3845 $
16
17
\brief BotSense client - bsProxy server Dynamixel device messages.
18
19
\author Robin Knight (robin.knight@roadnarrows.com)
20
21
- \copyright
22
- \h_copy 2012-2017. RoadNarrows LLC.\n
23
- http://www.roadnarrows.com\n
24
- All Rights Reserved
25
*/
26
-->
27
28
<!--
29
@EulaBegin@
30
-
31
- Unless otherwise stated explicitly, all materials contained are copyrighted
32
- and may not be used without RoadNarrows LLC's written consent,
33
- except as provided in these terms and conditions or in the copyright
34
- notice (documents and software) or other proprietary notice provided with
35
- the relevant materials.
36
-
37
- IN NO EVENT SHALL THE AUTHOR, ROADNARROWS LLC, OR ANY
38
- MEMBERS/EMPLOYEES/CONTRACTORS OF ROADNARROWS OR DISTRIBUTORS OF THIS SOFTWARE
39
- BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR
40
- CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
41
- DOCUMENTATION, EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN
42
- ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
43
-
44
- THE AUTHORS AND ROADNARROWS LLC SPECIFICALLY DISCLAIM ANY WARRANTIES,
45
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
46
- FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN
47
- "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO
48
- PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
49
-
50
@EulaEnd@
51
-->
52
53
<
netmsgs
encoding
=
"itv"
endian
=
"big"
>
54
55
<!-- ........................................................................
56
- Meta Data to Tweak Source Generation
57
....................................................................... -->
58
<
meta
>
59
<
brief
>
60
\
h_botsense
Server
/
Client
Dynamixel
NetMsgs
XML
Definitions.
61
</
brief
>
62
<
ns
>
BsDyna
</
ns
>
63
<
prologue
lang
=
"h"
>
64
#
include
"botsense/BotSense.h"
65
#
include
"Dynamixel/Dynamixel.h"
66
</
prologue
>
67
<
epilogue
lang
=
"h"
></
epilogue
>
68
<
prologue
lang
=
"c"
></
prologue
>
69
<
epilogue
lang
=
"c"
></
epilogue
>
70
<
prologue
lang
=
"python"
>
71
</
prologue
>
72
<
epilogue
lang
=
"python"
></
epilogue
>
73
</
meta
>
74
75
<!-- ........................................................................
76
- Extended Field Types (Optional)
77
....................................................................... -->
78
<
field_types
>
79
<
ftypedef
ftid
=
"WriteTuple"
ftype
=
"struct"
>
80
<
fielddef
fname
=
"servo_id"
ftype
=
"u8"
/>
81
<
fielddef
fname
=
"val"
ftype
=
"u16"
/>
82
</
ftypedef
>
83
</
field_types
>
84
85
86
<!-- ........................................................................
87
- Message Definitions
88
....................................................................... -->
89
<
msg_types
>
90
91
<!-- Dynamixel USB Serial Open Request Arguments Sub-Message -->
92
<
msgdef
msgid
=
"ReqOpenArgs"
>
93
<
fielddef
fname
=
"baudrate"
ftype
=
"u32"
/>
94
</
msgdef
>
95
96
<!-- Set Baudrate Request (Ok Response) -->
97
<
msgdef
msgid
=
"ReqSetBaudRate"
>
98
<
fielddef
fname
=
"baudrate"
ftype
=
"u32"
/>
99
</
msgdef
>
100
101
<!-- Read 8-btis Request -->
102
<
msgdef
msgid
=
"ReqRead8"
>
103
<
fielddef
fname
=
"servo_id"
ftype
=
"u8"
/>
104
<
fielddef
fname
=
"addr"
ftype
=
"u8"
/>
105
</
msgdef
>
106
107
<!-- Read 8-btis Response -->
108
<
msgdef
msgid
=
"RspRead8"
>
109
<
fielddef
fname
=
"alarms"
ftype
=
"u8"
/>
110
<
fielddef
fname
=
"val"
ftype
=
"u8"
/>
111
</
msgdef
>
112
113
<!-- Read 16-btis Request -->
114
<
msgdef
msgid
=
"ReqRead16"
>
115
<
fielddef
fname
=
"servo_id"
ftype
=
"u8"
/>
116
<
fielddef
fname
=
"addr"
ftype
=
"u8"
/>
117
</
msgdef
>
118
119
<!-- Read 8-btis Response -->
120
<
msgdef
msgid
=
"RspRead16"
>
121
<
fielddef
fname
=
"alarms"
ftype
=
"u8"
/>
122
<
fielddef
fname
=
"val"
ftype
=
"u16"
/>
123
</
msgdef
>
124
125
<!-- Write 8-btis Request -->
126
<
msgdef
msgid
=
"ReqWrite8"
>
127
<
fielddef
fname
=
"servo_id"
ftype
=
"u8"
/>
128
<
fielddef
fname
=
"addr"
ftype
=
"u8"
/>
129
<
fielddef
fname
=
"val"
ftype
=
"u8"
/>
130
</
msgdef
>
131
132
<!-- Write 8-btis Response -->
133
<
msgdef
msgid
=
"RspWrite8"
>
134
<
fielddef
fname
=
"alarms"
ftype
=
"u8"
/>
135
</
msgdef
>
136
137
<!-- Write 16-btis Request -->
138
<
msgdef
msgid
=
"ReqWrite16"
>
139
<
fielddef
fname
=
"servo_id"
ftype
=
"u8"
/>
140
<
fielddef
fname
=
"addr"
ftype
=
"u8"
/>
141
<
fielddef
fname
=
"val"
ftype
=
"u16"
/>
142
</
msgdef
>
143
144
<!-- Write 16-btis Response -->
145
<
msgdef
msgid
=
"RspWrite16"
>
146
<
fielddef
fname
=
"alarms"
ftype
=
"u8"
/>
147
</
msgdef
>
148
149
<!-- Sync Write Request (Ok Response) -->
150
<
msgdef
msgid
=
"ReqSyncWrite"
>
151
<
fielddef
fname
=
"addr"
ftype
=
"u8"
/>
152
<
fielddef
fname
=
"data_size"
ftype
=
"u8"
/>
153
<
fielddef
fname
=
"tuples"
ftype
=
"WriteTuple[]"
size
=
"DYNA_ID_NUMOF"
/>
154
</
msgdef
>
155
156
<!-- Ping Servo Request -->
157
<
msgdef
msgid
=
"ReqPing"
>
158
<
fielddef
fname
=
"servo_id"
ftype
=
"u8"
/>
159
</
msgdef
>
160
161
<!-- Ping Servo Response -->
162
<
msgdef
msgid
=
"RspPing"
>
163
<
fielddef
fname
=
"pong"
ftype
=
"bool"
/>
164
</
msgdef
>
165
166
<!-- Reset Servo Request (Ok Response) -->
167
<
msgdef
msgid
=
"ReqReset"
>
168
<
fielddef
fname
=
"servo_id"
ftype
=
"u8"
/>
169
</
msgdef
>
170
171
<!-- Set Half-Duplex Control Request (Ok Response) -->
172
<
msgdef
msgid
=
"ReqSetHalfDuplexCtl"
>
173
<
fielddef
fname
=
"signal"
ftype
=
"u32"
/>
174
</
msgdef
>
175
176
</
msg_types
>
177
178
</
netmsgs
>
bsMsgs
bsDynaMsgs.xml
Generated on Fri Aug 10 2018 13:55:26 for Dynamixel by
1.8.11
©2018 RoadNarrows LLC
www.roadnarrows.com