Skip to content

Commit

Permalink
Updated help links
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiagoMunoz committed Sep 20, 2016
1 parent 82d6492 commit 5be46da
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 8 deletions.
21 changes: 21 additions & 0 deletions TROUBLESHOOTING.md
@@ -0,0 +1,21 @@
# Troubleshooting

This document compiles the known compatibility issues with other Shapes Demo implementations and the possible solutions.

## Two instances in the same computer

When using eProsima ShapesDemo and RTI Shapes Demo in the same computer the file RTI_SHAPES_DEMO_QOS_PROFILES.xml needs to be modified to force RTI to only use UDPv4 as transport.
The user should add the following lines inside the Shapes_Default_Profile qos_profile tag.

<participant_qos>
<transport_builtin><mask>UDPv4</mask></transport_builtin>
<discovery_config>
<builtin_discovery_plugins>SDP</builtin_discovery_plugins>
<participant_liveliness_lease_duration>
<sec>30</sec>
<nanosec>0</nanosec>
</participant_liveliness_lease_duration>
</discovery_config>
</participant_qos>

This setting is necessary to avoid the use of Shared Memory as transport (disabling the loopback), a feature that is not yet implemented in Fast RTPS.
Binary file added src/qt/.mainwindow.cpp.swp
Binary file not shown.
21 changes: 13 additions & 8 deletions src/qt/mainwindow.cpp
Expand Up @@ -376,16 +376,21 @@ void MainWindow::on_actionAbout_triggered()

void MainWindow::on_actionUser_Manual_triggered()
{
QDesktopServices::openUrl(QUrl("file:///C:/Program Files/eProsima/FastRTPS/doc/pdf/FastRTPS_ShapesDemo_User_Manual.pdf"));
QString str(QDir::currentPath());
str.append("/FASTRTPSGEN_User_Manual.pdf");
QDesktopServices::openUrl(QUrl(str, QUrl::TolerantMode));
//QDesktopServices::openUrl(QUrl("file:///C:/Program Files/eProsima/FastRTPS/doc/pdf/FastRTPS_ShapesDemo_User_Manual.pdf"));
QDesktopServices::openUrl(QUrl("http://git.sambaserver.eprosima.com/rtps/shapesdemo/README.md"));
QDesktopServices::openUrl(QUrl("http://eprosima-fast-rtps.readthedocs.io/en/latest/geninfo.html"));
//QString str(QDir::currentPath());
//str.append("/FASTRTPSGEN_User_Manual.pdf");
//QDesktopServices::openUrl(QUrl(str, QUrl::TolerantMode));
}

void MainWindow::on_actionInteroperability_Troubleshooting_triggered()
{
QDesktopServices::openUrl(QUrl("file:///C:/Program Files/eProsima/FastRTPS/doc/pdf/FastRTPS_ShapesDemo_Interoperability_Troubleshooting.pdf"));
QString str(QDir::currentPath());
str.append("/FASTRTPSGEN_User_Manual.pdf");
QDesktopServices::openUrl(QUrl(str, QUrl::TolerantMode));
//QDesktopServices::openUrl(QUrl("file:///C:/Program Files/eProsima/FastRTPS/doc/pdf/FastRTPS_ShapesDemo_Interoperability_Troubleshooting.pdf"));
QDesktopServices::openUrl(QUrl("http://git.sambaserver.eprosima.com/rtps/shapesdemo/TROUBLESHOOTING.md"));

//QString str(QDir::currentPath());

//str.append("/FASTRTPSGEN_User_Manual.pdf");
//QDesktopServices::openUrl(QUrl(str, QUrl::TolerantMode));
}

0 comments on commit 5be46da

Please sign in to comment.