Skip to content

Commit

Permalink
Misc updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremiedecock committed Aug 27, 2015
1 parent 448ca0a commit 4b5053a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions pyax12/instruction_packet.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ class InstructionPacket(pk.Packet):
The structure of the instruction packet is as the following::
+----+----+--+------+-----------+----------+---+-----------+---------+
|0XFF|0XFF|ID|LENGTH|INSTRUCTION|PARAMETER1|...|PARAMETER N|CHECK SUM|
+----+----+--+------+-----------+----------+---+-----------+---------+
+----+----+--+------+-----------+----------+---+-----------+---------+
|0XFF|0XFF|ID|LENGTH|INSTRUCTION|PARAMETER1|...|PARAMETER N|CHECK SUM|
+----+----+--+------+-----------+----------+---+-----------+---------+
:param int dynamixel_id: the the unique ID of the Dynamixel unit which
have to execute this instruction packet.
Expand Down
6 changes: 3 additions & 3 deletions pyax12/packet.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ class Packet(object):
The structure of a general `Packet` is as the following::
+----+----+--+------+-------+---------+
|0xFF|0xFF|ID|LENGTH|DATA...|CHECK SUM|
+----+----+--+------+-------+---------+
+----+----+--+------+-------+---------+
|0xFF|0xFF|ID|LENGTH|DATA...|CHECK SUM|
+----+----+--+------+-------+---------+
This class has been made for debugging purpose and is not intended to be
used widely to create packets.
Expand Down
6 changes: 3 additions & 3 deletions pyax12/status_packet.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ class StatusPacket(pk.Packet):
The structure of the status packet is as the following::
+----+----+--+------+-----+----------+---+-----------+---------+
|0XFF|0XFF|ID|LENGTH|ERROR|PARAMETER1|...|PARAMETER N|CHECK SUM|
+----+----+--+------+-----+----------+---+-----------+---------+
+----+----+--+------+-----+----------+---+-----------+---------+
|0XFF|0XFF|ID|LENGTH|ERROR|PARAMETER1|...|PARAMETER N|CHECK SUM|
+----+----+--+------+-----+----------+---+-----------+---------+
StatusPacket is not intended to be instancied by users (except maybe
for testing and debugging prupose). Under normal conditions of use,
Expand Down

0 comments on commit 4b5053a

Please sign in to comment.