Permalink
Switch branches/tags
Commits on May 22, 2017
  1. rtps-router: Able to share UART with mavlink

    edersondisouza committed May 19, 2017
    Akin to work done on "PX4 protocol splitter", rtps-router is able to
    identify mavlink messages on UART and send them to UDP port 13800 on
    127.0.0.1 - and get from there to send to UART.
    
    This effectively enables usage of mavlink and RTPS side by side. Note
    that mavlink-router on Intel Aero needs to stop using UART and using UDP
    instead to talk to flight stack. This can be done by disabling UART
    endpoint and adding a new UDP endpoint on mavlink-router config file,
    on `/etc/mavlink-router/main.conf`:
    
        #[UartEndpoint uart]
        #Device = /dev/ttyS1
        #Baud = 460800
    
        [UdpEndpoint rtps]
        Mode = Eavesdropping
        Address = 127.0.0.1
        Port = 13800
    
    Just a reminder:
        This app is *not* meant to be here - just to simplify code sharing.
  2. mavlink & rtps side by side

    edersondisouza committed May 19, 2017
    Using protocol_splitter to share UART, we run mavlink module and rtps
    module side by side now.
  3. mavlink module: Change stack size

    edersondisouza committed May 19, 2017
    To use shared UART, a module may need more stack. Keeping this change on
    a separated commit to ease finding it out or reverting.
  4. rtps module: Change stack size

    edersondisouza committed May 19, 2017
    To use shared UART, a module may need more stack. Keeping this change on
    a separated commit to ease finding it out or reverting.
  5. PX4 rtps module: Enable usage of shared UART

    edersondisouza committed May 19, 2017
    It won't setup UART baudrate (or other parameters) if using shared UART.
    This is identified by starting rtps module without baudrate. This is so
    because mavlink module will already setup shared UART.
  6. protocol_splitter: Add RTPS capabilities

    edersondisouza committed May 19, 2017
    Besides protocol and Mavlink, added ability to split RTPS messages as
    well. They will be exposed on `/dev/rtps` device.
    
    As RTPS is both written and read, sync is necessary for both operations.
    RTPS messages are identified via their `>>>` header mark.
    
    This splitter startup could be improved on startup to care only about
    some messages, but right now it sets up for all three protocols.
  7. protocol splitter: Remove ProtocolDev class

    edersondisouza committed May 22, 2017
    It won't be necessary when RTPS supports is added.
Commits on May 19, 2017
  1. Revert "Bring mavlink back - no more fear of being locked out"

    edersondisouza committed May 19, 2017
    This reverts commit 54c3d68.
    
    A new solution is coming, allowing rtps and mavlink modules to live side
    by side.
Commits on May 11, 2017
  1. Bring mavlink back - no more fear of being locked out

    edersondisouza committed May 11, 2017
    mavlink module is started by default. To start rtps, one can use
    mavlink_shell and issue `rtps <device> <baudrate>`
    like `rtps /dev/ttyS1 460800`. rtps will stop mavlink (after that,
    mavlink shell will stop working) and start running.
    Then one can start `rtps-router` on companion board on Intel Aero.
    Note that if one wants previous behaviou - mavlink disabled and rtps
    starting by defaul, it's just a matter of reverting this commit.
Commits on May 10, 2017
  1. rtps: Exit when receive shutdown command

    edersondisouza committed May 2, 2017
    As uORB shutdown command is low prio, if rtps keeps running, it risks
    not ever allowing shutdown command to run - for instance, if it keeps
    receiving messages.
    
    This was the reason why it was necessary a flush and sleep right after
    RTPS shutdown command was sent by Tools/px_uploader. With rtps side
    fixed, no need for this hack anymore.
Commits on Apr 28, 2017
  1. Update px_uploader.py so it can flash over example/rtps on aero

    edersondisouza committed Apr 28, 2017
    When example/rtps is on aero fc, there's no mavlink. This patch sends
    rtps command to reboot fc to bootloader.
  2. rtps test: Possible sample that app that *uses* RTPS to talk with drone

    edersondisouza committed Apr 27, 2017
    This app is *not* meant to be here - just to simplify code sharing.
    
    Really simple app that issues some vehicle_commands - namely, ARM,
    DISARM, REBOOT and REBOOT TO BOOTLOADER, and listens for its ack.
  3. rtps test: Showcase an app that uses UART rtps stuff

    edersondisouza committed Apr 27, 2017
    This app is *not* meant to be here - just to simplify code sharing.
    
    It's the other side of examples/rtps: reads from UART and publishes via
    RTPS, subscribe via RTPS and writes to UART.
    
    Following examples/rtps, it only publishes vehicle_status,
    sensors_combined and vehicle_command_ack. Subscribe to vehicle_command.
    
    This example runs on Aero, in the same way mavlink-router there.
