Search:

Type: Posts; User: erupter

Search: Search took 0.01 seconds.

  1. Really: are you making fun of me? Do you have...

    Really: are you making fun of me?
    Do you have any familiarity with the concepts of control theory, time coherence, sampling, signal theory and moreover determinism?
  2. Either I'm missing something really stupid here,...

    Either I'm missing something really stupid here, or you refuse to see my point of view. Or worse you're making fun of me.

    Why would that be? Because otherwise every time I polled the sockets, I'd...
  3. Maybe I wasn't clear enough last time: this is a...

    Maybe I wasn't clear enough last time: this is a barebone testbed.

    Ok so you want to know what I have to do: the entire application manages a robot, with sensors, map building, odometry, state...
  4. You are surely well informed about POSIX, but it...

    You are surely well informed about POSIX, but it seems to me you aren't keen on actually helping me solve my problem: pointing out where I don't adhere to POSIX standards, and what other standard...
  5. I am finally able to achieve what I intended by...

    I am finally able to achieve what I intended by using timer_create() with SIGUSR1.

    Correct me if I'm wrong: does this mean I can't have more than 2 custom signals per thread?
  6. No it wouldn't work as zmq_poll takes...

    No it wouldn't work as zmq_poll takes microseconds for timeout, and I need seconds.

    Here is the trace


    execve("./zeromq_ex1", ["./zeromq_ex1"], [/* 41 vars */]) = 0
    brk(0) ...
  7. Will read, I'm not well educated in this matter...

    Will read, I'm not well educated in this matter to say the thruth.
    Edit: don't understand how this affects me.
    The effective handler does a compare and sets a variable, it doesn't call any non...
  8. The code for s_sleep is // Sleep for a...

    The code for s_sleep is



    // Sleep for a number of milliseconds
    static void
    s_sleep (int msecs)
    {
    #if (defined (__WINDOWS__))
    Sleep (msecs);
  9. Puzzled: SIGALRM signal handler doesn't install

    Hello.
    I already installed some signal handlers, but the one for SIGALRM doesn't install.
    Application follows default action and quits.
    Here is my code


    #define INTERVAL 10
    static int...
  10. Replies
    8
    Views
    1,857

    You mean using player's inner messaging system?...

    You mean using player's inner messaging system? I'm having a bit of problems with player itself, meaning they changed much of the APIs I was used to, and I'm still getting used to the new behaviour....
  11. Replies
    8
    Views
    1,857

    I'm not a linux programmer, hence I don't know...

    I'm not a linux programmer, hence I don't know what kind of support is provided for kernel libraries.
    What if a library has only C++ headers?
    It's wouldn't be the first.


    Ok I'll do.



    You...
  12. Replies
    8
    Views
    1,857

    The idea of a single executable that could be...

    The idea of a single executable that could be launched multiple times with different parameters was alluring.
    This way I have to write a C++ program for sure (is thread spawning even doable with...
  13. Replies
    28
    Views
    3,870

    I may point out that there is a rilevancy to the...

    I may point out that there is a rilevancy to the "square root thingy", just that there is no root.
    There can't be a factor larger than the number divided by 2, just because 2 is the smallest factor...
  14. Replies
    8
    Views
    1,857

    Advice on inter-process communication

    Hello.

    As a project for my master thesis, I'm developing a multi-robot mapping system where the robots share data.
    Now since this is all simulated, i run one simulator (player/stage under ubuntu...
Results 1 to 14 of 14