Anders Søborg

Forum Replies Created

Viewing 15 posts - 316 through 330 (of 411 total)
  • Author
    Posts
  • in reply to: Only SensorPort.In1 works? (solved) #3934
    Author Image
    Anders Søborg
    Keymaster

    Hi Rich

    Where are you getting your information about how to communicate with the devices?

    For this part I looked in the source for the EV3 and the source for LeJos…

    It looks like you are trying to read a byte, clear a bit, and then write it back. However you are not reading and writing from the same place. You are reading from “port” and writing to “UartStatusOffset+port”

    I will have a look at this tonigh

    Anders

    in reply to: Preparations for GyroBot #3926
    Author Image
    Anders Søborg
    Keymaster

    Hi Jacek

    What about gyro sensor calibration? or gyro sensor offset calculation? Could you describe the result or maybe record a video?

    Anders

    in reply to: Brick-Simulator? #3925
    Author Image
    Anders Søborg
    Keymaster

    Hi Martin

    Once you have a created a fork – please use a pull request to get your contribution into the “official” repository… try to search youTube for a tutorial on this if you have never done it before. Don’t worry about it we will see how it goes…

    Anders

    in reply to: Preparations for GyroBot #3921
    Author Image
    Anders Søborg
    Keymaster

    Hi Jacek

    There are a few things that I have noticed about your code.

    You are using decimals – why? I can’t tell for sure but on this hardware it might not be the best approach if you want fast calculations.

    You are using a thread.sleep in your control loop – On Windows the minimum sleep time is something like 20-30 ms – what it is on the EV3′s ARM processor I am not aware off but you could do some measurements to find out. But Thread.Sleep is not guaranteed to sleep for exactly the specified amount of time. That leads me to the next question.” What performance are you getting”? Are your control loop running a a constant rate? Is it running at the rate you except? All the constants what you have are not correct if you run with a different sample time that the “original” LAB view program

    Anders

    in reply to: Preparations for GyroBot #3915
    Author Image
    Anders Søborg
    Keymaster

    Hi
    Jacek

    The sensor problem has been fixed see this post. Download the lastest DLL to get the fix

    Anders

    in reply to: Only SensorPort.In1 works? (solved) #3913
    Author Image
    Anders Søborg
    Keymaster

    Hi Rick

    Thanks for the input – it turned out that you where right. The port number was missing from the write command.

    The fix has been committed. I am so excited that help from the community can help the development of Firmware. Basically you should have had the honor of committing this yourself using a pull request (I hope you are ok with that).

    I guess a new DLL should be uploaded….

    Thanks a lot

    Anders

    in reply to: Only SensorPort.In1 works? (solved) #3909
    Author Image
    Anders Søborg
    Keymaster

    Hi Rich

    This is a serious bug that I am trying to resolve at the moment. Hopefully I will have it fixed tonight or maybe tomorrow. However the error only applies for UART Sensor so Analog and I2C sensor work on all ports… We will upload a new DLL and Image within a few weeks with a bunch of fixes and new features…. to get the latest and greatest you should (as you have already done) compile your own from the github repository…

    Anders

    in reply to: Preparations for GyroBot #3895
    Author Image
    Anders Søborg
    Keymaster

    Hi Jacek

    Keep up the good work

    Anders

    in reply to: Motor Control not behaving #3894
    Author Image
    Anders Søborg
    Keymaster

    Hi Rick

    I completely forgot to thank you for your input and bug findings… but as I said I will have a look at motor class in the next couple of days and your findings will be usefull…

    Anders

    in reply to: Preparations for GyroBot #3891
    Author Image
    Anders Søborg
    Keymaster

    Hi

    Please don’t use setpower use on instead

    Anders

    in reply to: Motor Control not behaving #3888
    Author Image
    Anders Søborg
    Keymaster

    Hi all

    Thanks for taking part in this discussion. The motor functions/Interface will be changed in a couple of days. Our own PID controller will be used for position movement instead of the kernel profiles that is currently used. I will post a message in this thread to let you know when it is available. Then you can grab it from github…

    Anders

    in reply to: How do I add this library to visual studio? #3887
    Author Image
    Anders Søborg
    Keymaster

    Hi

    Thanks for trying the library

    Use the test project this has included the source files from the library…

    To add a library to Visual Studio 2010 try following this guide

    Anders

    in reply to: USB library not found #3886
    Author Image
    Anders Søborg
    Keymaster

    Hi

    If things are not working for you please write a detailed description of what you did and what failed – otherwise it is hard to help!

    If you what USB to work are you able to write

    lsusb|grep Lego

    and see the NXT?

    If you are using Bluetooth for the NXT then not all Bluetooth devices are compatible. Try the use google to find the list and see if your device is on….

    Anders

    in reply to: Preparations for GyroBot #3875
    Author Image
    Anders Søborg
    Keymaster

    Hi Jacek

    We really really appreciate all your hard work on getting your project up and running – it is a great thing that you report errors/bugs on github. I have been sick the last week so I haven’t been able to look at the issues – but I will look into it once I am well.

    However I am not sure I understand what you mean by

    Second is that I don’t know how to use motor methods to simulate “unregulated motor” block.

    Anders

    in reply to: Can't connect to hidden network with Edimax EW-7811UN #3874
    Author Image
    Anders Søborg
    Keymaster

    Hi Tomas

    Thanks for posting this. I am sure it will be helpfull for others…

    Anders

Viewing 15 posts - 316 through 330 (of 411 total)
Posted in

Make a donation