Skip to content

Commit

Permalink
Weekly progress
Browse files Browse the repository at this point in the history
  • Loading branch information
dduro2020 committed Sep 28, 2024
1 parent 7d99548 commit 7b402a5
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions docs/_posts/2024-09-23-Week_8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
title: Gazebo harmonic universe and monaco editor
date: 2024-09-23 9:00:00 +0100
tags: [weekly progress]
author: david
img_path: /assets/img/
toc: true
comments: true
---

## Index

- [Getting started with gazebo harmonic](#getting-started-with-gazebo-harmonic)
- [Modifying gazebo universe](#modifying-gazebo-universe)
- [Update to Monaco editor](#update-to-monaco-editor)


## Getting started with gazebo harmonic

To install gazebo, follow the steps on the official gazebo website: [gazebo doc](https://gazebosim.org/docs/latest/install/).

In my case it didn't give me many problems, but I started to have storage problems caused by a bad docker management and I thought it was gazebo's fault, this took a lot of my time.

## Modifying gazebo universe

Initially I researched the most significant changes to upgrade a gazebo world to gazebo harmonic. But there were several problems, I couldn't find a universe that suited what I was looking for and also, the universe I could use from the ‘vacuum cleaner’ exercise was too repetitive. For this reason I was looking directly for a public gazebo harmonic world.

[harmonic world](https://app.gazebosim.org/OpenRobotics/fuel/worlds/Harmonic%20World)

![](view1.png)
![](view2.png)


[github](https://github.com/gazebosim/harmonic_demo.git)

The main changes I made were some initial configurations in order to launch the universe and after a bit of testing, simplified the scenario.

## Update to Monaco editor

The benefits of using Monaco over Ace:
- More up to date packages
- Supported by Microsoft
- Used in well known IDE such as VS Code
- Support for multi-cursor
- Integrated command palette
- MIT license

First I started by installing the necessary libraries and setting up the simplest possible editor, then I added improvements. A small autocomplete for already declared sentences and even the use of help snippets for sentences like for, while...

To have an intelligent autocompletion that understands imported libraries requires the use of pyright.
Binary file added docs/assets/img/view1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/view2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7b402a5

Please sign in to comment.