Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 40

Thread: Shiny new toy: ODROID-U2

  1. #21

    Re: Shiny new toy: ODROID-U2

    Would not hurt to compare. I just did some quick copy of example code from http://support.robotis.com/en/softwa.../linux/gcc.htm

    Also probably needs lots of testing.
    Kurt

  2. #22

    Re: Shiny new toy: ODROID-U2

    Quick Update:
    I have been playing around with an Asus Xtion Pro Live hooked up to the ODroid. I now have openNI compiling and running on it.

    I found a lot of information up on the ODroid forum on how to do this (http://forum.odroid.com/viewtopic.ph...p=12980#p12980)
    I also posted some notes on that thread, about differences in what I needed to do. The OpenNI project directory structure has changed since the original posting. Also I did not want to have to download the whole doxygen to build the help files as that system is huge and I can simply download the prebuilt files. Also thanks to KevinO who has helped me along the way including a nice set of sample programs. That information is up on the PhantomX on a Raspberry Pi thread (http://forums.trossenrobotics.com/sh...erry-Pi/page21 ).

    Most of the sample programs have used OpenCV. I have tried building a program to use OpenGL, but the performance was not very good and Kevin you were right that it would not run over a VNC desktop.

    The other programs run, but I am currently getting two messages:
    Warning: USB events thread - failed to set priority. This might cause loss of data ...
    XLib: extension "RANDR" missing on display ":1"

    Note: The usb message I also get when I run the program over HDMI.

    I did a quick search of RANDR and see lots of hits. Probably need to configure the VNCServer and/or client? Will check into this later.

    Now, I need to go out and weed whack!

  3. #23
    Join Date
    Dec 2012
    Location
    Los Angeles, CA
    Posts
    858
    Images
    25
    Rep Power
    88

    Re: Shiny new toy: ODROID-U2

    Quote Originally Posted by KurtEck View Post
    The other programs run, but I am currently getting two messages:
    Warning: USB events thread - failed to set priority. This might cause loss of data ...

    Note: The usb message I also get when I run the program over HDMI.
    I know that warning! It's a tricky one. First, to verify this fix will work run the program as root. If the error goes away it is CAP_SYS_NICE issue. Take a look at the below thread on how to fix it.

    https://www.ruby-forum.com/topic/133323

  4. #24

    Re: Shiny new toy: ODROID-U2

    Thanks Kevin,

    Yep, running as root, does appear to make the error go away. So it looks like it is the CAP_SYS_NICE issue you mentioned.

    Did you fix it on your machine by editing /etc/security/limits.conf?

    if so did you do it by setting something like:
    kevin hard nice -10

    What priority? will look some more.

    Thanks again
    Last edited by KurtEck; 07-20-2013 at 12:39 PM.

  5. #25
    Join Date
    Dec 2012
    Location
    Los Angeles, CA
    Posts
    858
    Images
    25
    Rep Power
    88

    Re: Shiny new toy: ODROID-U2

    Something like that. The bot is in the closet so I can't check. Here is a snipit from the documentation.

    Linux: The device driver contains a thread for reading from the USB device. This thread should have high priority in order to function correctly. Each process using the device driver should have the CAP_SYS_NICE capability in order to raise thread priority. Failing to have that capability, will cause a failure in setting priority, consequently causing loss of data.

  6. #26

    Re: Shiny new toy: ODROID-U2

    FWIW, I run my robot code as root. It's not like it's a multi-user system where something else will be impacted if the robot code does something bad :-)

    Also, the loss of real-time priority for the USB threads is likely only a problem if you have close to 100% CPU utilization. If you're running close to idle, there will likely be time enough for all tasks without prioritizing some over others.

  7. Re: Shiny new toy: ODROID-U2

    Ok, got tired of that giant Ethernet+2 USB connector.





    I also removed the fan pins and I was going for the 3.5mm audio jack when my desoldering pump died
    That lead-free solder on the ground planes is just a pain in the a**, had to crank up the heat like crazy to get only most of it out >_>

    Also, I received a power adapter and as KurtE previously mentioned, it is kind of unreliable. I'll just use cables soldered to its pins like I did before then :/
    ---
    Personal blog: http://xevel.org
    USB2AX documentation: http://xevelabs.com

  8. #28

    Re: Shiny new toy: ODROID-U2

    So... how does it talk to the rest of the world?

  9. Re: Shiny new toy: ODROID-U2

    I'll just solder a hub or directly the devices on the USB ports. Or put very small connectors if i really feel like it.
    Full size connectors are so overrated.
    ---
    Personal blog: http://xevel.org
    USB2AX documentation: http://xevelabs.com

  10. #30

    Re: Shiny new toy: ODROID-U2

    Agreed; for small things, OTG ports seems like the way to go. I wish there were stacked versions of those :-)

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •