diff --git a/gym_pybullet_drones/assets/clone_bfs.sh b/gym_pybullet_drones/assets/clone_bfs.sh index aeb2cafed..8bfab1a5b 100755 --- a/gym_pybullet_drones/assets/clone_bfs.sh +++ b/gym_pybullet_drones/assets/clone_bfs.sh @@ -26,6 +26,9 @@ git clone https://github.com/betaflight/betaflight temp/ # (https://github.com/betaflight/betaflight/blob/master/src/main/main.c#L52) # from Betaflight's `SIMULATOR_BUILD` cd temp/ + +git checkout cafe727 #latest commit at the time of writing the gym-pybullet-drones Readme + sed -i "s/delayMicroseconds_real(50);/\/\/delayMicroseconds_real(50);/g" ./src/main/main.c # Prepare diff --git a/gym_pybullet_drones/assets/eeprom.bin b/gym_pybullet_drones/assets/eeprom.bin index a3e16b7d7..38c90fac2 100644 Binary files a/gym_pybullet_drones/assets/eeprom.bin and b/gym_pybullet_drones/assets/eeprom.bin differ diff --git a/gym_pybullet_drones/examples/beta.py b/gym_pybullet_drones/examples/beta.py index 7f47a4841..1657a2a9b 100644 --- a/gym_pybullet_drones/examples/beta.py +++ b/gym_pybullet_drones/examples/beta.py @@ -102,7 +102,7 @@ def run( float(row["v_z"]), ]), } for row in csv_reader]) - with open("../assets/beta.csv", mode='r') as csv_file: + with open("../assets/beta-traj.csv", mode='r') as csv_file: csv_reader = csv.DictReader(csv_file) trajectory2 = iter(reversed([{ "pos": np.array([