Commits on Apr 27, 2017
  1. rtps test: An app that sends/receives uORB stuff via UART

    edersondisouza committed Apr 27, 2017
    Uses Aero Uart in the same way mavlink module, but to listen/send uORB
    topics serialised as CDR format, using microCDR.
    
    Currently, it's only sending via UART sensor_combined, vehicle_status
    and vehicle_command_ack - and receives vehicle_command.
    
    Highly experimental, but it may already be useful: however, it's more of
    a C app than a C++ one - iow, refactors are likely - an obvious addition
    is CRC on data sent via UART.
    
    Based on eProsima work on RTPS on PX4.
Commits on Apr 26, 2017
Commits on Apr 6, 2017
  1. Refs PX4#1960. Fix readme

    Vicente Monge
    Vicente Monge committed Apr 6, 2017
  2. Refs PX4#1960. Update readme and more

    Vicente Monge
    Vicente Monge committed Apr 6, 2017
  3. Refs PX4#1960. Bidirectional communication ready

    Vicente Monge
    Vicente Monge committed Apr 6, 2017
  4. Basic bidirectional communication (PX4#5)

    vilhjalmur89 authored and VicenteEprosima committed Apr 6, 2017
    * Support for multiple topics uORB -> FastRTPS
    
    * Changed README to work with multiple topics
    
    * README fix
    
    * minor changes
    
    * Basic bidirectional communication
    
    * Merge fix
    
    * Updated instructions and added a UART node
Commits on Mar 28, 2017
  1. Refs PX4#1960. Add license to a file

    Vicente Monge
    Vicente Monge committed Mar 28, 2017
Commits on Mar 21, 2017
  1. Refs PX4#1960. Deleted some unused files after accept pull request an…

    Vicente Monge
    Vicente Monge committed Mar 21, 2017
    …d other adjustments
    
    Refs PX4#1960. Modified README_eprosima.rst to explain Fast RTPS subscriber generation
    
    Refs PX4#1960. Modified README_eprosima.rst
    
    Refs PX4#1960. Modified README_eprosima.rst
  2. Support for multiple topics (PX4#4)

    vilhjalmur89 authored and VicenteEprosima committed Mar 21, 2017
    * Support for multiple topics uORB -> FastRTPS
    
    * Fix transmitter folder name
    
    * Changed README to work with multiple topics
    
    * README fix
    
    * README fix
Commits on Mar 17, 2017
  1. Refs PX4#1960. Fix PX4#3

    Vicente Monge
    Vicente Monge committed Mar 17, 2017
Commits on Mar 13, 2017
  1. Refs PX4#1960. ERADME_eprosima.rst updated

    Vicente Monge
    Vicente Monge committed Mar 13, 2017
  2. Refs PX4#1960. ERADME_eprosima.rst updated

    Vicente Monge
    Vicente Monge committed Mar 13, 2017
  3. Refs PX4#1960. Added link on README to README_eprosima

    Vicente Monge
    Vicente Monge committed Mar 10, 2017
  4. Refs PX4#1960. Added link on README to README_eprosima

    Vicente Monge
    Vicente Monge committed Mar 10, 2017
  5. Refs PX4#1960. Added doc folder for our images

    Vicente Monge
    Vicente Monge committed Mar 10, 2017
  6. Refs PX4#1960. Added README_eprosima.rst change

    Vicente Monge
    Vicente Monge committed Mar 10, 2017
  7. Refs PX4#1960. Added README_eprosima.rst change

    Vicente Monge
    Vicente Monge committed Mar 10, 2017
  8. Refs PX4#1960. Added README_eprosima.rst msg/templates/uorb/transmitt…

    Vicente Monge
    Vicente Monge committed Mar 10, 2017
    …er_CMakeLists.txt.template
  9. Refs PX4#1960. Added some serial flow control

    Vicente Monge
    Vicente Monge committed Mar 10, 2017