Skip to content

Commit

Permalink
deprecated functions in packethandler.h remained was removed
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonJung committed May 16, 2018
1 parent 45fa419 commit c55b759
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
14 changes: 0 additions & 14 deletions c++/include/dynamixel_sdk/packet_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,27 +100,13 @@ class WINDECLSPEC PacketHandler
////////////////////////////////////////////////////////////////////////////////
virtual const char *getTxRxResult (int result) = 0;

////////////////////////////////////////////////////////////////////////////////
/// @brief The function that prints out description of communication result
/// @param result Communication result which might be gotten by the tx rx functions
/// @todo This function is deprecated (removed in DynamixelSDK ver. 3.6.1)
////////////////////////////////////////////////////////////////////////////////
DEPRECATED virtual void printTxRxResult (int result) = 0;

////////////////////////////////////////////////////////////////////////////////
/// @brief The function that gets description of hardware error
/// @param error Dynamixel hardware error which might be gotten by the tx rx functions
/// @return description of hardware error in const char* (string)
////////////////////////////////////////////////////////////////////////////////
virtual const char *getRxPacketError (uint8_t error) = 0;

////////////////////////////////////////////////////////////////////////////////
/// @brief The function that prints out description of hardware error
/// @param error Dynamixel hardware error which might be gotten by the tx rx functions
/// @todo This function is deprecated (removed in DynamixelSDK ver. 3.6.1)
////////////////////////////////////////////////////////////////////////////////
DEPRECATED virtual void printRxPacketError (uint8_t error) = 0;

////////////////////////////////////////////////////////////////////////////////
/// @brief The function that transmits the instruction packet txpacket via PortHandler port.
/// @description The function clears the port buffer by PortHandler::clearPort() function,
Expand Down
2 changes: 0 additions & 2 deletions c/include/dynamixel_sdk/packet_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ PacketData *packetData;
WINDECLSPEC void packetHandler ();

WINDECLSPEC const char *getTxRxResult (int protocol_version, int result);
DEPRECATED WINDECLSPEC void printTxRxResult (int protocol_version, int result);
WINDECLSPEC const char *getRxPacketError (int protocol_version, uint8_t error);
DEPRECATED WINDECLSPEC void printRxPacketError (int protocol_version, uint8_t error);

WINDECLSPEC int getLastTxRxResult (int port_num, int protocol_version);
WINDECLSPEC uint8_t getLastRxPacketError (int port_num, int protocol_version);
Expand Down

0 comments on commit c55b759

Please sign in to comment.