Skip to content

Commit

Permalink
[FIX] small typo (extra comma when producing reachable.json) causing …
Browse files Browse the repository at this point in the history
…json read errors
  • Loading branch information
hollydinkel committed Jul 23, 2024
1 parent 9e58b87 commit 4a88c6c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions abb_control/config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,13 +336,13 @@
[0.3, 0.3, 0.3, 1],
[0.3, 0.3, 0.4, 1],
[0.3, 0.3, 0.5, 0.902174],
[0.4, -0.4, 0, 0.5],
[0.4, -0.4, 0, 1],
[0.4, -0.4, 0.1, 1],
[0.4, -0.4, 0.2, 1],
[0.4, -0.4, 0.3, 1],
[0.4, -0.4, 0.4, 1],
[0.4, -0.4, 0.5, 0.883333],
[0.4, -0.3, 0, 0.5],
[0.4, -0.3, 0, 0.993902],
[0.4, -0.3, 0.1, 1],
[0.4, -0.3, 0.2, 1],
[0.4, -0.3, 0.3, 1],
Expand Down
3 changes: 2 additions & 1 deletion abb_control/config/reachable.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
[0.3, 0.3, 0.2],
[0.3, 0.3, 0.3],
[0.3, 0.3, 0.4],
[0.4, -0.4, 0],
[0.4, -0.4, 0.1],
[0.4, -0.4, 0.2],
[0.4, -0.4, 0.3],
Expand Down Expand Up @@ -118,5 +119,5 @@
[0.4, 0.3, 0.2],
[0.4, 0.3, 0.3],
[0.4, 0.3, 0.4]
],
]
}
2 changes: 1 addition & 1 deletion abb_control/src/abb_compute_reachability.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ int main(int argc, char** argv) {
}
reachable_json_file << "\n";
}
reachable_json_file << " ],\n";
reachable_json_file << " ]\n";
reachable_json_file << "}\n";
} catch (const std::exception& e) {
ROS_ERROR("Error writing to JSON file: %s", e.what());
Expand Down

0 comments on commit 4a88c6c

Please sign in to comment.