-
Notifications
You must be signed in to change notification settings - Fork 38
Nao V4 Setup
under construction...
In order to run the code on the Nao robot there are a few dependencies that must be installed first.
Unfortunately, due to the way the Nao OS is setup, installing external packages can be tedious. We have provided some scripts to help facilitate the process. This page will go over what these scripts are actually doing and how to use them.
Follow the instructions from Aldebaran for flashing the Nao OS onto the robot using the NAOFlasher utility.
NOTE: You should already have the NaoqiSDK
and NaoqiCTC
enviornment variables setup on your development computer.
The Nao get-up routines will only work if the wrists are taped in the correct way.
Tape the wrists so that the seams on the forearm and hand match up, with the palms facing inwards.
When taped, the Nao wrists should look like this (the pictures were taken while all joints were zeroed).
You may also need to setup the network configuration for your Nao. We recommend following the instructions here for configuring the network interfaces. However, Nao V4 has different commands to setup network.
Edit /etc/conf.d/net
and add following lines
# wired static IP
config_eth0="192.168.0.109 netmask 255.255.255.0"
#routes_eth0="default via 192.168.0.1"
For Dynamics IP, use config_eth0="dhcp"
instead.
Save file and use /etc/init.d/net.eth0 start|restart|stop
to start, restart or stop eth0 interface
Same in /etc/conf.d/net
, always use WPA and dhcp as default
modules="wpa_supplicant"
wpa_supplicant_wlan0="dhcp"
Name Static IP and router to overwrite dhcp
config_wlan0="96.69.123.109 netmask 255.255.255.0"
routes_wlan0="default via 96.69.123.1"
And set wireless ssid in /etc/wpa_supplicant/wpa_supplicant.conf
for NONE password WIFI
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
network={
ssid="NETWORK-NAME"
key_mgmt=NONE
}
For WPA2, use
network={
ssid="NETWORK NAME"
key_mgmt=WPA-PSK
psk="PASSKEY"
}
Save file and use /etc/init.d/net.wlan0 start|restart|stop
to start, restart or stop wlan0 interface