Giter VIP home page Giter VIP logo

libds's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libds's Issues

Unable to control 2014 robots

Using the latest version of LibDS at the time of this writing, I am unable to get LibDS to control a 2014 protocol robot. Network activity indicates that there is indeed a connection between the driver station and the robot, and LibDS indicates that comms and robot code are true, yet no commands work. Enabling appears to have no effect, and even attempting to run methods such as DS_RebootRobot yields no result. For reference, using the 2016 protocol with a 2016 robot works as expected. Additionally, using the latest version of QDriverStation shows the exact same results. The code in use is available at https://github.com/camearle20/CartDS. It is built to use on a Raspberry Pi, yet the same results are seen running the code on a standard 64 bit Linux machine.

2019 Driver Station

Hi! I just wanted to ask if this library is working with 2019 robots. I understand that the creator of the project doesn't have access to an FRC robot right now, so is there any quick/easy way to test it the library? Thanks for the awesome project!

Compilation process not documented.

The README should include instructions for how to compile this library, as there may be people unfamiliar with how to compile Qt projects, and who can't figure it out because of the lack of a configure script. Simply telling people to run qtmake, make, and optionally sudo make install would help in this regard.

Serious Problem with controller Axis call.

This problem isn't present in the LabView driverstation. When I use a joystick it seems to not return any value until the joystick is pushed all the way to 1 or -1. I am guessing it's converting the float to an integer so you end up with 0 until you hit 1. I've tried multiple joysticks from different vendors.

Could this be the function causing it? I am not entirely certain how it works.

float DS_GetJoystickAxis (int joystick, int axis)
{
    if (CFG_GetRobotEnabled() && joystick_exists (joystick)) {
        DS_Joystick* stick = get_joystick (joystick);

        if (stick->num_axes > axis)
            return stick->axes [axis];
    }

    return 0;
}

LibDS on Robot?

How hard would it be to rework the library wear it can also be used on a robot (in this case a Rasp PI) to be able to send packets and communicate with Qdriverstation. That way there is only one implementation of its supported protocols for Qdriverstation. Then any new protocol add to the core other robot project will be able to make use of.

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.