From 09ed8ba3620eadcf5ced8a25ba1e131ddbc5333b Mon Sep 17 00:00:00 2001 From: Jacopo Panerati Date: Tue, 5 Sep 2023 11:32:09 +0400 Subject: [PATCH 1/3] Update beta.py --- gym_pybullet_drones/examples/beta.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gym_pybullet_drones/examples/beta.py b/gym_pybullet_drones/examples/beta.py index db96c991c..1df36dd8c 100644 --- a/gym_pybullet_drones/examples/beta.py +++ b/gym_pybullet_drones/examples/beta.py @@ -17,8 +17,8 @@ $ wget https://github.com/betaflight/betaflight-configurator/releases/download/10.9.0/betaflight-configurator_10.9.0_amd64.deb $ sudo dpkg -i betaflight-configurator_10.9.0_amd64.deb If needed, also run: - $ apt install libgconf-2-4 - $ apt --fix-broken install + $ sudo apt install libgconf-2-4 + $ sudo apt --fix-broken install Step 4: Load the configuration file onto the target using the BF configurator: First, start the SITL controller: From 59d13ae02bb021dc98ee3254495f64c63893778d Mon Sep 17 00:00:00 2001 From: Jacopo Panerati Date: Sat, 7 Oct 2023 18:42:16 +0400 Subject: [PATCH 2/3] Package name typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9af67940a..b2f282158 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ conda create -n drones python=3.10 conda activate drones pip3 install --upgrade pip -pip3 install -e . # if needed, `sudo apt install build-essentials` to install `gcc` and build `pybullet` +pip3 install -e . # if needed, `sudo apt install build-essential` to install `gcc` and build `pybullet` ``` From 363412529fc0f4cf6a6a4cb97f286f758ced51dc Mon Sep 17 00:00:00 2001 From: Jacopo Panerati Date: Sat, 7 Oct 2023 19:06:26 +0400 Subject: [PATCH 3/3] Update beta.py --- gym_pybullet_drones/examples/beta.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gym_pybullet_drones/examples/beta.py b/gym_pybullet_drones/examples/beta.py index 1df36dd8c..ea63195f0 100644 --- a/gym_pybullet_drones/examples/beta.py +++ b/gym_pybullet_drones/examples/beta.py @@ -2,9 +2,10 @@ Setup ----- -Step 1: Clone betaflight: +Step 1: Clone and open betaflight's source: $ git clone https://github.com/betaflight/betaflight - $ cd betaflight/ + $ cd betaflight/ + $ code ./src/main/main.c Step 2: Comment out line `delayMicroseconds_real(50); // max rate 20kHz` (https://github.com/betaflight/betaflight/blob/master/src/main/main.c#L52)