Skip to content

Commit 19d95c8

Browse files
committed
fix: lint error
1 parent dd57c4c commit 19d95c8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/dynamixel/dynamixel_info.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ namespace dynamixel_hardware_interface
2424
{
2525

2626
// Helper function to split string by delimiter
27-
std::vector<std::string> split_string(const std::string& str, char delimiter) {
27+
std::vector<std::string> split_string(const std::string & str, char delimiter)
28+
{
2829
std::vector<std::string> tokens;
2930
std::string token;
3031
std::istringstream token_stream(str);
@@ -95,7 +96,7 @@ void DynamixelInfo::ReadDxlModelFile(uint8_t id, uint16_t model_num)
9596
}
9697

9798
std::vector<std::string> strs = split_string(line, '\t');
98-
99+
99100
if (!strs.empty()) {
100101
if (strs.at(0) == "value_of_zero_radian_position") {
101102
temp_dxl_info.value_of_zero_radian_position = static_cast<int32_t>(stoi(strs.at(1)));

0 commit comments

Comments
 (0)