forked from ros2/ros2_documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update launch files to declare WebotsController node (#11) (ros2#3763) * change launch files * Update Setting-Up-Simulation-Webots-Basic.rst * update minimal version tutorial 2 * add upcoming versions * New Reset Handler tutorial (#12) (ros2#3764) * new tutorial Co-authored-by: Olivier Michel <[email protected]> * Update macOS-Development-Setup.rst (ros2#3758) - add Xcode App Store link - BASH -> ZSH (default) - make homebrew paths generic Co-authored-by: Philipp Dittmann <[email protected]> * Change confusing title between Debian package and Debian platform (ros2#3771) Currently Debian does not offer ROS2 packages. Change the title that can be confusing. * Make the calendar more mobile-friendly. (ros2#3774) * Make the calendar more mobile-friendly. When looking at some of the analytics, it looks like this page is particularly not mobile friendly. That's because the Google calendar embedded on the bottom of the page is of fixed with 800x600, which doesn't work well on many mobile devices. What we do here is to see if a device has 767 or less pixels. If it does, then we just show the agenda, which fits in just 280 pixels. If we have more than that, we have room for the full monthly agenda, so we show the full thing. Signed-off-by: Chris Lalancette <[email protected]> Co-authored-by: Tomoya Fujita <[email protected]> --------- Signed-off-by: Chris Lalancette <[email protected]> Co-authored-by: Olivier Michel <[email protected]> Co-authored-by: PhDittmann <[email protected]> Co-authored-by: Philipp Dittmann <[email protected]> Co-authored-by: Quentin Quadrat <[email protected]> Co-authored-by: Chris Lalancette <[email protected]> Co-authored-by: Tomoya Fujita <[email protected]>
- Loading branch information
1 parent
687cd01
commit c2c6f19
Showing
10 changed files
with
264 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
RHEL (RPM) | ||
========== | ||
RHEL (RPM packages) | ||
=================== | ||
|
||
.. contents:: Table of Contents | ||
:depth: 2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -333,8 +333,37 @@ It can be accessed via `iCal <https://calendar.google.com/calendar/ical/agf3kaji | |
|
||
.. raw:: html | ||
|
||
<iframe src="https://calendar.google.com/calendar/embed?src=agf3kajirket8khktupm9go748%40group.calendar.google.com" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe> | ||
|
||
|
||
<!-- | ||
The below code comes from https://www.mpking.com/2021/04/making-google-calendar-embeddable.html. | ||
The basic idea is that if we are on a desktop device (defined as anything that has more than 767 pixels), | ||
then we show the monthly version of the calendar. If we are on a device with 767 or less, show the agenda | ||
version, which is much narrower. | ||
--> | ||
<style> | ||
.responsiveCal { | ||
position: relative; padding-bottom: 75%; height: 0; overflow: hidden; | ||
} | ||
.responsiveCal iframe { | ||
position: absolute; top:0; left: 0; width: 100%; height: 100%; | ||
} | ||
@media all and (min-width: 768px) { | ||
.deskContent {display:block;} | ||
.phoneContent {display:none;} | ||
} | ||
@media all and (max-width: 767px) { | ||
.deskContent {display:none;} | ||
.phoneContent {display:block;} | ||
} | ||
</style> | ||
<div class="responsiveCal"> | ||
<div class="deskContent"> | ||
<iframe src="https://calendar.google.com/calendar/embed?src=agf3kajirket8khktupm9go748%40group.calendar.google.com" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe> | ||
</div> | ||
<div class="phoneContent"><iframe src="https://calendar.google.com/calendar/embed?mode=AGENDA&height=400&wkst=1&src=agf3kajirket8khktupm9go748%40group.calendar.google.com" style="border: 0" width="280" height="500" frameborder="0" scrolling="no"></iframe> | ||
</div> | ||
</div> | ||
|
||
If you have an individual event or series of events that you'd like to post please contact [email protected] |
15 changes: 5 additions & 10 deletions
15
source/Tutorials/Advanced/Simulators/Webots/Code/robot_launch.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 6 additions & 10 deletions
16
source/Tutorials/Advanced/Simulators/Webots/Code/robot_launch_sensor.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.