Skip to content

Commit

Permalink
Merge branch 'Fool-Stuck:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
miyamiyamon authored Sep 5, 2024
2 parents 2b8889d + f983a7c commit 7bae82c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ repos:
- id: shellcheck

- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.8.0-1
rev: v3.9.0-1
hooks:
- id: shfmt
args: [-w, -s, -i=4]
Expand Down Expand Up @@ -85,7 +85,7 @@ repos:
exclude: .cu

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.1
rev: 0.29.2
hooks:
- id: check-metaschema
files: ^.+/schema/.*schema\.json$
Expand Down
7 changes: 3 additions & 4 deletions src/control/joy2twist/config/joy2twist.param.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**:
joy2twist:
ros__parameters:
linear_x_axis: "LEFT_STICK_Y"
angular_z_axis: "LEFT_STICK_X"
ros__parameters:
linear_x_axis: "LEFT_STICK_Y"
angular_z_axis: "LEFT_STICK_X"
2 changes: 1 addition & 1 deletion src/control/joy2twist/src/joy2twist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace joy2twist
{
Joy2Twist::Joy2Twist(const rclcpp::NodeOptions & options) : Node("joy2twist", options)
{
// パラメータの取得
// パラメータの取得
std::string linear_x_axis_str = declare_parameter<std::string>("linear_x_axis", "LEFT_STICK_Y");
std::string angular_z_axis_str = declare_parameter<std::string>("angular_z_axis", "LEFT_STICK_X");

Expand Down

0 comments on commit 7bae82c

Please sign in to comment.