Coder Social home page Coder Social logo

karagenit / allwpilib Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wpilibsuite/allwpilib

0.0 0.0 0.0 81.11 MB

Official Repository of WPILibJ and WPILibC

License: Other

CMake 0.24% Python 0.10% C 5.56% C++ 73.71% Java 20.15% Shell 0.21% HTML 0.02%

allwpilib's Introduction

  /######            /##           /##              /######    
 /##__  ##          | ##          | ##             /##__  ##   
| ##  \__/  /###### | ##  /###### | #######       | ##  \__/   
| ##       |____  ##| ## /##__  ##| ##__  ##      |  ######    
| ##        /#######| ##| ########| ##  \ ##       \____  ##   
| ##    ## /##__  ##| ##| ##_____/| ##  | ##       /##  \ ##   
|  ######/|  #######| ##|  #######| #######/      |  ######//##
 \______/  \_______/|__/ \_______/|_______/        \______/|__/

my personal website

allwpilib's People

Contributors

333fred avatar aaronpinto avatar alexhenning avatar austinschuh avatar austinshalit avatar bradamiller avatar byteit101 avatar calcmogul avatar czipperz avatar evinugur avatar jaagresta avatar jacibrunning avatar jcaporuscio avatar jkuszmaul avatar jlleitschuh avatar jwhite66 avatar karagenit avatar kevin-oconnor avatar kpuczydlowski avatar ozrien avatar patrickpenguinturtle avatar peterjohnson avatar petermitrano avatar pjreiniger avatar pmalmsten avatar samcarlberg avatar sciencewhiz avatar thadhouse avatar virtuald avatar wpiroboticsprojects-bot avatar

Watchers

 avatar  avatar  avatar

allwpilib's Issues

frc-toolchain Install

The following NEW packages will be installed:
  frc-toolchain
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
12 not fully installed or removed.
Need to get 0 B/1,850 B of archives.
After this operation, 8,192 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  frc-toolchain
Install these packages without verification? [y/N] Y
Selecting previously unselected package frc-toolchain.
(Reading database ... 857713 files and directories currently installed.)
Preparing to unpack .../frc-toolchain_2017.0~xenial3_all.deb ...
Unpacking frc-toolchain (2017.0~xenial3) ...
Setting up python-wrapt (1.9.0-2) ...
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 35, in <module>
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python/debpython/version.py", line 24, in <module>
    from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error processing package python-wrapt (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up python-isort (4.2.5+ds1-2) ...
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 35, in <module>
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python/debpython/version.py", line 24, in <module>
    from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error processing package python-isort (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up python-lazy-object-proxy (1.2.2-1) ...
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 35, in <module>
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python/debpython/version.py", line 24, in <module>
    from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error processing package python-lazy-object-proxy (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of pylint:
 pylint depends on python-isort; however:
  Package python-isort is not configured yet.

dpkg: error processing package pylint (--configure):
 dependency problems - leaving unconfigured
Setting up python-backports.functools-lru-cache (1.3-1) ...
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 35, in <module>
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python/debpython/version.py", line 24, in <module>
    from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error processing package python-backports.functools-lru-cache (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up lyx-common (2.2.2-1) ...
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 35, in <module>
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python/debpython/version.py", line 24, in <module>
    from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error processing package lyx-common (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up frc-toolchain (2017.0~xenial3) ...
Setting up bluefish-data (2.2.9-1) ...
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 35, in <module>
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python/debpython/version.py", line 24, in <module>
    from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error processing package bluefish-data (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-astroid:
 python-astroid depends on python-lazy-object-proxy; however:
  Package python-lazy-object-proxy is not configured yet.
 python-astroid depends on python-wrapt; however:
  Package python-wrapt is not configured yet.

dpkg: error processing package python-astroid (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lyx:
 lyx depends on lyx-common (= 2.2.2-1); however:
  Package lyx-common is not configured yet.

dpkg: error processing package lyx (--configure):
 dependency problems - leaving unconfigured
Setting up python-mccabe (0.5.3-1) ...
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 35, in <module>
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python/debpython/version.py", line 24, in <module>
    from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error processing package python-mccabe (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bluefish:
 bluefish depends on bluefish-data (= 2.2.9-1); however:
  Package bluefish-data is not configured yet.

dpkg: error processing package bluefish (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lyx-dbg:
 lyx-dbg depends on lyx (= 2.2.2-1); however:
  Package lyx is not configured yet.

dpkg: error processing package lyx-dbg (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-wrapt
 python-isort
 python-lazy-object-proxy
 pylint
 python-backports.functools-lru-cache
 lyx-common
 bluefish-data
 python-astroid
 lyx
 python-mccabe
 bluefish
 lyx-dbg

Continuous Encoders

Possible methods affected:

  • getRaw() - maybe not, since this is supposed to be a raw value
  • get()
  • getDistance()
  • pidGet() - calls getDistance()

We would need to have methods such as setContinuous() and setRange(double min, double max) - this range should be in encoder counts, not units determined by setDistancePerPulse() - I think getDistance() will essentially call get() * m_distperpulse so we can just edit the get() source.

Java Collections

See wpilibsuite#507

Vector

./wpilibj/src/athena/java/edu/wpi/first/wpilibj/Preferences.java:10:import java.util.Vector;
./wpilibj/src/shared/java/edu/wpi/first/wpilibj/command/CommandGroup.java:11:import java.util.Vector;
./wpilibj/src/shared/java/edu/wpi/first/wpilibj/command/Scheduler.java:12:import java.util.Vector;
./wpilibj/src/shared/java/edu/wpi/first/wpilibj/command/Set.java:11:import java.util.Vector;
./wpilibj/src/shared/java/edu/wpi/first/wpilibj/livewindow/LiveWindow.java:12:import java.util.Vector;
./wpilibj/src/shared/java/edu/wpi/first/wpilibj/util/SortedVector.java:10:import java.util.Vector;
./wpilibj/src/sim/java/edu/wpi/first/wpilibj/Preferences.java:17:import java.util.Vector;

Hashtable

./wpilibj/src/athena/java/edu/wpi/first/wpilibj/CameraServer.java:29:import java.util.Hashtable;
./wpilibj/src/shared/java/edu/wpi/first/wpilibj/command/Scheduler.java:11:import java.util.Hashtable;
./wpilibj/src/shared/java/edu/wpi/first/wpilibj/livewindow/LiveWindow.java:11:import java.util.Hashtable;
./wpilibj/src/shared/java/edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.java:11:import java.util.Hashtable;
./wpilibj/src/sim/java/edu/wpi/first/wpilibj/Preferences.java:16:import java.util.Hashtable;

LinkedListElement.java and Set.java could be replaced by ArrayList and Java Set/Hashset.

WPIformat Travis Build

$ wpiformat -y 2017
fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

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.