Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: pre-commit

on:
pull_request:
push:
branches: [main]

jobs:
pre-commit:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: pre-commit/action@v3.0.1
30 changes: 30 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-symlinks
- id: destroyed-symlinks
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-toml
- id: check-ast
- id: check-added-large-files
args: ["--maxkb=2000"]
- id: check-merge-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: detect-private-key
- id: debug-statements
- repo: https://github.com/codespell-project/codespell
rev: v2.2.2
hooks:
- id: codespell
args:
- --skip=*.ipynb
- repo: https://github.com/google/yamlfmt
rev: v0.21.0
hooks:
- id: yamlfmt
2 changes: 1 addition & 1 deletion panda/armer/docker-compose-sim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ services:
- /tmp/.X11-unix:/tmp/.X11-unix:rw
command: >
bash -c "source /home/armer_ws/devel/setup.bash &&
roslaunch armer_panda robot_bringup.launch sim:=true"
roslaunch armer_panda robot_bringup.launch sim:=true"
2 changes: 1 addition & 1 deletion panda/armer/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ services:

command: >
bash -c "source /home/armer_ws/devel/setup.bash &&
roslaunch armer_panda robot_bringup.launch rviz:=true"
roslaunch armer_panda robot_bringup.launch rviz:=true"
2 changes: 1 addition & 1 deletion panda/moveit/.env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ROBOT_IP=172.16.0.2
ROBOT_IP=172.16.0.2
2 changes: 1 addition & 1 deletion panda/moveit/docker-compose-sim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ services:
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:rw
command: >
bash -c "source /home/moveit_ws/devel/setup.bash && roslaunch panda_moveit_config demo.launch"
bash -c "source /home/moveit_ws/devel/setup.bash && roslaunch panda_moveit_config demo.launch"
4 changes: 2 additions & 2 deletions panda/moveit/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ services:
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:rw
command: >
bash -c "source /home/moveit_ws/devel/setup.bash &&
roslaunch panda_moveit_config franka_control.launch robot_ip:=${ROBOT_IP}"
bash -c "source /home/moveit_ws/devel/setup.bash &&
roslaunch panda_moveit_config franka_control.launch robot_ip:=${ROBOT_IP}"
2 changes: 1 addition & 1 deletion realsense/.env
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ CAMERA1_MARKER_PREFIX=tr_
# TF_NUM_SAMPLES=100

# COMMENT THE CALIBRATION AND UNCOMMENT THE FOLLOWING TO HAVE FIXED TRANSFORAMTION
EXTERNAL_CALIBRATION_LAUNCH=/calib/external_camera_tf.launch
EXTERNAL_CALIBRATION_LAUNCH=/calib/external_camera_tf.launch
2 changes: 1 addition & 1 deletion realsense/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
1. Toggling and updating the `.env` file to get desireable effect
1. Toggling and updating the `.env` file to get desirable effect
2. Run the container with `docker compose up`
6 changes: 3 additions & 3 deletions realsense/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
network_mode: "host"
privileged: true
container_name: realsense

env_file:
- .env

Expand All @@ -16,7 +16,7 @@ services:
- /run/udev:/run/udev:ro
- /dev:/dev
- ./calib:/calib

command: >
bash -c "source /home/realsense_ws/devel/setup.bash &&
roslaunch rv_panda_realsense monash_realsense.launch"
roslaunch rv_panda_realsense monash_realsense.launch"
5 changes: 5 additions & 0 deletions yamlfmt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
formatter:
type: basic
force_quote_style: double
retain_line_breaks: true
trim_trailing_whitespace: false
Loading