Browse Source

fixed ruff linting issues

tags/v0.3.11-rc1
ShashwatPatil 10 months ago
parent
commit
c1da674aef
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      node-hub/gamepad/gamepad/main.py

+ 2
- 3
node-hub/gamepad/gamepad/main.py View File

@@ -1,6 +1,5 @@
from dora import Node
import pyarrow as pa
import os
import pygame

class LogitechF710:
@@ -112,8 +111,8 @@ def main():
data=pa.array(zero_cmd, type=pa.float64()),
metadata={"type": "cmd_vel"}
)
except:
pass
except Exception as e:
print(f"Failed to send zero velocity: {e}")

if __name__ == "__main__":
main()

Loading…
Cancel
Save