Skip to content

Commit

Permalink
Merge pull request #47 from bitcraze/fix-paths-controllers
Browse files Browse the repository at this point in the history
fixed paths issues webots controller
  • Loading branch information
knmcguire authored Aug 28, 2023
2 parents 9459c60 + 01fc4b9 commit 9fc77d2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
###
### ---- C Sources ----
### if your program uses several C source files:
C_SOURCES = crazyflie_controller.c ../../../controllers/c_based/pid_controller.c
C_SOURCES = crazyflie_controller.c ../../../../controllers_shared/c_based/pid_controller.c
###
### ---- C++ Sources ----
### if your program uses several C++ source files:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@

// Add external controller
// #include "pid_controller.h"
#include "../../../../shared_controllers/c_based/pid_controller.h"
#include "../../../../controllers_shared/c_based/pid_controller.h"


#define FLYING_ALTITUDE 1.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from math import cos, sin

import sys
sys.path.append('../../../../shared_controllers/python_based')
sys.path.append('../../../../controllers_shared/python_based')
from pid_controller import pid_velocity_fixed_height_controller

FLYING_ATTITUDE = 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from time import sleep

import sys
sys.path.append('../../../controllers/python_based')
sys.path.append('../../../../controllers_shared/python_based')
from pid_controller import pid_velocity_fixed_height_controller

FLYING_ATTITUDE = 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
from math import cos, sin

import sys
sys.path.append('../../../../shared_controllers/python_based')
sys.path.append('../../../../controllers_shared/python_based')
from pid_controller import pid_velocity_fixed_height_controller

sys.path.append('../../../../../python/crazyflie-lib-python/examples/multiranger/wall_following')
sys.path.append('../../../../../../python/crazyflie-lib-python/examples/multiranger/wall_following')
from wall_following import WallFollowing

FLYING_ATTITUDE = 1
Expand Down

0 comments on commit 9fc77d2

Please sign in to comment.