Skip to content
Xipeng Wang edited this page Apr 15, 2017 · 14 revisions

Welcome to the X wiki!

Just have fun here! Write code and play with robots!


Get started

  1. Buy a Raspberry Pi and microSD card.

  2. Install an Operating System on microSD card.

  3. Get a mouse, keyboard, monitor ready. Power on Pi!

  4. Connect to wireless network or wired network.

  5. Install prerequisite packages.

    • Open a terminal. If you are not familiar with LINUX environment, check this.
    • Type in: sudo apt-get update
    • Type in: sudo apt-get gcc make git
  6. Clone the package

    • In the terminal, type in: git clone git@github.com:xipengwang/X.git robotX
  7. Compile the code

    • In the terminal, type in: cd robotX && make
      • If you compile the code on a raspberry pi, you should change Build.common file. Change rm-linux-gnueabi-gcc to gcc, arm-linux-gnueabi-ar to ar.
      • If you compile the code on a laptop running linux, you can install cross-compiler. Then send binary files to the Pi. Here are the instructions.
  8. Run examples

    • In the terminal, type in: cd bin
    • In the terminal, type in: sudo ./print-test

Tutorials

Reference