thibaud frere
commited on
Commit
·
db3733c
1
Parent(s):
e7463dd
Fix image import paths: use ./assets/ instead of ../assets/ for content files
Browse files
app/scripts/latex-to-markdown/mdx-converter.mjs
CHANGED
|
@@ -161,8 +161,8 @@ function transformImages(content) {
|
|
| 161 |
|
| 162 |
// Helper function to clean source paths
|
| 163 |
const cleanSrcPath = (src) => {
|
| 164 |
-
return src.replace(/.*\/output\/assets\//, '
|
| 165 |
-
.replace(/\/Users\/[^\/]+\/[^\/]+\/[^\/]+\/[^\/]+\/[^\/]+\/app\/scripts\/latex-to-markdown\/output\/assets\//, '
|
| 166 |
};
|
| 167 |
|
| 168 |
// Helper to clean caption text
|
|
|
|
| 161 |
|
| 162 |
// Helper function to clean source paths
|
| 163 |
const cleanSrcPath = (src) => {
|
| 164 |
+
return src.replace(/.*\/output\/assets\//, './assets/')
|
| 165 |
+
.replace(/\/Users\/[^\/]+\/[^\/]+\/[^\/]+\/[^\/]+\/[^\/]+\/app\/scripts\/latex-to-markdown\/output\/assets\//, './assets/');
|
| 166 |
};
|
| 167 |
|
| 168 |
// Helper to clean caption text
|
app/src/content/article.mdx
CHANGED
|
@@ -19,46 +19,46 @@ tableOfContentsAutoCollapse: true
|
|
| 19 |
---
|
| 20 |
|
| 21 |
import ResponsiveImage from '../components/ResponsiveImage.astro';
|
| 22 |
-
import ch1_lerobot_figure1 from '
|
| 23 |
-
import ch2_approaches from '
|
| 24 |
-
import ch2_platforms from '
|
| 25 |
-
import ch2_cost_accessibility from '
|
| 26 |
-
import ch2_so100_to_planar_manipulator from '
|
| 27 |
-
import ch2_planar_manipulator_free from '
|
| 28 |
-
import ch2_planar_manipulator_floor from '
|
| 29 |
-
import ch2_planar_manipulator_floor_shelf from '
|
| 30 |
-
import ch2_classical_limitations from '
|
| 31 |
-
import ch3_learning_benefits from '
|
| 32 |
-
import ch3_learning_atlas from '
|
| 33 |
-
import ch3_rl_examples from '
|
| 34 |
-
import ch3_agent_env from '
|
| 35 |
-
import ch3_rl_algorithms_atlas from '
|
| 36 |
-
import ch3_duck_sim_vs_real from '
|
| 37 |
-
import ch3_many_ducks from '
|
| 38 |
-
import ch3_hil_serl_examples from '
|
| 39 |
-
import ch4_bc_trajectories from '
|
| 40 |
-
import ch4_observation_action_mapping from '
|
| 41 |
-
import ch4_issues_with_bc from '
|
| 42 |
-
import ch4_task_effect_on_pairs from '
|
| 43 |
-
import ch4_latent_variable_model from '
|
| 44 |
-
import ch4_many_latents from '
|
| 45 |
-
import ch4_diffusion_robot_actions from '
|
| 46 |
-
import ch4_action_vs_observation_distribution from '
|
| 47 |
-
import ch4_normalizing_flows from '
|
| 48 |
-
import ch4_diffusion_vs_flowmatching from '
|
| 49 |
-
import ch4_act from '
|
| 50 |
-
import ch4_act_encoder from '
|
| 51 |
-
import ch4_act_decoder from '
|
| 52 |
-
import ch4_diffusion_policy from '
|
| 53 |
-
import ch5_ml_vs_robotics_foundation from '
|
| 54 |
-
import ch5_generalist_policies_timeline from '
|
| 55 |
-
import ch5_trends from '
|
| 56 |
-
import ch5_pi0 from '
|
| 57 |
-
import ch5_smolvla from '
|
| 58 |
-
import ch2_planar_manipulator_floor_box from '
|
| 59 |
-
import ch4_async_inference from '
|
| 60 |
-
import ch4_queues from '
|
| 61 |
-
import ch5_pi0_sampling_timesteps from '
|
| 62 |
|
| 63 |
|
| 64 |
## Foreword
|
|
|
|
| 19 |
---
|
| 20 |
|
| 21 |
import ResponsiveImage from '../components/ResponsiveImage.astro';
|
| 22 |
+
import ch1_lerobot_figure1 from './assets/image/figures/ch1/ch1-lerobot-figure1.png';
|
| 23 |
+
import ch2_approaches from './assets/image/figures/ch2/ch2-approaches.png';
|
| 24 |
+
import ch2_platforms from './assets/image/figures/ch2/ch2-platforms.png';
|
| 25 |
+
import ch2_cost_accessibility from './assets/image/figures/ch2/ch2-cost-accessibility.png';
|
| 26 |
+
import ch2_so100_to_planar_manipulator from './assets/image/figures/ch2/ch2-so100-to-planar-manipulator.png';
|
| 27 |
+
import ch2_planar_manipulator_free from './assets/image/figures/ch2/ch2-planar-manipulator-free.png';
|
| 28 |
+
import ch2_planar_manipulator_floor from './assets/image/figures/ch2/ch2-planar-manipulator-floor.png';
|
| 29 |
+
import ch2_planar_manipulator_floor_shelf from './assets/image/figures/ch2/ch2-planar-manipulator-floor-shelf.png';
|
| 30 |
+
import ch2_classical_limitations from './assets/image/figures/ch2/ch2-classical-limitations.png';
|
| 31 |
+
import ch3_learning_benefits from './assets/image/figures/ch3/ch3-learning-benefits.png';
|
| 32 |
+
import ch3_learning_atlas from './assets/image/figures/ch3/ch3-learning-atlas.png';
|
| 33 |
+
import ch3_rl_examples from './assets/image/figures/ch3/ch3-rl-examples.png';
|
| 34 |
+
import ch3_agent_env from './assets/image/figures/ch3/ch3-agent-env.png';
|
| 35 |
+
import ch3_rl_algorithms_atlas from './assets/image/figures/ch3/ch3-rl-algorithms-atlas.png';
|
| 36 |
+
import ch3_duck_sim_vs_real from './assets/image/figures/ch3/ch3-duck-sim-vs-real.png';
|
| 37 |
+
import ch3_many_ducks from './assets/image/figures/ch3/ch3-many-ducks.png';
|
| 38 |
+
import ch3_hil_serl_examples from './assets/image/figures/ch3/ch3-hil-serl-examples.png';
|
| 39 |
+
import ch4_bc_trajectories from './assets/image/figures/ch4/ch4-bc-trajectories.png';
|
| 40 |
+
import ch4_observation_action_mapping from './assets/image/figures/ch4/ch4-observation-action-mapping.png';
|
| 41 |
+
import ch4_issues_with_bc from './assets/image/figures/ch4/ch4-issues-with-bc.png';
|
| 42 |
+
import ch4_task_effect_on_pairs from './assets/image/figures/ch4/ch4-task-effect-on-pairs.png';
|
| 43 |
+
import ch4_latent_variable_model from './assets/image/figures/ch4/ch4-latent-variable-model.png';
|
| 44 |
+
import ch4_many_latents from './assets/image/figures/ch4/ch4-many-latents.png';
|
| 45 |
+
import ch4_diffusion_robot_actions from './assets/image/figures/ch4/ch4-diffusion-robot-actions.png';
|
| 46 |
+
import ch4_action_vs_observation_distribution from './assets/image/figures/ch4/ch4-action-vs-observation-distribution.png';
|
| 47 |
+
import ch4_normalizing_flows from './assets/image/figures/ch4/ch4-normalizing-flows.png';
|
| 48 |
+
import ch4_diffusion_vs_flowmatching from './assets/image/figures/ch4/ch4-diffusion-vs-flowmatching.png';
|
| 49 |
+
import ch4_act from './assets/image/figures/ch4/ch4-act.png';
|
| 50 |
+
import ch4_act_encoder from './assets/image/figures/ch4/ch4-act-encoder.png';
|
| 51 |
+
import ch4_act_decoder from './assets/image/figures/ch4/ch4-act-decoder.png';
|
| 52 |
+
import ch4_diffusion_policy from './assets/image/figures/ch4/ch4-diffusion-policy.png';
|
| 53 |
+
import ch5_ml_vs_robotics_foundation from './assets/image/figures/ch5/ch5-ml-vs-robotics-foundation.png';
|
| 54 |
+
import ch5_generalist_policies_timeline from './assets/image/figures/ch5/ch5-generalist-policies-timeline.png';
|
| 55 |
+
import ch5_trends from './assets/image/figures/ch5/ch5-trends.png';
|
| 56 |
+
import ch5_pi0 from './assets/image/figures/ch5/ch5-pi0.png';
|
| 57 |
+
import ch5_smolvla from './assets/image/figures/ch5/ch5-smolvla.png';
|
| 58 |
+
import ch2_planar_manipulator_floor_box from './assets/image/figures/ch2/ch2-planar-manipulator-floor-box.png';
|
| 59 |
+
import ch4_async_inference from './assets/image/figures/ch4/ch4-async-inference.png';
|
| 60 |
+
import ch4_queues from './assets/image/figures/ch4/ch4-queues.png';
|
| 61 |
+
import ch5_pi0_sampling_timesteps from './assets/image/figures/ch5/ch5-pi0-sampling-timesteps.png';
|
| 62 |
|
| 63 |
|
| 64 |
## Foreword
|