-
Notifications
You must be signed in to change notification settings - Fork 0
Connecting and compiling
Wike edited this page Oct 15, 2022
·
2 revisions
- Turn on the robot and plug in the cable
- Make sure your connection is set to shared in the IPv4 settings of your connection with the robot.
- Connect using
ssh nao@<robotname>.local. Note that .local only works on linux and an IP is required for other system.
- From the build folder, run
make - You can specify a target to make using
-t, for examplemake -t dnt - You can use multiple threads for compiling using
-jN, for examplemake -j8 - For more information run
make --help
Note that the folder build is the directory for compiling local code such as dnt-interface and dnt-load-data while build_v6 is the directory for compiling code for the robot (NAO V6) such as dnt and dnt-save-data.
If you compiled a target before, you can compile it from any subdirectory of the DNT project using the command dmake <TARGET> -jX.
- Connect to the robot.
- From the build folder, you need to run the command robocopy:
robocopy <NAO_NAME>.local - In order to speed this up, compile locally first:
make -jN -t dnt && robocopy <NAO_NAME>.local - For more information run
robocopy --help
If you encounter any issues running robocopy:
- Check if you can compile the code locally.
- Make sure the nao has been switched to DNT from naoqi.
- If robot is unreachable on their own name, try
nao@nao.localand to fix this simply install the robot.- In
utill/scripts: ./install robot <robot>.local, after this robot will reboot - Robocopy to installed robot
- Reboot robot
- In
- Home
- Organisation
- Working with Ubuntu
- Git
- Python
- Rust
-
Robot usage
- Setting up DNT
- pyNaoqi Setup Guide
- Connecting and compiling
- Teamcopy
-
Playing a match
- Setup
- Rules
- Working day
- Gamecontroller
-
Framework
- Overview
- Taal
-
Framework Applied
- Dummy
- Assignment