Skip to content

Commit

Permalink
added ids and buttons for page sections
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroastudillo committed Jun 16, 2024
1 parent e2565db commit 4112fb1
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 51 deletions.
9 changes: 9 additions & 0 deletions _includes/buttons.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<script>
var elements = document.querySelectorAll('a');
Array.prototype.forEach.call(elements, function(el, i){
if(el.innerHTML.substring(0,1)=='[' && el.innerHTML.substring(el.innerHTML.length-1)==']') {
el.innerHTML = el.innerHTML.substring(1,el.innerHTML.length-1);
el.classList.add('btn');
}
});
</script>
61 changes: 11 additions & 50 deletions _layouts/landing.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ <h1 class="display-3">{{ title }}</h1>
<hr class="my-4">
{{ content }}
{% if site.data.index.buttons %}
<div class="btn-group-lg mt-4 mb-3" role="group">
<div class="btn-group-md mt-4 mb-3" role="group">
{% assign buttons = site.data.index.buttons %}
{% for button in buttons %}
{% assign classes = 'btn btn-primary d-block d-lg-inline-block my-lg-0' %}
{% assign classes = 'btn btn-primary d-lg-inline-block my-lg-0' %}
{% unless forloop.first or forloop.last %}
{% assign classes = classes | append: ' my-2 mx-lg-2' %}
{% endunless %}
Expand All @@ -26,18 +26,17 @@ <h1 class="display-3">{{ title }}</h1>
{% else %}
{% assign a = 'href="' | append: button.url | append: '"' %}
{% endif %}
<a {{ a }} type="button" class="{{ classes }}" target="_blank">{{ button.text | upcase }}</a>
<a {{ a }} type="button" class="{{ classes }}" target="_blank">{{ button.text }}</a>
{% endfor %}
</div>
{% endif %}
<!--
Program
-->
<hr class="my-5">
<hr class="my-4">
{% if site.data.program %}
<h1 class="display-6">{{site.data.program.content.title}}</h1>
<h3 id="program">{{site.data.program.content.title}}</h1>
{{site.data.program.content.text}}
<!-- <hr class="my-4"> -->
<p></p>
<div class="row" style="margin-top:4ex;">
{% assign size = site.data.program.days.size %}
Expand Down Expand Up @@ -136,61 +135,22 @@ <h5 class="fw-normal">{{ site.data.program.legend.title }}</h5>
</div>
</div>
{% endif %}
<!--
Organizers
-->
<!-- <hr class="my-5">
{% if site.data.contributors %}
<h1 class="display-6">{{site.data.contributors.content.title}}</h1>
{{site.data.contributors.content.text}}
<p></p>
{% assign groups = site.data.contributors.groups %}
{% for group in groups %}
{% if group.title %}
<h5 class="fw-normal">{{ group.title }}</h5>
{% endif %}
{% if group.columns %}
{% assign div = ' id="roster"' %}
{% else %}
{% assign div = '' %}
{% endif %}
<div {{ div }}>
<ul class="list-unstyled">
{% assign members = group.members | sort_natural: 'surname' %}
{% for member in members %}
{% assign full = member.name | append: ' ' | append: member.surname %}
{% if member.url %}
<li class="fw-light"><a href="{{ member.url }}">{{ full }}</a></li>
{% else if member.email %}
<li class="fw-light"><a href="mailto:{{ member.email }}">{{ full }}</a></li>
{% else %}
<li class="fw-light">{{ full }}</li>
{% endif %}
{% if member.position %}
{{member.position}}
<p></p>
{% endif %}
{% endfor %}
</ul>
</div>
{% endfor %}
{% endif %} -->
<!--
Venue
-->
<hr class="my-5">
<hr class="my-4">
{% if site.data.locations %}
<h1 class="display-6">{{site.data.locations.content.title}}</h1>
<h3 id="venue">{{site.data.locations.content.title}}</h1>
{{site.data.locations.content.text}}
<p></p>
<div id="map" style="margin-top:4ex;"></div>
{% endif %}
<!--
References
-->
<hr class="my-5">
<hr class="my-4">
{% if site.data.references %}
<h1 class="display-6">{{site.data.references.title}}</h1>
<h3 id="references">{{site.data.references.title}}</h1>
{% for reference in site.data.references.references %}
[{{reference.number}}] {{reference.text}}
<p></p>
Expand All @@ -199,4 +159,5 @@ <h1 class="display-6">{{site.data.references.title}}</h1>
</div>
</main>

{% include footer.html %}
{% include footer.html %}
{% include buttons.html %}
16 changes: 15 additions & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,25 @@ drone_racing_video_id: bEeHD49rx20
bin_picking_video_id: iULN3skmdjs
---

[Registration](#registration){: .btn .btn-primary .d-lg-inline-block}
[Important dates](#important-dates){: .btn .btn-primary .d-lg-inline-block}
[Organizers](#organizers){: .btn .btn-primary .d-lg-inline-block}
[Contact](#contact){: .btn .btn-primary .d-lg-inline-block}

[Program](#program){: .btn .btn-primary .d-lg-inline-block}
[Venue](#venue){: .btn .btn-primary .d-lg-inline-block}
[Relevant repositories](#relevant-repositories){: .btn .btn-primary .d-lg-inline-block}


***

### Overview

In this workshop, participants will engage in hands-on exploration of optimal control problems (OCPs) applied to motion planning and model predictive control (MPC) in autonomous robotic systems. By engaging with cutting-edge tools and techniques, participants will develop the skills necessary to navigate complex environments, optimize trajectory paths, and execute tasks with precision and efficiency in robotic systems.

To streamline the guided exercises, the workshop makes use of the free and open-source [Rockit](https://gitlab.kuleuven.be/meco-software/rockit) [1] and [Impact](https://gitlab.kuleuven.be/meco-software/impact) [2][3] software frameworks developed by the [MECO Research Team](https://www.mech.kuleuven.be/en/pma/research/meco) at KU Leuven and built on top of the numerical optimization framework [CasADi](https://github.com/casadi/casadi) [4], designed for efficient nonlinear programming. Exercises will be mainly in Python, and Docker images containing a development and simulation environment will be provided. Attendees can later adopt the presented open-source software frameworks in their research.
To streamline the guided exercises, the workshop makes use of the free and open-source [Rockit](https://gitlab.kuleuven.be/meco-software/rockit) [1] and [Impact](https://gitlab.kuleuven.be/meco-software/impact) [2][3] software frameworks developed by the [MECO Research Team](https://www.mech.kuleuven.be/en/pma/research/meco) at KU Leuven and built on top of the numerical optimization framework [CasADi](https://github.com/casadi/casadi) [4], designed for efficient nonlinear programming.

Exercises will be mainly in Python, and Docker images containing a development and simulation environment will be provided. Attendees can later adopt the presented open-source software frameworks in their research.

While foundational concepts of OCPs will be introduced, the course focuses on learning-by-doing. The course prioritizes practical know-how, enabling participants to directly apply Rockit and Impact to tackle real-world robotic challenges. The attendees will learn to formulate and solve OCPs, gaining valuable experience in implementing trajectory optimization algorithms and MPC strategies.

Expand Down

0 comments on commit 4112fb1

Please sign in to comment.