8 Matching Annotations
  1. Dec 2016
    1. os::TransportHints are used to specify hints about how you want the transport layer to behave for this topic. For example, if you wanted to specify an "unreliable" connection (and not allow a "reliable" connection as a fall back):

      可以指定采用UDP连接

    2. transport_hints The transport hints allow you to specify hints to roscpp's transport layer. This lets you specify things like preferring a UDP transport, using tcp nodelay, etc. This is explained in more detail later.

      对于TCP、UDP的控制通过subscriber实现

    3. there is an implicit contract between you and roscpp: you may not modify the message you've sent after you send it, since that pointer will be passed directly to any intraprocess subscribers. If you want to send another message, you must allocate a new one and send that.

      使用nodelet和进程内sub/pub时要非常小心,消息每次pub之前最好new一个

    1. Separating out callbacks into different queues can be useful for a number of reasons. Some examples include: Long-running services. Assigning a service its own callback queue that gets serviced in a separate thread means that service is guaranteed not to block other callbacks. Threading specific computationally expensive callbacks. Similar to the long-running service case, this allows you to thread specific callbacks while keeping the simplicity of single-threaded callbacks for the rest your application.

      不论是service还是callback,计算时间过长,并且出现非比较复杂的节点通信关系时就要考虑该问题。

  2. Nov 2016
    1. roslaunch creates a new .launch file that contains the nodes you wish to launch on the remote machine. It then sshes into the remote machine and launches a roslaunch child process with that new .launch file.

      roslaunch远程调用的实现原理

  3. May 2016
    1. PULSE, 1916. http://www.broadsheet.ie/2016/05/11/fingers-on-the-pulse-of-1916/

      The Dublin Metropolitan Police (DMP) Prisoners Books for 1905-1908 and 1911-1918 are amongst the most valuable new documents to come to light on the revolutionary decade.

      They include important information on social and political life in the capital during the last years of the Union, from the period of widespread anticipation of Home Rule, to the advent of the 1913 Lockout, the outbreak of the First World War in 1914, the Easter Rising and its aftermath in 1916, and including the conscription crisis of 1918.

      They will also be invaluable to those interested in criminology, genealogy, and family history.

      The collection comprises of four large leather bound, double ledger volumes containing hand written entries that record the details of daily charge sheets issued by DMP members to offenders or alleged offenders.

      Each volume contains the name, age, address, occupation, alleged offence and, in most cases, outcome of cases involving over 30,000 people arrested by the DMP.

      Each volume also contains an index of prisoners with references to the pages containing details of the charge. The information in these volumes serves, therefore, to provide new perspectives on life in Dublin during a time of war and revolution.