Skip to content
Snippets Groups Projects
Commit cad212b5 authored by Stéphane Yang's avatar Stéphane Yang
Browse files

Moved unit test script to a "example" folder to avoid confusion with...

Moved unit test script to a "example" folder to avoid confusion with "navigation" folder which is the actual implementation
Update readmes
parent 90b7dd17
No related branches found
No related tags found
No related merge requests found
Pipeline #6165 passed
Showing
with 9 additions and 9 deletions
......@@ -6,11 +6,13 @@ You could also find some hardware files (.hwc, .hwj, etc), those are the differe
Note: Between cam_usb.hwc and cam_pc.hwc, you have to chose only one on the .dev file (if the script has it). Make sure to comment what you don't want and uncomment what you want.
The programs are (the list may be not comprehensive):
The programs in "examples" are (the list may be not comprehensive):
- cam_f_out: sends camera input (or any capture device opened in /dev/video*) to f_out (shared memory)
- drone_joyRemote: reads and updates the shared memory according to joystick inputs and checkboxes (added plot for altitude and compass heading control)
- drone_test: using checkboxes, updates the shared memory for several drone actions
- drone_flot: reads input image in f_in, adds a visual control of the drone using optical flow, through shared memory
The main programs are (the list may be not comprehensive):
- navigation: contains multiples scripts that are working together, it reuses cam_f_out, drone_joyRemote and drone_flot (go to the navigation folder for more info)
To modify/compile (coeos) and/or to simulate (promethe) a script, run the right command files (.sh) if they exist. Otherwise, run the following commands:
......
#Camera cam is ../hardware/cam_usb.hwc
Camera cam is ../hardware/cam_pc.hwc
Camera cam is ../hardware/cam_usb.hwc
#Camera cam is ../hardware/cam_pc.hwc
../hardware/joystick.hwj
\ No newline at end of file
../hardware/joystick.hwj
\ No newline at end of file
#Camera cam is ../../hardware/cam_usb.hwc
Camera cam is ../../hardware/cam_pc.hwc
Camera cam is ../../hardware/cam_usb.hwc
#Camera cam is ../../hardware/cam_pc.hwc
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment