Giter VIP home page Giter VIP logo

mostrobotpy's Introduction

mostrobotpy

This repository contains core python libraries that wrap the C++ artifacts of allwpilib. These libraries are officially supported for use in the FIRST Robotics Competition.

API Documentation

API documentation is at https://robotpy.readthedocs.io/projects/robotpy/en/latest/

Building RobotPy

Warning

It is not recommended for users to build their own copy of RobotPy. Instead you should use our prebuilt packages that we publish on PyPI and on the WPILib artifactory site. See TODO for details

mostrobotpy consists of many interdependent python packages, which can be found in the subprojects directory. Each subproject can be built like any other python project, but it is recommended that you use our rdev.sh tool instead.

You must have a working C++ build system and python development headers installed for your system.

Next install dependencies using pip:

pip install -r rdev_requirements.txt
pip install numpy

Then run this command to build all the wheels.

./rdev.sh ci run

All the resulting wheels are in dist, which can be installed using pip.

Cross Compilation

We only support cross-compiling for RoboRIO and raspbian via the WPILib docker build containers. See .github/workflows/dist.yml's cross-build job for the name of the containers and the steps that must be run inside the container.

mostrobotpy's People

Contributors

virtuald avatar auscompgeek avatar peterjohnson avatar archduketim avatar computer-whisperer avatar james-ward avatar arthurallshire avatar thetriplev avatar prensing avatar sarosenb avatar m1stershad0w avatar martincarapia avatar codetheweb avatar stmobo avatar ewpratten avatar erikboesen avatar auxiliary-character avatar agelsomini avatar etiennebeaulac avatar jcaselman avatar actions-user avatar amorygalili avatar woz4tetra avatar calcmogul avatar ryannazaretian avatar mailmindlin avatar schlumpyj avatar jduskey avatar jamesra avatar vanjac avatar

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.