Giter Club home page Giter Club logo

BluPants: Web Based IDE for Coding Robots

Our goal is make robotics and programming available to anyone.

BluPants is the most effective and fun way to learn coding. It is a free out of the box web based coding environment (IDE) that works with a variety of robots.

Pre-readers can start with the basic block-based visual programming language. Readers can use the intermediate block-based visual for coding and gradually advanced to the Python mode programming language.

All that using the same BluPants IDE with any of the supported robots.

Visit blupants.com for more details.

Welcome

Let's build a community for any child across the globe from the age of 5 to 99.

Compatibility with a variety of existing robotics hardware can make it affordable, at the same time we give unlimited flexibility to expand BluPants as far as the human imagination can go.

Check out this video and see how you can take coding classes to the next level with real robots. We show how students can start with block-based visual programming language and gradually advance to Python.

BluPants Python Documentation

The blupants Python module documentation can be found here. Check all available functions for coding your robot with Python.

Get a Robot

Visit blupants.com/robots or our Hackster.io page for complete instructions on how to get your own robot up and running.

Start Coding

Once you get your robot on and connected to the internet, simply visit blupants.org and start coding.

You may also visit our blupants.com/lessons to get some ideas on how code with BluPants.

Dependencies

BluPants is based on the following projects:

Python

BeagleBone

Raspberry Pi

LEGO® MINDSTORMS: ev3dev

Blockly

Manual Deployment

Run the following commands to get BluPants running in your BegaleBoneBlue:

$ ssh beaglebone.local
Make sure Python is installed
$ python3 --version
$ sudo su -
$ cd /root
Make sure rcpy is installed
# python3 -m pip install rcpy --upgrade

Disable usb0 gateway so ipv4 gateway gets assigned to wlan0
# vi /etc/network/interfaces
Comment the following line:
#    gateway 192.168.7.1

https://github.com/StrawsonDesign/librobotcontrol
# git clone https://github.com/blupants/blupants.git
# git clone https://github.com/StrawsonDesign/librobotcontrol.git
# cp ./librobotcontrol/examples/src/rc_balance.c ./librobotcontrol/examples/src/rc_balance.c.ORIGINAL
# cp ./blupants/src/c/rc_balance.c ./librobotcontrol/examples/src/rc_balance.c
# cd librobotcontrol
# make
# cp ./examples/bin/rc_balance /usr/bin/rc_balance_dstr
# cd
# mkdir -p /etc/robotcontrol
# cp ./blupants/src/bash/*.sh /etc/robotcontrol/
# chmod +x /etc/robotcontrol/*.sh
# cp ./blupants/etc/blupants.service /etc/systemd/system/
# mkdir -p /var/lib/cloud9/BluPants
# cp ./blupants/src/python/reload.py /var/lib/cloud9/BluPants/
# chmod +s /usr/bin/python3
# apt-get install espeak
# python3 -m pip install pyttsx3

(If fails, try specific version)
# python3 -m pip install pyttsx3==2.81

# apt-get install autoconf-archive
# python3 -m pip install blupants --upgrade
# git clone https://github.com/brgl/libgpiod
# cd libgpiod
# ./autogen.sh --enable-tools=yes --enable-bindings-python --prefix=/usr/local

Or in the case you get an error because libgpiod needs a newer kernel version, use older libgpiod
https://github.com/aquaticus/nexus433/issues/21
# wget https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/snapshot/libgpiod-1.1.1.tar.gz
# tar xvf libgpiod-1.1.1.tar.gz
# cd libgpiod-1.1.1
# export PYTHON_VERSION=3
# ./autogen.sh --enable-tools=yes --enable-bindings-python --prefix=/usr/local

# make
# make install
# mv /usr/local/lib/python3.5/site-packages/* /usr/local/lib/python3.5/dist-packages/.
# echo "export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH" >> ~/.bashrc
# cd
# cp -r blupants/src/python/blupants/* /usr/local/lib/python3.5/dist-packages/blupants/
# cp /usr/local/lib/python3.5/dist-packages/blupants/blupants.json /root/
# rm -rf /usr/local/lib/python3.5/dist-packages/blupants/*.pyc 
# systemctl daemon-reload
# systemctl enable blupants.service

blupants's Projects

blupants icon blupants

BluPants is a Python based module for coding robots. Visit blupants.com for more details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.