Search:

Type: Posts; User: SterlingM

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Simple Collision Detection Using SWIFT Library Problem

    I am trying to test collision with convex polyhedra using the SWIFT library. Here are my two shapes:

    cube.poly



    POLY

    8
  2. Okay I am able to read from it. The main problem...

    Okay I am able to read from it. The main problem was that I had not loaded the driver's module. Thanks for the help.
  3. Okay thanks, that was very useful. I found on the...

    Okay thanks, that was very useful. I found on the USB-I2C Communications Module link a string of bytes that is supposed to read from the compass. If you want to look at it, its about 40% down on the...
  4. That didn't work - same error message. Also, I...

    That didn't work - same error message. Also, I got no warnings about a pointer. What I don't understand is why I am opening and sending /dev/i2c-0 instead of /dev/ttyUSB0 whenever it is connected...
  5. Writing to Devantech digital compass over I2C

    I am trying to interface with a Devantech digital compass found here -

    Devantech Compass

    I am using a i2c-usb converter to plug it into my laptop -

    USB-I2C Communications Module

    First of...
  6. Replies
    1
    Views
    1,280

    Help compiling i2c-bridge.0.01

    I am trying to compile the projects found here
    USB-I2C/SPI/GPIO Interface Adapter.

    I downloaded the i2c_bridge-0.0.1-rc2.tgz package. I installed libusb and that seemed to go well with no...
  7. Replies
    3
    Views
    973

    Would I be filing the bug with Debian or FLTK?

    Would I be filing the bug with Debian or FLTK?
  8. Replies
    3
    Views
    973

    Empty Fl_Window?

    Hi,

    I made a GUI for my project a few months ago and it worked fine. I left it alone for a few months and then went back to add to it. But now the window is empty. I have a class called GUIWindow...
  9. Replies
    2
    Views
    1,548

    Oh, of course. Thanks!

    Oh, of course. Thanks!
  10. Replies
    2
    Views
    1,548

    Initialize std::vector in .h?

    My class has a std::vector member that works fine when declared like this -


    private:
    std::vector<Position> path;


    But I want to be able to give it an initial size (of say 20) like
  11. Thanks for the replies everyone. I am about to...

    Thanks for the replies everyone. I am about to start up on this code again, but first -
    I use valgrind, but it doesn't crash with valgrind...it just exits normally. According to Valgrind there is...
  12. Don't understand backtrace on invalid pointer

    Hi, whenever I quit my program, it will crash instead due to an free(): invalid pointer. When I back trace with gdb, this what I get -



    (gdb) back
    #0 0xb7fe2424 in __kernel_vsyscall ()
    #1 ...
  13. Replies
    9
    Views
    1,612

    Oh so there is nothing special in the code to be...

    Oh so there is nothing special in the code to be done? You just check for the labels? And is there any difference between two dashes and one or is that just a preference?
  14. Replies
    9
    Views
    1,612

    I know how to USE command line arguments...but...

    I know how to USE command line arguments...but how do you make it so they are inputted with labels?
  15. Replies
    9
    Views
    1,612

    How to label command line arguments?

    Hi, I'm not sure if this is the right forum for this, but how do I label command line arguments? It might be called something different...but what I mean is like when I run a program like...
  16. Replies
    4
    Views
    1,480

    Oh and the lines in the trace are - #12 ~Node...

    Oh and the lines in the trace are -

    #12 ~Node (this=0x8066900, __in_chrg=<value optimized out>) at tree.cpp:24



    Tree::Node::~Node() {}


    #13 ~Tree (this=0x8066900, __in_chrg=<value...
  17. Replies
    4
    Views
    1,480

    Ouch, I thought those code boxes might give a...

    Ouch, I thought those code boxes might give a sliding bar...
  18. Replies
    4
    Views
    1,480

    Double Free problem

    I am getting a double free error when I run my code and don't know why. The relevant code is just an a* traversal and the double free is happening when I delete my tree. To get the code out of the...
  19. Replies
    5
    Views
    14,004

    Whenever I run that code, with or without the...

    Whenever I run that code, with or without the explicit pthread_exit, I still get a possible memory loss of 144 bytes each time. So I should just regard that as wrong?
  20. Replies
    5
    Views
    14,004

    Memory leak on pthread_create?

    Whenever I run valgrind on my program, it is telling that I have possibly lost memory wherever I call pthread_create. I have been trying to follow the guidance on

    valgrind memory leak errors when...
  21. Replies
    1
    Views
    1,104

    Finding libraries in Windows

    I am trying to add a target to my makefile to compile the project in windows using MinGW. Whenever I try to compile, it compiles all of the object and then tells me all the libraries cannot be found,...
  22. Replies
    5
    Views
    1,516

    This is my favorite c++ book I own - BARNES &...

    This is my favorite c++ book I own -
    BARNES & NOBLE | C++ for Programmers (Deitel Developer Series) by Paul J. Deitel | NOOK Book (eBook), Paperback

    It's pretty thick, but it covers a lot of...
  23. Replies
    11
    Views
    6,381

    I didn't read the rest of the post very...

    I didn't read the rest of the post very carefully, but I'm assuming it just follows this idea. When I want to do this, just make the static function. Then also make an inline function in the class to...
  24. Replies
    1
    Views
    1,001

    How to initialize in constructor?

    I have a class that I want to hold a value in like this -


    class guiwindow {
    public:
    guiwindow();
    ~guiwindow();

    Fl_Window& getWindow();
    private:
  25. How to make pressing a button do something?

    Hi, I want to write code so that pressing a specified button, at any time, will run some function. I don't really have an idea of how to do this. Can anyone point me in some direction? To give more...
Results 1 to 25 of 117
Page 1 of 5 1 2 3 4