Skip to content

Ink163/play

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

yanshee-raspi-sdk

Overiew of the Yanshee-raspi-sdk(Yanshee-sdk)

The Yanshee-sdk provides arm-linux based c and python library that allows developers to control yanshee robot

Hardware

  1. Yanshee robot(Ex. Raspberry Pi 3 Main board)
  2. Monitor
  3. Output cable (Ex. HDMI-DVI/HDMI-VGA/HDMI-HDMI)
  4. USB cable/wireless(Recommond) mouse
  5. Stick sensors(Ex. infrared sensor)

Software

  1. Ex. noobs developing system [Go to official website] (https://www.raspberrypi.org/downloads/noobs/)

Get started

  1. Prepare your workspace and download the SDK

Commond(download): "git clone https://github.com/UBTEDU/yanshee-raspi-sdk.git"

  1. 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"

  1. 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"

  1. 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"

  1. 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!

  1. Build your own project

About

play

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages