Skip to content

Commit 3f1340f

Browse files
EduPonzrsanchez15Laura MartinIkerLuengoFranFin
authored
Rework for 2.0.x release (#133)
* Refs #8264: First changes for the full documentation re-structuring. * Refs #8299: Generate FastRTPS Doxygen documentation Signed-off-by: EduPonz <[email protected]> * Refs #8264: Added fastdds directories and files * Refs #8264: Redesigned documentation structure * Refs #8264. Move logging out of core module * Refs #8346: Formatted the paragrah style (#111) Co-authored-by: RaulSanchez <[email protected]> * Python dependencies (#110) * Refs #8341: Config for readthedocs docker and python reqs Signed-off-by: EduPonz <[email protected]> * Refs #8341: installation and use instructions Signed-off-by: EduPonz <[email protected]> * Refs #8341: Apply suggestions Signed-off-by: EduPonz <[email protected]> * Refs #8341: Doxygen errors Signed-off-by: EduPonz <[email protected]> * Refs #8341: Drop IMMEDIATE on configure file Signed-off-by: EduPonz <[email protected]> * Refs #8341: Correct path for doxygen HTML output Signed-off-by: EduPonz <[email protected]> * Refs #8346: Updated lists format (#113) Co-authored-by: RaulSanchez <[email protected]> * API reference DDS DCPS PIM [8336] (#109) * Refs #8299: Add dictionary for API reference Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref-ParameterTypes.hpp Signed-off-by: EduPonz <[email protected]> * Refs #8299: rest of core policies Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref core status Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref domain and pub modules Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref subscriber module Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref topic module Signed-off-by: EduPonz <[email protected]> * Refs #8299: Doxygen errors Signed-off-by: EduPonz <[email protected]> * Refs #8229: Remove duplicate include * Refs #8229: Make external buildcop depend on fastrtps Signed-off-by: EduPonz <[email protected]> * Refs #8229: Only add fastdds headers for doxygen Signed-off-by: EduPonz <[email protected]> * Refs #8229: Apply suggestions Signed-off-by: EduPonz <[email protected]> * Bump version to 2.0.0 (#119) Signed-off-by: EduPonz <[email protected]> * Change project name to Fast DDS (#120) Signed-off-by: EduPonz <[email protected]> * Update library overview [8399] (#118) * Refs #8358: Added figure of the library high level overview. * Added Fast DDS architecture subsection. * Refs #8358: Added programming and execution model subsection. * Refs #8358: Added functionalities subsection. * Refs #8358: Divided subsections into separate files. * Refs #8358: Applied suggested changes. * Refs #8358: Applied last requested changes. Co-authored-by: RaulSanchez <[email protected]> * Update Getting Started section [8348] (#112) * Refs #8326: Added what is DDS section * Refs #8326: Tutorial simple pubsub DDS aplication * Refs #8326: Misspelling corrections * Refs #8326: Changed the directoy structure of the simple pubsub app. * Refs #8351: Added test for the tutorial DDSHelloWorld example. * Refs #8326: Updated rtps and dds images. * Refs #8326: Changed cmake min version to v3.12 to support FindPython3 * Refs #8326: Updated helloworld python tests subprocess operation. * Refs #8326: Reordered public/private class members. * Refs #8326: Applied suggested changes * Refs #8326: Added class rst directive to class names. * Refs #8326: Changed tables and bash code format. * Refs #8326: Moved fastrtpsgen tutorial to fasrtpsgen section. * Refs #8326: Applied suggested changes. * Refs #8326: Formatted navigation bar. * Refs #8326: Applied grammar corrections. * Refs #8326: CSS restored to default settings. * Refs #8326: Updated Fast RTPS to Fast DDS brand Co-authored-by: RaulSanchez <[email protected]> * DDS domain module documentation (#114) * Refs 8330. DDS Domain, DomainParticipant and DomainParticipantFactory Signed-off-by: Iker Luengo <[email protected]> * Refs 8330. DDS Domain: profiles and PARTICIPANT_QOS_DEFAULT Signed-off-by: Iker Luengo <[email protected]> * Refs 8330. DDS DomainParticipantListener Signed-off-by: Iker Luengo <[email protected]> * Refs 8330. Add examples Signed-off-by: Iker Luengo <[email protected]> * Refs #8330. Resolve compilation errors Signed-off-by: Iker Luengo <[email protected]> * Refs 8330. Move DDS examples to separate file Signed-off-by: Iker Luengo <[email protected]> * Refs 8330. Implement proposed changes Signed-off-by: Iker Luengo <[email protected]> * Refs 8330. Add class diagram on domain module Signed-off-by: Iker Luengo <[email protected]> * Refs 8330. Examples with profiles Signed-off-by: Iker Luengo <[email protected]> * Refs 8330. Modification of examples Signed-off-by: Iker Luengo <[email protected]> * Apply suggested changes Signed-off-by: Iker Luengo <[email protected]> * Refs 8330. Apply suggested changes Signed-off-by: Iker Luengo <[email protected]> * Move api-ref files (#125) Signed-off-by: EduPonz <[email protected]> * Feature/dds publisher (#121) * Refs 8330. Add class diagram on domain module Signed-off-by: Iker Luengo <[email protected]> * Refs 8423. Documentation for Publisher Signed-off-by: Iker Luengo <[email protected]> * Refs 8423. Documentation for DataWriter Signed-off-by: Iker Luengo <[email protected]> * Refs 8423. Example code Signed-off-by: Iker Luengo <[email protected]> * Refs 8423. Class diagram Signed-off-by: Iker Luengo <[email protected]> * Refs 8423. apply agreed conventions Signed-off-by: Iker Luengo <[email protected]> * Refs 8423. Add example for DataWriterListener Signed-off-by: Iker Luengo <[email protected]> * Refs 8423. Apply suggested changes Signed-off-by: Iker Luengo <[email protected]> * Refs 8423. Apply suggested changes Signed-off-by: Iker Luengo <[email protected]> * Refs #8446: Intro to DDS layer Signed-off-by: EduPonz <[email protected]> * Refs #8446: Apply suggestions Signed-off-by: EduPonz <[email protected]> * DDS topic module documentation (#115) * Refs 8330. Add class diagram on domain module Signed-off-by: Iker Luengo <[email protected]> * Refs 8363. Topic classes and class diagram Signed-off-by: Iker Luengo <[email protected]> * Refs 8363. Topic classes examples Signed-off-by: Iker Luengo <[email protected]> * Refs 8363. Topic data types Signed-off-by: Iker Luengo <[email protected]> * Refs 8363. Examples and error correction Signed-off-by: Iker Luengo <[email protected]> * Refs 8363. Modified class diagram Signed-off-by: Iker Luengo <[email protected]> * Refs 8363. apply suggested changes Signed-off-by: Iker Luengo <[email protected]> * Refs 8363. apply suggested changes Signed-off-by: Iker Luengo <[email protected]> * Refs 8363. apply suggested changes Signed-off-by: Iker Luengo <[email protected]> * Add words from Fast DDS doxygen (#129) Signed-off-by: EduPonz <[email protected]> * User, Topic, and GroupDataQosPolicy [8379] (#117) * Refs #8299: Add User, Topic, and GroupDataQosPolicy Signed-off-by: EduPonz <[email protected]> * Refs @8299: Remove duplicates in dictionary Signed-off-by: EduPonz <[email protected]> * Refs #8299: Rebase on 2.0.x Signed-off-by: EduPonz <[email protected]> * Feature/intro (#122) * Intro written. * Some more changes. * First changes suggested by Edu addressed. * Additional comments addressed and resized image. * Reorganized list, added caption, moved ROS2 sentence. * Make test passed. * Final minor changes. * Update readthedocs python version (#132) * Refs #8299: Generate FastRTPS Doxygen documentation Signed-off-by: EduPonz <[email protected]> * Python dependencies (#110) * Refs #8341: Config for readthedocs docker and python reqs Signed-off-by: EduPonz <[email protected]> * Refs #8341: installation and use instructions Signed-off-by: EduPonz <[email protected]> * Refs #8341: Apply suggestions Signed-off-by: EduPonz <[email protected]> * Refs #8341: Doxygen errors Signed-off-by: EduPonz <[email protected]> * Refs #8341: Drop IMMEDIATE on configure file Signed-off-by: EduPonz <[email protected]> * Refs #8341: Correct path for doxygen HTML output Signed-off-by: EduPonz <[email protected]> * API reference DDS DCPS PIM [8336] (#109) * Refs #8299: Add dictionary for API reference Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref-ParameterTypes.hpp Signed-off-by: EduPonz <[email protected]> * Refs #8299: rest of core policies Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref core status Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref domain and pub modules Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref subscriber module Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref topic module Signed-off-by: EduPonz <[email protected]> * Refs #8299: Doxygen errors Signed-off-by: EduPonz <[email protected]> * Refs #8229: Remove duplicate include * Refs #8229: Make external buildcop depend on fastrtps Signed-off-by: EduPonz <[email protected]> * Refs #8229: Only add fastdds headers for doxygen Signed-off-by: EduPonz <[email protected]> * Refs #8229: Apply suggestions Signed-off-by: EduPonz <[email protected]> * Update Getting Started section [8348] (#112) * Refs #8326: Added what is DDS section * Refs #8326: Tutorial simple pubsub DDS aplication * Refs #8326: Misspelling corrections * Refs #8326: Changed the directoy structure of the simple pubsub app. * Refs #8351: Added test for the tutorial DDSHelloWorld example. * Refs #8326: Updated rtps and dds images. * Refs #8326: Changed cmake min version to v3.12 to support FindPython3 * Refs #8326: Updated helloworld python tests subprocess operation. * Refs #8326: Reordered public/private class members. * Refs #8326: Applied suggested changes * Refs #8326: Added class rst directive to class names. * Refs #8326: Changed tables and bash code format. * Refs #8326: Moved fastrtpsgen tutorial to fasrtpsgen section. * Refs #8326: Applied suggested changes. * Refs #8326: Formatted navigation bar. * Refs #8326: Applied grammar corrections. * Refs #8326: CSS restored to default settings. * Refs #8326: Updated Fast RTPS to Fast DDS brand Co-authored-by: RaulSanchez <[email protected]> * Set python3 version to 3.7 Signed-off-by: EduPonz <[email protected]> * Remove api-ref old files Signed-off-by: EduPonz <[email protected]> * Add pre to dict Signed-off-by: EduPonz <[email protected]> Co-authored-by: Raul Sanchez-Mateos Lizano <[email protected]> Co-authored-by: RaulSanchez <[email protected]> * Build PDF an ePub targets Signed-off-by: EduPonz <[email protected]> * Feature/dds subscriber [8426] (#130) * Refs 8330. Add class diagram on domain module Signed-off-by: Iker Luengo <[email protected]> * Refs 8426. Subscriber and SubscriberListener Signed-off-by: Iker Luengo <[email protected]> * Refs 8426. SubscriberListener example Signed-off-by: Iker Luengo <[email protected]> * Refs 8426. Subscriber examples Signed-off-by: Iker Luengo <[email protected]> * Refs 8426. DataReader and DataReaderListener Signed-off-by: Iker Luengo <[email protected]> * Refs 8426. DataReaderListener example Signed-off-by: Iker Luengo <[email protected]> * Refs 8426. DataReader example Signed-off-by: Iker Luengo <[email protected]> * Refs 8426. Document how to read data Signed-off-by: Iker Luengo <[email protected]> * Refs 8426. Module class diagram Signed-off-by: Iker Luengo <[email protected]> * Refs 8426. SampleInfo Signed-off-by: Iker Luengo <[email protected]> * Refs 8426. Reading data example Signed-off-by: Iker Luengo <[email protected]> * Refs 8426. Api ref links Signed-off-by: Iker Luengo <[email protected]> * Refs 8426. implement suggested changes and redo api ref links Signed-off-by: Iker Luengo <[email protected]> * Refs 8426. implement suggested changes Signed-off-by: Iker Luengo <[email protected]> * Refs 8426. implement suggested changes Signed-off-by: Iker Luengo <[email protected]> * Refs 8426. implement suggested changes Signed-off-by: Iker Luengo <[email protected]> * Changed hyperlinks colors (#127) * Refs #8346: Changed hyperlinks colors. * Refs #8346: Applied suggested changes. Co-authored-by: RaulSanchez <[email protected]> * Refs #8453: Fix almost all XML errors (#135) Signed-off-by: EduPonz <[email protected]> * API reference DDS DCPS PIM [8336] (#109) * Refs #8299: Add dictionary for API reference Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref-ParameterTypes.hpp Signed-off-by: EduPonz <[email protected]> * Refs #8299: rest of core policies Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref core status Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref domain and pub modules Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref subscriber module Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref topic module Signed-off-by: EduPonz <[email protected]> * Refs #8299: Doxygen errors Signed-off-by: EduPonz <[email protected]> * Refs #8229: Remove duplicate include * Refs #8229: Make external buildcop depend on fastrtps Signed-off-by: EduPonz <[email protected]> * Refs #8229: Only add fastdds headers for doxygen Signed-off-by: EduPonz <[email protected]> * Refs #8229: Apply suggestions Signed-off-by: EduPonz <[email protected]> * Refs #8339. Add DDS Entity documentation * Refs #8339. Add DDS QoS documentation * Refs #8431 Apply partial review requested changes * Refs #8431 Apply rest of requested changes * Rebase * Refs #8431 Apply suggested changes * Added api reference hyperlinks in the Getting Started section [8454] (#131) * API reference DDS DCPS PIM [8336] (#109) * Refs #8299: Add dictionary for API reference Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref-ParameterTypes.hpp Signed-off-by: EduPonz <[email protected]> * Refs #8299: rest of core policies Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref core status Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref domain and pub modules Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref subscriber module Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref topic module Signed-off-by: EduPonz <[email protected]> * Refs #8299: Doxygen errors Signed-off-by: EduPonz <[email protected]> * Refs #8229: Remove duplicate include * Refs #8229: Make external buildcop depend on fastrtps Signed-off-by: EduPonz <[email protected]> * Refs #8229: Only add fastdds headers for doxygen Signed-off-by: EduPonz <[email protected]> * Refs #8229: Apply suggestions Signed-off-by: EduPonz <[email protected]> * Update Getting Started section [8348] (#112) * Refs #8326: Added what is DDS section * Refs #8326: Tutorial simple pubsub DDS aplication * Refs #8326: Misspelling corrections * Refs #8326: Changed the directoy structure of the simple pubsub app. * Refs #8351: Added test for the tutorial DDSHelloWorld example. * Refs #8326: Updated rtps and dds images. * Refs #8326: Changed cmake min version to v3.12 to support FindPython3 * Refs #8326: Updated helloworld python tests subprocess operation. * Refs #8326: Reordered public/private class members. * Refs #8326: Applied suggested changes * Refs #8326: Added class rst directive to class names. * Refs #8326: Changed tables and bash code format. * Refs #8326: Moved fastrtpsgen tutorial to fasrtpsgen section. * Refs #8326: Applied suggested changes. * Refs #8326: Formatted navigation bar. * Refs #8326: Applied grammar corrections. * Refs #8326: CSS restored to default settings. * Refs #8326: Updated Fast RTPS to Fast DDS brand Co-authored-by: RaulSanchez <[email protected]> * Refs #8326: Added api reference hyperlinks and code snippet dedent. * Refs #8326: Fixed dds domain image bottom padding. * Refs #8326: Formatted svg images. * Refs #8326: Fixed Fast DDS-Gen name. * Refs #8326: Fixes images visualization. * Refs #8299: Removed duplicated api reference. Co-authored-by: Eduardo Ponz Segrelles <[email protected]> Co-authored-by: RaulSanchez <[email protected]> * Review Dynamic Types section (#116) * Refs 8370. Review and make it nice Signed-off-by: Iker Luengo <[email protected]> * Refs 8370. requested changes Signed-off-by: Iker Luengo <[email protected]> * Refs 8370. divide into files Signed-off-by: Iker Luengo <[email protected]> * Refs 8370. Clarify concepts and add diagram Signed-off-by: Iker Luengo <[email protected]> * Refs 8370. Implement suggested changes Signed-off-by: Iker Luengo <[email protected]> * Refs 8370. Implement suggested changes Signed-off-by: Iker Luengo <[email protected]> * Apply suggested changes Co-authored-by: Eduardo Ponz Segrelles <[email protected]> Co-authored-by: Eduardo Ponz Segrelles <[email protected]> * Add API-REF in READ THE DOCS (#138) Signed-off-by: EduPonz <[email protected]> * Download Fast DDS if running on Read the Docs (#140) * Refs #8473: Create output dir if it does not exist Signed-off-by: EduPonz <[email protected]> * Refs #8473: Properly Download Fast DDS if running in READTHEDOCS Signed-off-by: EduPonz <[email protected]> * Refs #8473: Delete repo if existed Signed-off-by: EduPonz <[email protected]> * Refs #8473: Apply suggestions Signed-off-by: EduPonz <[email protected]> * Refs #8470: Remove pub-sub layer (#136) Signed-off-by: EduPonz <[email protected]> * Refs 8493. SHM transport is no longer on by default (#142) Signed-off-by: Iker Luengo <[email protected]> * Update Security documentation [8462] (#134) * Refs #8264: First changes for the full documentation re-structuring. * Refs #8299: Generate FastRTPS Doxygen documentation Signed-off-by: EduPonz <[email protected]> * Refs #8264: Added fastdds directories and files * Refs #8264: Redesigned documentation structure * Refs #8264. Move logging out of core module * Refs #8346: Formatted the paragrah style (#111) Co-authored-by: RaulSanchez <[email protected]> * Python dependencies (#110) * Refs #8341: Config for readthedocs docker and python reqs Signed-off-by: EduPonz <[email protected]> * Refs #8341: installation and use instructions Signed-off-by: EduPonz <[email protected]> * Refs #8341: Apply suggestions Signed-off-by: EduPonz <[email protected]> * Refs #8341: Doxygen errors Signed-off-by: EduPonz <[email protected]> * Refs #8341: Drop IMMEDIATE on configure file Signed-off-by: EduPonz <[email protected]> * Refs #8341: Correct path for doxygen HTML output Signed-off-by: EduPonz <[email protected]> * Refs #8346: Updated lists format (#113) Co-authored-by: RaulSanchez <[email protected]> * API reference DDS DCPS PIM [8336] (#109) * Refs #8299: Add dictionary for API reference Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref-ParameterTypes.hpp Signed-off-by: EduPonz <[email protected]> * Refs #8299: rest of core policies Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref core status Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref domain and pub modules Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref subscriber module Signed-off-by: EduPonz <[email protected]> * Refs #8299: API ref topic module Signed-off-by: EduPonz <[email protected]> * Refs #8299: Doxygen errors Signed-off-by: EduPonz <[email protected]> * Refs #8229: Remove duplicate include * Refs #8229: Make external buildcop depend on fastrtps Signed-off-by: EduPonz <[email protected]> * Refs #8229: Only add fastdds headers for doxygen Signed-off-by: EduPonz <[email protected]> * Refs #8229: Apply suggestions Signed-off-by: EduPonz <[email protected]> * Bump version to 2.0.0 (#119) Signed-off-by: EduPonz <[email protected]> * Change project name to Fast DDS (#120) Signed-off-by: EduPonz <[email protected]> * Update library overview [8399] (#118) * Refs #8358: Added figure of the library high level overview. * Added Fast DDS architecture subsection. * Refs #8358: Added programming and execution model subsection. * Refs #8358: Added functionalities subsection. * Refs #8358: Divided subsections into separate files. * Refs #8358: Applied suggested changes. * Refs #8358: Applied last requested changes. Co-authored-by: RaulSanchez <[email protected]> * Update Getting Started section [8348] (#112) * Refs #8326: Added what is DDS section * Refs #8326: Tutorial simple pubsub DDS aplication * Refs #8326: Misspelling corrections * Refs #8326: Changed the directoy structure of the simple pubsub app. * Refs #8351: Added test for the tutorial DDSHelloWorld example. * Refs #8326: Updated rtps and dds images. * Refs #8326: Changed cmake min version to v3.12 to support FindPython3 * Refs #8326: Updated helloworld python tests subprocess operation. * Refs #8326: Reordered public/private class members. * Refs #8326: Applied suggested changes * Refs #8326: Added class rst directive to class names. * Refs #8326: Changed tables and bash code format. * Refs #8326: Moved fastrtpsgen tutorial to fasrtpsgen section. * Refs #8326: Applied suggested changes. * Refs #8326: Formatted navigation bar. * Refs #8326: Applied grammar corrections. * Refs #8326: CSS restored to default settings. * Refs #8326: Updated Fast RTPS to Fast DDS brand Co-authored-by: RaulSanchez <[email protected]> * DDS domain module documentation (#114) * Refs 8330. DDS Domain, DomainParticipant and DomainParticipantFactory Signed-off-by: Iker Luengo <[email protected]> * Refs 8330. DDS Domain: profiles and PARTICIPANT_QOS_DEFAULT Signed-off-by: Iker Luengo <[email protected]> * Refs 8330. DDS DomainParticipantListener Signed-off-by: Iker Luengo <[email protected]> * Refs 8330. Add examples Signed-off-by: Iker Luengo <[email protected]> * Refs #8330. Resolve compilation errors Signed-off-by: Iker Luengo <[email protected]> * Refs 8330. Move DDS examples to separate file Signed-off-by: Iker Luengo <[email protected]> * Refs 8330. Implement proposed changes Signed-off-by: Iker Luengo <[email protected]> * Refs 8330. Add class diagram on domain module Signed-off-by: Iker Luengo <[email protected]> * Refs 8330. Examples with profiles Signed-off-by: Iker Luengo <[email protected]> * Refs 8330. Modification of examples Signed-off-by: Iker Luengo <[email protected]> * Apply suggested changes Signed-off-by: Iker Luengo <[email protected]> * Refs 8330. Apply suggested changes Signed-off-by: Iker Luengo <[email protected]> * Move api-ref files (#125) Signed-off-by: EduPonz <[email protected]> * Feature/dds publisher (#121) * Refs 8330. Add class diagram on domain module Signed-off-by: Iker Luengo <[email protected]> * Refs 8423. Documentation for Publisher Signed-off-by: Iker Luengo <[email protected]> * Refs 8423. Documentation for DataWriter Signed-off-by: Iker Luengo <[email protected]> * Refs 8423. Example code Signed-off-by: Iker Luengo <[email protected]> * Refs 8423. Class diagram Signed-off-by: Iker Luengo <[email protected]> * Refs 8423. apply agreed conventions Signed-off-by: Iker Luengo <[email protected]> * Refs 8423. Add example for DataWriterListener Signed-off-by: Iker Luengo <[email protected]> * Refs 8423. Apply suggested changes Signed-off-by: Iker Luengo <[email protected]> * Refs 8423. Apply suggested changes Signed-off-by: Iker Luengo <[email protected]> * Refs #8446: Intro to DDS layer Signed-off-by: EduPonz <[email protected]> * Refs #8446: Apply suggestions Signed-off-by: EduPonz <[email protected]> * DDS topic module documentation (#115) * Refs 8330. Add class diagram on domain module Signed-off-by: Iker Luengo <[email protected]> * Refs 8363. Topic classes and class diagram Signed-off-by: Iker Luengo <[email protected]> * Refs 8363. Topic classes examples Signed-off-by: Iker Luengo <[email protected]> * Refs 8363. Topic data types Signed-off-by: Iker Luengo <[email protected]> * Refs 8363. Examples and error correction Signed-off-by: Iker Luengo <[email protected]> * Refs 8363. Modified class diagram Signed-off-by: Iker Luengo <[email protected]> * Refs 8363. apply suggested changes Signed-off-by: Iker Luengo <[email protected]> * Refs 8363. apply suggested changes Signed-off-by: Iker Luengo <[email protected]> * Refs 8363. apply suggested changes Signed-off-by: Iker Luengo <[email protected]> * Add words from Fast DDS doxygen (#129) Signed-off-by: EduPonz <[email protected]> * User, Topic, and GroupDataQosPolicy [8379] (#117) * Refs #8299: Add User, Topic, and GroupDataQosPolicy Signed-off-by: EduPonz <[email protected]> * Refs @8299: Remove duplicates in dictionary Signed-off-by: EduPonz <[email protected]> * Refs #8299: Rebase on 2.0.x Signed-off-by: EduPonz <[email protected]> * Refs #8411: Changed the outline and reorganized the contents. * Refs #8411: Updated introduction. * Refs #8411: Updated authentication plugin documentation. * Refs #8411: Updated access control plugin documentation. * Refs #8411: Added governance and permissions xsd and examples. * Refs #8411: Updated cryptographic plugin documentation. * Refs #8411: Added logging plugin documentation. * Refs #8411: Removed duplicated plugin intros and apply requested changes. * Refs #8411: Moved intro note. Co-authored-by: RaulSanchez <[email protected]> Co-authored-by: EduPonz <[email protected]> Co-authored-by: Laura Martin <[email protected]> Co-authored-by: IkerLuengo <[email protected]> * DDS-status [8339] (#137) * Refs 8339. Improve Entity section Signed-off-by: Iker Luengo <[email protected]> * Refs 8339. Listener support notes Signed-off-by: Iker Luengo <[email protected]> * Refs 8339. Documentation of Status Signed-off-by: Iker Luengo <[email protected]> * Refs 8339. Loop on data callbacks Signed-off-by: Iker Luengo <[email protected]> * Refs 8339. Mini-ToCs on policies Signed-off-by: Iker Luengo <[email protected]> * Refs 8339. Apply requested changes Signed-off-by: Iker Luengo <[email protected]> * Move Writer-reader layer into RTPS [8521] (#143) * Refs #8498: Move writer-reader layer to RTPS layer Signed-off-by: EduPonz <[email protected]> * Refs #8498: Adapt to DDS Signed-off-by: EduPonz <[email protected]> * Refs #8498: Apply suggestions Signed-off-by: EduPonz <[email protected]> * Fixed security code folder moved. * Update Discovery Protocols documentation [8474] (#139) * Refs #8469: Restructured discovery section and updated general settings. * Refs #8469: Updated simple discovery settings documentation. * Refs #8649: Updated client-server discovery settings documentation. * Refs #8469: Corrected spelling errors. * Refs #8469: Applied suggested changes. * Refs #8469: Added DomainParticipantListener discovery callbacks. * Refs #8469: Added API reference hyperlinks. * Refs #8469: Added multiple options for setting the server GuidPrefix. * Fixed security module paths. * Refs #8469: Applied changes. Co-authored-by: RaulSanchez <[email protected]> Co-authored-by: RaulSanchez <[email protected]> Co-authored-by: Laura Martin <[email protected]> Co-authored-by: rsanchez15 <[email protected]> Co-authored-by: IkerLuengo <[email protected]> Co-authored-by: FranFin <[email protected]> Co-authored-by: Miguel Company <[email protected]>
1 parent b816ded commit 3f1340f

File tree

307 files changed

+23219
-5310
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

307 files changed

+23219
-5310
lines changed

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ html:
5555
mkdir -p build/code
5656
cd build/code && cmake ../../code -DBUILDCOP=OFF
5757
cmake --build build/code
58-
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
5958
@echo
6059
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
6160

@@ -68,7 +67,7 @@ compile:
6867
@echo "Source code build finished."
6968

7069
.PHONY: test
71-
test: html compile
70+
test: compile
7271
doc8 --max-line-length 120 docs
7372
@echo
7473
@echo "RST checking finished."

README.md

+93-110
Original file line numberDiff line numberDiff line change
@@ -1,159 +1,142 @@
1-
# eProsima Fast RTPS
1+
# eProsima Fast RTPS Documentation
22

33
[![Releases](https://img.shields.io/github/release/eProsima/Fast-RTPS.svg)](https://github.com/eProsima/Fast-RTPS/releases)
44
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
55
[![Linux Build Status](http://jenkins.eprosima.com:8080/job/FastRTPS%20Docs%20Nightly%20Master/badge/icon)](http://jenkins.eprosima.com:8080/job/FastRTPS%20Docs%20Nightly%20Master)
66

77
<a href="http://www.eprosima.com"><img src="https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcSd0PDlVz1U_7MgdTe0FRIWD0Jc9_YH-gGi0ZpLkr-qgCI6ZEoJZ5GBqQ" align="left" hspace="8" vspace="2" width="100" height="100" ></a>
88

9-
*eprosima Fast RTPS* is a C++ implementation of the RTPS (Real Time Publish Subscribe) protocol, which provides publisher-subscriber communications over unreliable transports such as UDP,
10-
as defined and maintained by the Object Management Group (OMG) consortium. RTPS is also the wire interoperability protocol defined for the Data Distribution
11-
Service (DDS) standard, again by the OMG. *eProsima Fast RTPS* holds the benefit of being standalone and up-to-date, as most vendor solutions either implement RTPS as a tool to implement
12-
DDS or use past versions of the specification.
9+
eprosima Fast RTPS is a C++ implementation of the RTPS (Real Time Publish Subscribe) protocol, which provides publisher-subscriber communications over unreliable transports such as UDP, as defined and maintained by the Object Management Group (OMG) consortium. RTPS is also the wire interoperability protocol defined for the Data Distribution Service (DDS) standard, again by the OMG. eProsima Fast RTPS holds the benefit of being standalone and up-to-date, as most vendor solutions either implement RTPS as a tool to implement DDS or use past versions of the specification.
1310

14-
Some of the main features of this library are:
11+
For more information about the library, check out the [Fast-RTPS documentation](https://fast-rtps.docs.eprosima.com/en/latest/).
12+
You can find all the library's source code on our [GitHub repository](https://github.com/eProsima/Fast-RTPS).
1513

16-
* Configurable best-effort and reliable publish-subscribe communication policies for real-time
17-
applications.
18-
* Plug and play connectivity so that any new applications are automatically discovered by any other
19-
members of the network.
20-
* Modularity and scalability to allow continuous growth with complex and simple devices in the
21-
network.
22-
* Configurable network behavior and interchangeable transport layer: Choose the best protocol and
23-
system input/output channel combination for each deployment.
24-
* Two API Layers: a high-level Publisher-Subscriber one focused on usability and a lower-level Writer-Reader one that provides finer access to the inner workings of the RTPS protocol.
14+
1. [Installation Guide](#installation-guide)
15+
1. [Getting Started](#getting-started)
16+
1. [Generating documentation in other formats](#generating-documentation-in-other-formats)
17+
1. [Running documentation tests](#running-documentation-tests)
18+
1. [Simulating Read the Docs](#simulating-read-the-docs)
2519

26-
*eProsima Fast RTPS* has been adopted by multiple organizations in many sectors including these important cases:
27-
28-
* Robotics: ROS (Robotic Operating System) as their default middleware for ROS2.
29-
* EU R&D: FIWARE Incubated GE.
20+
## Installation Guide
3021

31-
## Supported platforms
22+
1. In order to build and test the documentation, some dependencies must be installed beforehand:
3223

33-
* Linux [![Linux Build Status](http://jenkins.eprosima.com:8080/job/FastRTPS%20Nightly%20Master%20Security%20Linux/badge/icon)](http://jenkins.eprosima.com:8080/job/FastRTPS%20Nightly%20Master%20Security%20Linux)
34-
* Windows [![Windows Build Status](http://jenkins.eprosima.com:8080/job/FastRTPS%20Nightly%20Master%20Security%20Windows/badge/icon)](http://jenkins.eprosima.com:8080/job/FastRTPS%20Nightly%20Master%20Security%20Windows)
35-
* Mac [![Mac Build Status](http://jenkins.eprosima.com:8080/job/FastRTPS%20Nightly%20Master%20Security%20Mac/badge/icon)](http://jenkins.eprosima.com:8080/job/FastRTPS%20Nightly%20Master%20Security%20Mac)
24+
```bash
25+
sudo apt update
26+
sudo apt install -y \
27+
git \
28+
gcc \
29+
g++ \
30+
cmake \
31+
curl \
32+
wget \
33+
libasio-dev \
34+
libtinyxml2-dev \
35+
doxygen \
36+
python3 \
37+
python3-pip \
38+
python3-venv \
39+
python3-sphinxcontrib.spelling \
40+
imagemagick
41+
```
3642

37-
## Installation Guide
38-
You can get either a binary distribution of *eprosima Fast RTPS* or compile the library yourself from source.
43+
1. Clone the repository
3944

40-
### Installation from binaries
41-
The latest, up to date binary release of *eprosima Fast RTPS* can be obtained from the <a href='http://www.eprosima.com'>company website</a>.
45+
```bash
46+
cd ~
47+
git clone https://github.com/eProsima/Fast-RTPS-docs fastrtps-docs
48+
```
4249

43-
### Installation from Source
50+
1. Create a virtual environment and install python3 dependencies
4451

45-
#### Dependencies
52+
```bash
53+
cd ~/fastrtps-docs
54+
python3 -m venv fastrtps-docs-venv
55+
source fastrtps-docs-venv/bin/activate
56+
pip3 install -r docs/requirements.txt
57+
```
4658

47-
##### Asio and TinyXML2 libraries
59+
## Getting Started
4860

49-
On Linux, you can install these libraries using the package manager of your Linux distribution.
50-
For example, on Ubuntu you can install them by using its package manager with the next command.
61+
To generate the documentation in a HTML format for a specific branch of Fast-RTPS run:
5162

5263
```bash
53-
sudo apt install libasio-dev libtinyxml2-dev
64+
cd ~/fastrtps-docs
65+
source fastrtps-docs-venv/bin/activate
66+
make html
5467
```
5568

56-
On Windows, you can install these libraries using [Chocolatey](https://chocolatey.org).
57-
First, download the following chocolatey packages from this
58-
[ROS2 Github repository](https://github.com/ros2/choco-packages/releases/latest).
59-
60-
* asio.1.12.1.nupkg
61-
* tinyxml2.6.0.0.nupkg
69+
### Selecting Fast-RTPS branch
6270

63-
Once these packages are downloaded, open an administrative shell and execute the following command:
71+
It is possible to specify the Fast-RTPS branch for which the documentation is generated via the environment variable `FASTRTPS_BRANCH`.
6472

65-
```batch
66-
choco install -y -s <PATH\TO\DOWNLOADS\> asio tinyxml2
73+
```bash
74+
cd ~/fastrtps-docs
75+
source fastrtps-docs-venv/bin/activate
76+
FASTRTPS_BRANCH=<branch> make help
6777
```
6878

69-
Please replace `<PATH\TO\DOWNLOADS>` with the folder you downloaded the packages to.
79+
## Generating documentation in other formats
7080

71-
#### Colcon installation
72-
*******************
73-
[colcon](https://colcon.readthedocs.io) is a command line tool to build sets of software packages.
74-
This section explains to use it to compile easily Fast-RTPS and its dependencies.
75-
First install ROS2 development tools (colcon and vcstool):
81+
The documentation can be generated in several formats such as HTML, PDF, LaTex, etc. For a complete list of targets run:
7682

7783
```bash
78-
pip install -U colcon-common-extensions vcstool
84+
cd ~/fastrtps-docs
85+
make help
7986
```
8087

81-
Download the repos file that will be used to download Fast RTPS and its dependencies:
88+
Once you have selected a format, generate the documentation with:
8289

8390
```bash
84-
$ wget https://raw.githubusercontent.com/eProsima/Fast-RTPS/master/fastrtps.repos
85-
$ mkdir src
86-
$ vcs import src < fastrtps.repos
91+
cd ~/fastrtps-docs
92+
source fastrtps-docs-venv/bin/activate
93+
FASTRTPS_BRANCH=<branch> make <output_format>
8794
```
8895

89-
Finally, use colcon to compile all software:
90-
91-
```bash
92-
$ colcon build
93-
```
96+
## Running documentation tests
9497

95-
#### Manual installation
96-
*******************
97-
Before compiling manually Fast RTPS you need to clone the following dependencies and compile them using
98-
[CMake](https://cmake.org).
98+
DISCLAIMER: In order to run documentation tests, access to eProsima's intranet is required.
9999
100-
* [Fast CDR](https://github.com/eProsima/Fast-CDR.git)
100+
This repository provides a set of tests that verify that:
101101
102-
```bash
103-
$ git clone https://github.com/eProsima/Fast-CDR.git
104-
$ mkdir Fast-CDR/build && cd Fast-CDR/build
105-
$ cmake ..
106-
$ cmake --build . --target install
107-
```
102+
1. The RST follows the style guidelines
103+
1. The HTML is built correctly
104+
1. The C++ snippets compile against the library's version
105+
1. The XML snippets define valid configurations
108106

109-
* [Foonathan memory](https://github.com/foonathan/memory)
110-
111-
```bash
112-
$ git clone https://github.com/foonathan/memory.git
113-
$ cd memory
114-
$ git submodule update --init --recursive
115-
$ mkdir build && cd build
116-
$ cmake ..
117-
$ cmake --build . --target install
118-
```
119-
120-
Once all dependencies are installed, you will be able to compile and install Fast RTPS.
107+
Run the tests by:
121108

122109
```bash
123-
$ git clone https://github.com/eProsima/Fast-RTPS.git
124-
$ mkdir Fast-RTPS/build && cd Fast-RTPS/build
125-
$ cmake ..
126-
$ cmake --build . --target install
110+
cd ~/fastrtps-docs
111+
source fastrtps-docs-venv/bin/activate
112+
FASTRTPS_BRANCH=<branch> make test
127113
```
128114

115+
## Simulating Read the Docs
129116

130-
## Documentation
131-
132-
You can access the documentation online, which is hosted on [Read the Docs](http://eprosima-fast-rtps.readthedocs.io).
133-
134-
* [Start Page](http://eprosima-fast-rtps.readthedocs.io)
135-
* [Installation manual](http://eprosima-fast-rtps.readthedocs.io/en/latest/requirements.html)
136-
* [User manual](http://eprosima-fast-rtps.readthedocs.io/en/latest/introduction.html)
137-
* [FastRTPSGen manual](http://eprosima-fast-rtps.readthedocs.io/en/latest/geninfo.html)
138-
* [Release notes](http://eprosima-fast-rtps.readthedocs.io/en/latest/notes.html)
139-
140-
## Quick Demo
141-
142-
For those who want to try a quick demonstration of Fast-RTPS libraries on Ubuntu, here is a way to launch an example application.
117+
Read the Docs generates the documentation using Sphinx and [conf.py](docs/conf.py).
118+
This means that it does not execute `make` and therefore Fast DDS is not downloaded for API reference documentation generation.
119+
[conf.py](docs/conf.py) provides some extra logic to download Fast DDS and generate the Doxygen documentation when running on a Read the Docs environment.
120+
This is done by means of the environment variable `READTHEDOCS`.
121+
When this variable is set to `True`, [conf.py](docs/conf.py) will clone Fast DDS in `build/code/external/eprosima/src/` (same place as CMake) and will set it to a branch applying the following criteria:
143122

144-
First, download and install **docker** application. Open a terminal and type the following command
123+
1. Try to checkout to the branch specified by `FASTRTPS_BRANCH`.
124+
1. If the variable is not set, or the branch does not exist, try to checkout to a branch with the same name as the current branch on this repository.
125+
1. If the previous fails, fallback to `master`.
145126

146-
$ sudo apt-get install docker.io
127+
To simulating Read the Docs operation, make sure you do not have a `build` directory.
147128

148-
Then, download the docker image file from https://eprosima.com/index.php/downloads-all
149-
150-
Load the image and run it:
151-
152-
$ docker load -i ubuntu-fast-rtps.tar
153-
$ docker run -it ubuntu-fast-rtps
154-
155-
You can run as many images as you want and check the communication between them.
129+
```bash
130+
cd ~/fastrtps-docs
131+
rm -rf build
132+
```
156133

157-
## Getting Help
134+
Then, set `READTHEDOCS`, `FASTRTPS_BRANCH` and run sphinx:
158135

159-
If you need support you can reach us by mail at `[email protected]` or by phone at `+34 91 804 34 48`.
136+
```bash
137+
READTHEDOCS=True FASTRTPS_BRANCH=<branch> sphinx-build \
138+
-b html \
139+
-Dbreathe_projects.FastDDS=<abs_path_to_docs_repo>/fastrtps-docs/build/code/doxygen/xml \
140+
-d <abs_path_to_docs_repo>/fastrtps-docs/build/doctrees \
141+
docs <abs_path_to_docs_repo>/fastrtps-docs/build/html
142+
```

code/CMakeLists.txt

+77-1
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,79 @@ execute_process(COMMAND ${CMAKE_COMMAND} --build .
119119
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/external
120120
)
121121

122+
#########################################################################################################################
123+
# Build Doxygen documentation
124+
#########################################################################################################################
125+
126+
find_package(Doxygen REQUIRED)
127+
# Create doxygen directories
128+
add_custom_target(doc-dirs
129+
COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_BINARY_DIR}/doxygen
130+
COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_BINARY_DIR}/html
131+
COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_BINARY_DIR}/html/doxygen
132+
COMMENT "Creating documentation directories" VERBATIM)
133+
134+
# Get header files from repo instead of from installation. This way Fast RTPS does not need to be compiled
135+
file(GLOB_RECURSE HPP_FILES "${PROJECT_BINARY_DIR}/external/eprosima/src/fastrtps/include/fastdds/**/*.h*")
136+
137+
# Doxygen related variables
138+
set(DOXYGEN_INPUT_DIR "${PROJECT_BINARY_DIR}/external/eprosima/src/fastrtps/include/fastdds")
139+
set(DOXYGEN_OUTPUT_DIR "${PROJECT_BINARY_DIR}/doxygen")
140+
set(DOXYGEN_INDEX_FILE "${PROJECT_BINARY_DIR}/doxygen/xml/index.xml")
141+
set(DOXYFILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/doxygen-config.in")
142+
set(DOXYFILE_OUT ${PROJECT_BINARY_DIR}/doxygen-config)
143+
144+
# Configure doxygen
145+
configure_file(${DOXYFILE_IN} ${DOXYFILE_OUT} @ONLY)
146+
147+
# Doxygen command
148+
add_custom_command(OUTPUT ${DOXYGEN_INDEX_FILE}
149+
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYFILE_OUT}
150+
DEPENDS ${HPP_FILES}
151+
MAIN_DEPENDENCY ${DOXYFILE_OUT} ${DOXYFILE_IN}
152+
COMMENT "Generating doxygen documentation")
153+
154+
# Generate API reference
155+
add_custom_target(doxygen ALL
156+
DEPENDS ${DOXYGEN_INDEX_FILE}
157+
COMMENT "Generated API documentation with doxygen" VERBATIM)
158+
add_dependencies(doxygen doc-dirs)
159+
160+
########################################################################################################################
161+
# Build Sphinx documentation
162+
########################################################################################################################
163+
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
164+
find_package(Sphinx REQUIRED)
165+
166+
set(SPHINX_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/../docs")
167+
set(SPHINX_BUILD "${PROJECT_BINARY_DIR}/../html")
168+
169+
add_custom_target(Sphinx ALL
170+
COMMAND
171+
${SPHINX_EXECUTABLE} -b html
172+
# Tell Breathe where to find the Doxygen output
173+
-Dbreathe_projects.FastDDS=${DOXYGEN_OUTPUT_DIR}/xml
174+
-d "${PROJECT_BINARY_DIR}/../doctrees" ${SPHINX_SOURCE} ${SPHINX_BUILD}
175+
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
176+
DEPENDS doxygen
177+
COMMENT "Generating documentation with Sphinx")
178+
122179
########################################################################################################################
123180
# Build example and tests
124181
########################################################################################################################
125182
if(BUILDCOP)
126183
set(CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH};${PROJECT_BINARY_DIR}/external/eprosima/install")
127184
find_package(fastrtps REQUIRED)
128185

186+
####################################################################################################################
187+
# Compile getting started tutorial
188+
####################################################################################################################
189+
add_subdirectory(Examples/C++/DDSHelloWorld)
190+
129191
####################################################################################################################
130192
# Compile example
131193
####################################################################################################################
132-
add_executable(doctest CodeTester.cpp)
194+
add_executable(doctest CodeTester.cpp DDSCodeTester.cpp)
133195
target_include_directories(doctest PRIVATE ${PROJECT_BINARY_DIR}/external/eprosima/src/fastrtps/src/cpp
134196
${PROJECT_BINARY_DIR}/external/eprosima/src/fastrtps/thirdparty/tinyxml2)
135197
target_link_libraries(doctest fastrtps)
@@ -152,6 +214,9 @@ if(BUILDCOP)
152214
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/StaticTester.xml
153215
${CMAKE_CURRENT_BINARY_DIR}/StaticTester.xml COPYONLY)
154216

217+
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/helloworld_test.py
218+
${CMAKE_CURRENT_BINARY_DIR}/helloworld_test.py COPYONLY)
219+
155220
add_test(NAME xmltest COMMAND doctest XMLTester.xml)
156221
set_property(TEST xmltest
157222
APPEND PROPERTY ENVIRONMENT "LD_LIBRARY_PATH=${PROJECT_BINARY_DIR}/external/eprosima/install/lib")
@@ -167,4 +232,15 @@ if(BUILDCOP)
167232
add_test(NAME statictest COMMAND doctest StaticTester.xml)
168233
set_property(TEST statictest
169234
APPEND PROPERTY ENVIRONMENT "LD_LIBRARY_PATH=${PROJECT_BINARY_DIR}/external/eprosima/install/lib")
235+
236+
find_package(Python COMPONENTS Interpreter Development)
237+
if(${Python_FOUND} AND (${Python_VERSION} VERSION_GREATER "3.6"))
238+
add_test(NAME helloworld COMMAND ${Python_EXECUTABLE} helloworld_test.py)
239+
set_property(TEST helloworld
240+
APPEND PROPERTY ENVIRONMENT "LD_LIBRARY_PATH=${PROJECT_BINARY_DIR}/external/eprosima/install/lib")
241+
set_property(TEST helloworld
242+
APPEND PROPERTY ENVIRONMENT "HELLOWORLD_PUB_TEST_BIN=$<TARGET_FILE:DDSHelloWorldPublisher>")
243+
set_property(TEST helloworld
244+
APPEND PROPERTY ENVIRONMENT "HELLOWORLD_SUB_TEST_BIN=$<TARGET_FILE:DDSHelloWorldSubscriber>")
245+
endif()
170246
endif()

0 commit comments

Comments
 (0)