Skip to content

Commit f39636f

Browse files
mods to website
1 parent 270124a commit f39636f

3 files changed

Lines changed: 78 additions & 22 deletions

File tree

docs/src/pages/Journals.js

Lines changed: 40 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import React from 'react';
22
import Layout from '@theme/Layout';
33
import styles from './styles.module.css'; // CSS Styling
44

5-
// Define here the publications
6-
export const publications = [
5+
// Define here the flightstack publications
6+
export const flightstack_publications = [
77
{
88
id: '2025-pub1',
99
authors: 'M. Gramuglia, G. M. Kumar, G. A. Orlando, and A. L\'Afflitto',
@@ -12,33 +12,37 @@ export const publications = [
1212
conference: 'AIAA SciTech Forum, Orlando, FL, January 2025',
1313
},
1414
{
15-
id: '2024-pub3',
15+
id: '2024-pub1',
1616
authors: 'M. Gramuglia, G. M. Kumar, and A. L\'Afflitto',
1717
title: 'Potential and Challenges for a Certified Application of Model Reference Adaptive Control to Aerial Vehicles',
1818
link: 'https://lafflitto.com/Documents/LAfflitto_Potential_MRAC_Certification.pdf',
1919
conference: 'IEEE TechDefense, Naples, Italy, November 2024',
2020
},
21+
];
22+
23+
// Define here the simulation publications (PyChrono related)
24+
export const simulation_publications = [
25+
{
26+
id: '2024-sim3',
27+
authors: 'M. Gramuglia, G. M. Kumar, and A. L\'Afflitto',
28+
title: 'Adaptive control for hybrid dynamical systems with user-defined rate of convergence',
29+
link: 'https://lafflitto.com/Documents/LAfflitto_Two_Layer_Hybrid_MRAC.pdf',
30+
conference: 'Journal of the Franklin Institute - Vol. 361, no. 9, Apr. 2024, pp. 106854',
31+
},
2132
{
22-
id: '2024-pub2',
33+
id: '2024-sim2',
2334
authors: 'M. Gramuglia, G. M. Kumar, and A. L\'Afflitto',
2435
title: 'Two-Layer Adaptive Funnel MRAC with Applications to the Control of Multi-Rotor UAVs',
2536
link: 'https://lafflitto.com/Documents/LAfflitto_RoMoCo_2024.pdf',
2637
conference: 'IEEE RoMoCo, Poznań, Poland, July 2024',
2738
},
2839
{
29-
id: '2024-pub1',
40+
id: '2024-sim1',
3041
authors: 'M. Gramuglia, G. M. Kumar, and A. L\'Afflitto',
3142
title: 'A Hybrid Model Reference Adaptive Control System for Multi-Rotor Unmanned Aerial Vehicles',
3243
link: 'https://lafflitto.com/Documents/LAfflitto_X8_Hybrid_MRAC_Control_AIAA_Conference.pdf',
3344
conference: 'AIAA SciTech Forum, Orlando, FL, January 2024',
3445
},
35-
{
36-
id: '2022-pub1',
37-
authors: 'J. A. Marshall, G. I. Carter, and A. L\'Afflitto',
38-
title: 'Model Reference Adaptive Control for Prescribed Performance and Longitudinal Control of a Tail-Sitter UAV',
39-
link: 'https://lafflitto.com/Documents/LAfflitto_MRAC_PP_Quadbiplane.pdf',
40-
conference: 'AIAA SciTech Forum, San Diego, CA, January 2022',
41-
},
4246
];
4347

4448
function References() {
@@ -49,10 +53,11 @@ function References() {
4953

5054
<div className={styles.card}>
5155
<section>
52-
<h2>📑 Relevant Journal and Conference Papers</h2>
53-
<ol>
54-
{publications.map((pub, index) => (
56+
<h2>📑 Flightstack-related Relevant Journal and Conference Papers</h2>
57+
<ol className={styles.customList}>
58+
{flightstack_publications.map((pub, index) => (
5559
<li key={pub.id} id={pub.id}>
60+
<span className={styles.index}>F.{index + 1}</span>
5661
<strong>{pub.authors}</strong>
5762
<br />
5863
<em>{pub.title}</em>,{' '}
@@ -65,10 +70,29 @@ function References() {
6570
))}
6671
</ol>
6772
</section>
73+
74+
<section>
75+
<h2>📑 Simulator-related Relevant Journal and Conference Papers</h2>
76+
<ol className={styles.customList}>
77+
{simulation_publications.map((sim, index) => (
78+
<li key={sim.id} id={sim.id}>
79+
<span className={styles.index}>S.{index + 1}</span>
80+
<strong>{sim.authors}</strong>
81+
<br />
82+
<em>{sim.title}</em>,{' '}
83+
<a href={sim.link} target="_blank" rel="noopener noreferrer">
84+
[PAPER]
85+
</a>
86+
<br />
87+
<span>{sim.conference}</span>
88+
</li>
89+
))}
90+
</ol>
91+
</section>
6892
</div>
6993
</div>
7094
</Layout>
7195
);
7296
}
7397

74-
export default References;
98+
export default References;

docs/src/pages/styles.module.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,3 +166,24 @@ html[data-theme='dark'] .dataTable tr:nth-child(even) {
166166
.minibox{
167167
text-align: center;
168168
}
169+
170+
171+
/* Added later */
172+
/* ----------------------------------------------------------------- */
173+
.customList {
174+
list-style-type: none;
175+
padding-left: -10px;
176+
}
177+
178+
/* color: #ff6600; color (Orange) */
179+
/* #002147 (Oxford blue) */
180+
/* #001f3f; Navy blue */
181+
/* #0074D9; Light Navy Blue */
182+
/* #008CFF (Sky Blue) */
183+
/* #3399FF (Soft Blue) */
184+
.index {
185+
font-size: 1.2em;
186+
font-weight: bold;
187+
color: #0074D9;
188+
margin-right: 15px;
189+
}

docs/src/pages/test.js

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import React, { useState } from 'react';
22
import Layout from '@theme/Layout';
33
import styles from './styles.module.css'; // Import your custom styles
4-
import { publications } from './Journals'; // Import publication list
4+
import { flightstack_publications } from './Journals'; // Import flightstack related publication list
5+
import { simulation_publications } from './Journals'; // Import simulation (PyChrono) related publication list
56

67
// Sample data with placeholders for Notes
78
const data = [
@@ -35,17 +36,27 @@ const data = [
3536
flightConditions: 'Off-Nominal',
3637
youtubeVideo: '',
3738
date: '2024-07-29',
38-
publicationId: '2024-pub3',
39+
publicationId: '2024-pub1',
3940
notes: 'Carrying an unknown steady and unsteady payload',
4041
},
4142
];
4243

4344
// Function to get publication reference dynamically
44-
const getPublicationReference = (publicationId) => {
45-
const index = publications.findIndex((pub) => pub.id === publicationId);
45+
const getFlightstackPublicationReference = (publicationId) => {
46+
const index = flightstack_publications.findIndex((pub) => pub.id === publicationId);
4647
return index !== -1 ? (
4748
<a href={`/Journals#${publicationId}`} rel="noopener noreferrer">
48-
[{index + 1}]
49+
[F.{index + 1}]
50+
</a>
51+
) : 'N/A';
52+
};
53+
54+
// Function to get publication reference dynamically
55+
const getSimulationPublicationReference = (publicationId) => {
56+
const index = simulation_publications.findIndex((pub) => pub.id === publicationId);
57+
return index !== -1 ? (
58+
<a href={`/Journals#${publicationId}`} rel="noopener noreferrer">
59+
[S.{index + 1}]
4960
</a>
5061
) : 'N/A';
5162
};
@@ -110,7 +121,7 @@ export default function SearchableTable() {
110121
'N/A'
111122
)}
112123
</td>
113-
<td>{getPublicationReference(item.publicationId)}</td>
124+
<td>{getFlightstackPublicationReference(item.publicationId)}</td>
114125
</tr>
115126
))
116127
) : (

0 commit comments

Comments
 (0)