Skip to content

Commit cc5552e

Browse files
committed
FIX: unify namespace tag
1 parent 3561eaa commit cc5552e

File tree

6 files changed

+14
-13
lines changed

6 files changed

+14
-13
lines changed

robotiq_hande_driver/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ endforeach()
3030
add_library(${PROJECT_NAME}
3131
SHARED
3232
hardware/src/hande_hardware_interface.cpp
33+
hardware/src/application.cpp
34+
hardware/src/communication.cpp
35+
hardware/src/protocol_logic.cpp
3336
)
3437

3538
add_executable(communication_test test/communication_test.cpp)

robotiq_hande_driver/hardware/include/robotiq_hande_driver/application.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ class GripperApplication {
254254
};
255255

256256
/**
257-
* @brief Closes the gripper.
257+
* @brief Reads gripper data.
258258
*
259259
* @param none
260260
* @return None.
@@ -263,7 +263,7 @@ class GripperApplication {
263263
void read();
264264

265265
/**
266-
* @brief Closes the gripper.
266+
* @brief Writes gripper data.
267267
*
268268
* @param none
269269
* @return None.

robotiq_hande_driver/hardware/include/robotiq_hande_driver/communication.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
#include <cstring>
66
#include <string>
77

8-
#include <rclcpp/rclcpp.hpp>
9-
108

119
namespace robotiq_hande_driver
1210
{

robotiq_hande_driver/hardware/src/application.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
#include "application.hpp"
1+
#include "robotiq_hande_driver/application.hpp"
22

33
#include <cstdio>
44

55

6-
namespace hande_driver {
6+
namespace robotiq_hande_driver {
77

88
GripperApplication::GripperApplication()
99
: requested_position_()
@@ -32,4 +32,4 @@ void GripperApplication::read(){
3232
position_ = gripper_position_max_ - (double)protocol_logic_.get_pos() * gripper_postion_step_;
3333
current_ = (double)protocol_logic_.get_current() * GRIPPER_CURRENT_SCALE;
3434
}
35-
} // namespace hande_driver
35+
} // namespace robotiq_hande_driver

robotiq_hande_driver/hardware/src/communication.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
#include "communication.hpp"
1+
#include "robotiq_hande_driver/communication.hpp"
22

33
#include <cstdio>
44

55

6-
namespace hande_driver {
6+
namespace robotiq_hande_driver {
77

88
Communication::Communication()
99
: input_bytes_{}
@@ -25,4 +25,4 @@ void Communication::connect(){
2525
else
2626
printf("Couldn't connect: %d\n", result);
2727
}
28-
} // namespace hande_driver
28+
} // namespace robotiq_hande_driver

robotiq_hande_driver/hardware/src/protocol_logic.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
#include "protocol_logic.hpp"
1+
#include "robotiq_hande_driver/protocol_logic.hpp"
22

33
#include <cstdio>
44

55

6-
namespace hande_driver {
6+
namespace robotiq_hande_driver {
77

88
ProtocolLogic::ProtocolLogic()
99
: status_()
@@ -43,4 +43,4 @@ void ProtocolLogic::refresh_registers(){
4343
position_ = communication_.get_input_byte(InputBytes::POSITION);
4444
current_ = communication_.get_input_byte(InputBytes::CURRENT);
4545
}
46-
} // namespace hande_driver
46+
} // namespace robotiq_hande_driver

0 commit comments

Comments
 (0)