Skip to content

Commit 17b384b

Browse files
author
Shota Aoki
authored
Rename dynamixel xm to x (#21)
* dynamixel_xmファイルをdynamixel_xファイルに変更 * dynamixel_xクラスでビルドするように修正 * test_dynamixel_xにファイル名を変更 * テストが通るように修正
1 parent c49adc5 commit 17b384b

File tree

9 files changed

+111
-111
lines changed

9 files changed

+111
-111
lines changed

rt_manipulators_lib/include/dynamixel_xm.hpp renamed to rt_manipulators_lib/include/dynamixel_x.hpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef RT_MANIPULATORS_LIB_INCLUDE_DYNAMIXEL_XM_HPP_
16-
#define RT_MANIPULATORS_LIB_INCLUDE_DYNAMIXEL_XM_HPP_
15+
#ifndef RT_MANIPULATORS_LIB_INCLUDE_DYNAMIXEL_X_HPP_
16+
#define RT_MANIPULATORS_LIB_INCLUDE_DYNAMIXEL_X_HPP_
1717

1818
#include <string>
1919
#include <vector>
2020

2121
#include "dynamixel_base.hpp"
2222

23-
namespace dynamixel_xm {
23+
namespace dynamixel_x {
2424

25-
class DynamixelXM : public dynamixel_base::DynamixelBase {
25+
class DynamixelX : public dynamixel_base::DynamixelBase {
2626
public:
27-
explicit DynamixelXM(const uint8_t id, const int home_position = 2048);
27+
explicit DynamixelX(const uint8_t id, const int home_position = 2048);
2828

2929
bool read_operating_mode(const dynamixel_base::comm_t & comm, uint8_t & mode);
3030
bool write_operating_mode(const dynamixel_base::comm_t & comm, const uint8_t mode);
@@ -125,6 +125,6 @@ class DynamixelXM : public dynamixel_base::DynamixelBase {
125125
uint16_t & indirect_addr);
126126
};
127127

128-
} // namespace dynamixel_xm
128+
} // namespace dynamixel_x
129129

130-
#endif // RT_MANIPULATORS_LIB_INCLUDE_DYNAMIXEL_XM_HPP_
130+
#endif // RT_MANIPULATORS_LIB_INCLUDE_DYNAMIXEL_X_HPP_

rt_manipulators_lib/include/dynamixel_xm430.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
#ifndef RT_MANIPULATORS_LIB_INCLUDE_DYNAMIXEL_XM430_HPP_
1616
#define RT_MANIPULATORS_LIB_INCLUDE_DYNAMIXEL_XM430_HPP_
1717

18-
#include "dynamixel_xm.hpp"
18+
#include "dynamixel_x.hpp"
1919

2020
namespace dynamixel_xm430 {
2121

22-
class DynamixelXM430 : public dynamixel_xm::DynamixelXM {
22+
class DynamixelXM430 : public dynamixel_x::DynamixelX {
2323
public:
2424
explicit DynamixelXM430(const uint8_t id);
2525
};

rt_manipulators_lib/include/dynamixel_xm540.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
#ifndef RT_MANIPULATORS_LIB_INCLUDE_DYNAMIXEL_XM540_HPP_
1616
#define RT_MANIPULATORS_LIB_INCLUDE_DYNAMIXEL_XM540_HPP_
1717

18-
#include "dynamixel_xm.hpp"
18+
#include "dynamixel_x.hpp"
1919

2020
namespace dynamixel_xm540 {
2121

22-
class DynamixelXM540 : public dynamixel_xm::DynamixelXM {
22+
class DynamixelXM540 : public dynamixel_x::DynamixelX {
2323
public:
2424
explicit DynamixelXM540(const uint8_t id);
2525
};

rt_manipulators_lib/src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ add_library(${library_name}
1212
kinematics.cpp
1313
kinematics_utils.cpp
1414
config_file_parser.cpp
15-
dynamixel_xm.cpp
15+
dynamixel_x.cpp
1616
dynamixel_xm430.cpp
1717
dynamixel_xm540.cpp
1818
)

0 commit comments

Comments
 (0)