The Yanshee-sdk provides arm-linux based c and python library that allows developers to control yanshee robot
- Yanshee robot(Ex. Raspberry Pi 3 Main board)
- Monitor
- Output cable (Ex. HDMI-DVI/HDMI-VGA/HDMI-HDMI)
- USB cable/wireless(Recommond) mouse
- Stick sensors(Ex. infrared sensor)
- Ex. noobs developing system [Go to official website] (https://www.raspberrypi.org/downloads/noobs/)
- Prepare your workspace and download the SDK
Commond(download): "git clone https://github.com/UBTEDU/yanshee-raspi-sdk.git"
- Compile the files
Commond 1: "cd (The path you put your sdk)/yanshee-raspi-sdk"
Commond 2: "make"
Ex(Raspberrypi system).
Commond 1: "cd /home/pi/sdk3/yanshee-raspi-sdk"
Commond 2: "make"
- Set up dynamic library path
Commond: "export LD_LIBRARY_PATH=(The path for the librobot.so;librobotlogstr.so;librobotutils.so;libjson.so):$LD_LIBRARY_PATH"
Ex (Raspberrypi system). "export LD_LIBRARY_PATH=/home/pi/sdk3/yanshee-raspi-sdk/libs/sdklib:$LD_LIBRARY_PATH"
- Get the example
Find the demonstration python scripts in folder "(The path you put your sdk)/yanshee-raspi-sdk/sdk/example/python"
Ex (Raspberrypi system). "/home/pi/sdk3/yanshee-raspi-sdk/sdk/example/python"
- Execute and learn the example
Commond: "python (example name).py".
PS: MAKE SURE THE PYTHON SCRIPTS AND "RobotApi.c";"RobotApi.h";"RobotApi.i";"RobotApi.o";"RobotApi.py";"_RobotApi.so". ARE IN SAME FOLDER!
- Build your own project