Skip to content

Commit dc8ba79

Browse files
Review and fix not working links and other web-site usability readability issues. (#26)
* Fix broken link and improve consistency with rest of concepts pages. * Fix 404 errors on tutorials. * Fix anchor points. * Use correct product names, micro-ROS and Micro XRCE-DDS. * Fix broken links. * Improve html errors checks. * Fix internal links. * Ignore alt attribute for images. Fails only on 4xx HTTP errors.
1 parent 09a4e55 commit dc8ba79

8 files changed

Lines changed: 86 additions & 86 deletions

File tree

_docs/system_modes/index.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@ redirect_from: /system_modes/
55
---
66

77

8-
Table of Contents
9-
- [Lifecycle and System Modes](#lifecycle-and-system-modes)
10-
- [Introduction and Goal](#introduction-and-goal)
11-
- [Requirements](#requirements)
12-
- [Background: ROS 2 Lifecycle](#background-ros-2-lifecycle)
13-
- [Main Features](#main-features)
14-
- [Extended Lifecycle](#extended-lifecycle)
15-
- [System Hierarchy and Modes](#system-hierarchy-and-modes)
16-
- [Mode manager](#mode-manager)
17-
- [Roadmap](#roadmap)
18-
- [Acknowledgments](#acknowledgments)
8+
Table of contents
9+
- [Introduction and Goal](#introduction-and-goal)
10+
- [Requirements](#requirements)
11+
- [Background: ROS 2 Lifecycle](#background-ros-2-lifecycle)
12+
- [Main Features](#main-features)
13+
- [Extended Lifecycle](#extended-lifecycle)
14+
- [System Hierarchy and Modes](#system-hierarchy-and-modes)
15+
- [Mode manager](#mode-manager)
16+
- [Roadmap](#roadmap)
17+
- [Acknowledgments](#acknowledgments)
1918

2019

2120
## Introduction and Goal

_docs/tutorials.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
---
2-
title: Tutorials
3-
permalink: /docs/tutorials/
4-
---
5-
6-
content to be added by all
7-
8-
9-
## Basic Tutorials
10-
11-
## Intermediate Tutorials
12-
13-
* [Debugging NuttX with gdb and OpenOCD](/docs/tutorials/debugging-gdb-openocd)
14-
* [Debugging using Visual Studio Code](/docs/tutorials/debugging-vscode)
1+
---
2+
title: Tutorials
3+
permalink: /docs/tutorials/
4+
---
5+
6+
content to be added by all
7+
8+
9+
## Basic Tutorials
10+
11+
## Intermediate Tutorials
12+
13+
* [Debugging NuttX with gdb and OpenOCD](/docs/tutorials/advanced/debugging-gdb-openocd)
14+
* [Debugging using Visual Studio Code](/docs/tutorials/advanced/debugging-vscode)

_docs/tutorials/advanced/nuttx_getting_started/index.md

Lines changed: 48 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -8,42 +8,41 @@ the defconfig files for NuttX, OFERA project has created.
88

99
# Example list
1010

11-
1211
## Olimex STM32-E407
1312

14-
- [NSH over USB](#How-to-execute-NSH-over-USB-under-Olimex-STM32-E407)
15-
- [NSH over UART](#How-to-use-NSH-over-UART)
16-
- [Auxiliar UART port](#How-to-use-an-auxiliary-UART)
17-
- [BMP180 through I2C](#How-to-execute-BMP180-example)
18-
- [HIH6130 through I2C](#How-to-execute-HIH6130-example)
19-
- [UDP echo server](#How-to-execute-UDPEcho-server-example)
20-
- [TCP echo server](#How-to-execute-TCP-Echo-server-example)
21-
- [MRF24J40-6LowPan through SPI](#How-to-use-MRF24j40-6LowPan)
22-
- [ADC](#How-to-use-the-ADC-demo)
23-
- [Telemetry](#How-to-execute-telemetry-app)
24-
- [Power Manager](#How-to-execute-Power-Manager-example)
25-
- [SD Card](#How-to-use-a-micro-SD-Card-in-the-Olimex-STM32-E407-board)
26-
- [Micro XRCE-DDS through serial](#How-to-execute-Micro-XRCE-DDS)
27-
- [micro-ROS demo](#How-to-use-micro-ROS-demo)
13+
- [NSH over USB](#NSH-USB-Olimex)
14+
- [NSH over UART](#NSH-UART-Olimex)
15+
- [Auxiliar UART port](#Auxiliar-UART-Olimex)
16+
- [BMP180 through I2C](#BMP180-Olimex)
17+
- [HIH6130 through I2C](#HIH6130-Olimex)
18+
- [UDP echo server](#UDPEcho-Olimex)
19+
- [TCP echo server](#TCPEcho-Olimex)
20+
- [MRF24J40-6LowPan through SPI](#MRF24j40-6LowPan-Olimex)
21+
- [ADC](#ADC-Olimex)
22+
- [Telemetry](#Telemetry-Olimex)
23+
- [Power Manager](#Power-Manager-Olimex)
24+
- [SD Card](#SD-Card-Olimex)
25+
- [Micro XRCE-DDS through serial](#Micro-XRCE-DDS-Olimex)
26+
- [micro-ROS demo](#micro-ROS-demo-Olimex)
2827

2928

3029

3130
## STM32L Discovery
3231

33-
- [NSH through UART](#How-to-execute-NSH-under-STM32L-Discovery)
34-
- [BMP180 through I2C](#How-to-execute-BMP180-example)
35-
- [HIH6130 through I2C](#How-to-execute-HIH6130-example)
36-
- [Power Manager](#How-to-execute-Power-Manager-example)
37-
- [Micro XRCE-DDS through serial](#How-to-execute-Micro-XRCE-DDS)
32+
- [NSH through UART](#NSH-UART-Discovery)
33+
- [BMP180 through I2C](#BMP180-Discovery)
34+
- [HIH6130 through I2C](#HIH6130-Discovery)
35+
- [Power Manager](#Power-Manager-Discovery)
36+
- [Micro XRCE-DDS through serial](#Micro-XRCE-DDS-Discovery)
3837

3938

4039

4140
# Repositories to be used
4241

4342
For the examples listed below, please make use of the branch called `master` for this two repositories:
4443

45-
- [NuttX](https://github.com/microROS/Nuttx) fork, where NuttX RTOS is stored.
46-
- [Apps](https://github.com/microROS/apps) fork, whee NuttX applications and examples are placed.
44+
- [NuttX](https://github.com/micro-ROS/Nuttx) fork, where NuttX RTOS is stored.
45+
- [Apps](https://github.com/micro-ROS/apps) fork, whee NuttX applications and examples are placed.
4746

4847
----------------------
4948

@@ -63,7 +62,7 @@ The flash script will execute the proper command to upload the firmware to the b
6362

6463
This section provides step-by-step tutorials so you can start executing the examples we have created. These tutorials starts using NuttX, using many different peripherals and tools, and ends up showing how to execute Micro XRCE-DDS client and micro-ROS client.
6564

66-
## How to execute NSH over USB under Olimex-STM32-E407
65+
## How to execute NSH over USB under Olimex-STM32-E40 {#NSH-USB-Olimex}
6766

6867
NSH is a system console that can be use throught the next interfaces: USB,UART and Telnet. With this console you can execute apps, set system configuration and see the state of the system.
6968

@@ -119,7 +118,8 @@ If you don't know which interface is the micro USB, type `dmesg` command at a te
119118
## How to execute NSH with the UART.
120119

121120

122-
### Olimex-STM32-E407
121+
### Olimex-STM32-E407 {#NSH-UART-Olimex}
122+
123123
This board have the possibility to show the console through the UART or through USB.
124124

125125
Go to the main folder of NuttX and execute the next command to configure the board:
@@ -173,7 +173,8 @@ nsh>
173173
```
174174

175175

176-
### STM32L1Discovery
176+
### STM32L1Discovery {#NSH-UART-Discovery}
177+
177178
**This board only can show the NSH console throught the UART**
178179

179180
Go to the main folder of NuttX and execute the next command to configure the board:
@@ -225,7 +226,7 @@ nsh>
225226
```
226227
If you don't know which interface is the micro USB, type `dmesg` command at a terminal, this command should let you know which is the last USB device that has been connected to your computer and at what interface is attached.
227228

228-
## How to use an auxiliary UART:
229+
## How to use an auxiliary UART {#Auxiliar-UART-Olimex}
229230

230231
In this demo we will show how to use an auxiliary UART to send and receive messages.
231232
When we run this demos, we will send the first argument to the auxiliary terminal and we will wait for an input from the auxiliary terminal.
@@ -265,7 +266,7 @@ BMP180 is a I2C barometric pressure sensor. With this sensor you can obtain the
265266

266267
[BMP180 breakout link](https://www.adafruit.com/product/1603)
267268

268-
### Olimex STM32-E407
269+
### Olimex STM32-E407 {#BMP180-Olimex}
269270

270271
Go to the main folder of NuttX and type the command to configure the board:
271272
`./scripts/configure.sh olimex-stm32-e407 bmp180`
@@ -276,7 +277,7 @@ Compile:
276277
Upload:
277278
`./scripts/flash.sh olimex-stm32-e407`
278279

279-
### STM32L Discovery
280+
### STM32L Discovery {#BMP180-Discovery}
280281

281282
Go to the main folder of NuttX and type the command to configure the board:
282283
`./scripts/configure.sh stm32l1 bmp180`
@@ -360,7 +361,7 @@ Pressure: 95985
360361
Pressure: 95988
361362
```
362363

363-
## How to execute HIH6130 example
364+
## How to execute HIH6130 example {#HIH6130-Olimex}
364365

365366
The HIH6130 is humidity/temperature that works through I2C interface.
366367

@@ -377,7 +378,7 @@ Compile:
377378
Upload:
378379
`./scripts/flash.sh olimex-stm32-e407`
379380

380-
### STM32L Discovery
381+
### STM32L Discovery {#HIH6130-Discovery}
381382

382383
Go to the main folder of NuttX and type the command to configure the board:
383384
`./scripts/configure.sh stm32l1 hih6130`
@@ -468,7 +469,7 @@ Temperature: 31 �ºC Humidity: 44
468469
Temperature: 31 �ºC Humidity: 44
469470
```
470471

471-
## How to execute UDP Echo server example
472+
## How to execute UDP Echo server example {#UDPEcho-Olimex}
472473

473474
Go to the main folder of NuttX and type the next command to configure the board:
474475
`./scripts/configure.sh olimex-stm32-e407 udpecho`
@@ -534,7 +535,7 @@ Now if you type something in the computer, the board should echo the same and sh
534535

535536
![image](imgs/udp_5.jpg)
536537

537-
## How to execute TCP Echo server example
538+
## How to execute TCP Echo server example {#TCPEcho-Olimex}
538539

539540

540541
Go to the main folder of NuttX and type the next command to configure the board:
@@ -631,7 +632,7 @@ The variables are shown in two hexadecimal numbers per each field. In case of th
631632
`0x85` = 133
632633

633634

634-
## How to use MRF24j40-6LowPan
635+
## How to use MRF24j40-6LowPan {#MRF24j40-6LowPan-Olimex}
635636

636637
With this demo, we'll be able to create a point to point connection with the MRF24J40 module using the protocol 6LowPan. This network, allows you to have hundreds of nodes with very little power consumption.
637638
One of the nodes is a TCP or UDP server, and the other nodes are TCP or UDP clients that they connect to the server.
@@ -736,7 +737,7 @@ Now the UDP Client, will send a `HelloWorld` to the UDP Server.
736737

737738

738739

739-
## How to use the ADC demo
740+
## How to use the ADC demo {#ADC-Olimex}
740741

741742
In this demo we will take the analog value pin A1, that is attached to channel 4 of the ADC number 3. This demo only works in the Olimex board.
742743

@@ -759,7 +760,7 @@ If you execute the application typing `adc_simple`, you will see a measurement o
759760

760761
![image](imgs/adc_measure.png)
761762

762-
# How to execute CPU performance telemetry app
763+
# How to execute CPU performance telemetry app {#Telemetry-Olimex}
763764

764765
Go to the main folder of NuttX and type the next command to configure the board:
765766
`./scripts/configure.sh olimex-stm32-e407 telemetry`
@@ -895,7 +896,7 @@ SigMask: 00000000
895896

896897
This example is simple. After some seconds, the board enter into a sleep mode that could be re-waken up, writing into the serial season. As the MCU is in low power mode, some data is lost, until the complete wake up is done.
897898

898-
### Olimex STM32-E407
899+
### Olimex STM32-E407 {#Power-Manager-Olimex}
899900

900901
Go to the main folder of NuttX and type the command to configure the board:
901902
`./scripts/configure.sh olimex-stm32-e407 pm`
@@ -906,7 +907,7 @@ Compile:
906907
Upload:
907908
`./scripts/flash.sh olimex-stm32-e407`
908909

909-
### STM32L Discovery
910+
### STM32L Discovery {#Power-Manager-Discovery}
910911

911912
Go to the main folder of NuttX and type the command to configure the board:
912913
`./scripts/configure.sh stm32l1 pm`
@@ -939,7 +940,7 @@ Info : Listening on port 4444 for telnet connections
939940
Now open a serial session for connecting to the board. Once the prompt pops-up, do not type for some seconds and you will see that, in a point, if you type something, it will not appear at the command line. After some seconds, the command line will again work properly.
940941

941942

942-
## How to use a micro SD-Card in the Olimex-STM32-E407 board
943+
## How to use a micro SD-Card in the Olimex-STM32-E407 board {#SD-Card-Olimex}
943944

944945
This demo it's only for the Olimex board. This demo shows how to write and read files from a SD card.
945946

@@ -974,7 +975,7 @@ In this example, we will execute Micro XRCE-DDS client in NuttX. This example ru
974975
For this demo we need two boards (It doesn't matter if it's the Olimex Board or the STM32L1), one will be the publisher which will send a topic with a shape, the color of the shape and the coordinate of the shape. The other board will subscribe to the topic.
975976
At this moment it's only possible to work through serial, but it could be possible to use with UDP and TCP in a future.
976977

977-
### Olimex STM32-E407
978+
### Olimex STM32-E407 {#Micro-XRCE-DDS-Olimex}
978979

979980
Go to the main folder of NuttX and type the command to configure the board:
980981
`./scripts/configure.sh olimex-stm32-e407 microxrcedds`
@@ -985,7 +986,7 @@ Compile:
985986
Upload:
986987
`./scripts/flash.sh olimex-stm32-e407`
987988

988-
### STM32L Discovery
989+
### STM32L Discovery {#Micro-XRCE-DDS-Discovery}
989990

990991
Go to the main folder of NuttX and type the command to configure the board:
991992
`./scripts/configure.sh stm32l1 microxrcedds`
@@ -1033,7 +1034,7 @@ And it should look like this:
10331034
For this board we need two TTL232 cables. The first one is used to show the console.
10341035
Connect the serial cable `RX` to pin `PA9` and `TX` to pin `PA10` and the GND wire to a `GND` pin.
10351036

1036-
Then, you need to connect to the second UART to use micro-XRCE-DDS:
1037+
Then, you need to connect to the second UART to use Micro XRCE-DDS:
10371038
Connect the serial cable `RX` to pin `PA2` and `TX` to pin `PA3` and the GND wire to a `GND` pin.
10381039

10391040
And it should look like this:
@@ -1042,7 +1043,7 @@ And it should look like this:
10421043

10431044
In this example, we use an Olimex board and a STM32L1 Board, but you can use any combination between STM32L1, Olimex Board and PC. Now we're going to execute the Agent in the PC.
10441045
First, we need to check the port number of the serial cable that we want to use as Micro XRCE-DDS interface.
1045-
Note: You must installed micro-XRCE-DDS agent previously, follow this guide -> https://micro-xrce-dds.readthedocs.io/en/latest/installation.html
1046+
Note: You must installed Micro XRCE-DDS agent previously, follow this guide -> https://micro-xrce-dds.readthedocs.io/en/latest/installation.html
10461047

10471048
Open a console and type the next command:
10481049
`MicroXRCE-DDSAgent serial <serial_port>`
@@ -1089,16 +1090,16 @@ We have the STM32L1 as publisher, so we need to check the serial port number of
10891090
Then, we have the Olimex as subscriber, so we need to follow the same steps as with the STM32L1 board.
10901091

10911092

1092-
## How to use micro-ROS demo:
1093+
## How to use micro-ROS demo {#micro-ROS-demo-Olimex}
10931094

1094-
In this demo, we will use the alpha version of microROS for NuttX running under the Olimex-STM32-E407 board.
1095+
In this demo, we will use the alpha version of micro-ROS for NuttX running under the Olimex-STM32-E407 board.
10951096
With board running this demo we could create a ROS2 publisher or a ROS2 subscriber.
10961097
The publisher creates and publishes as a topic a progressive count of integers (From 0 to 1000).
10971098
The subscriber subscribes to that topic and shows the value of the number published.
10981099

10991100
This demo is a little bit different as the other demos because we need to follow another path to configure it.
11001101
We need to download the docker files of micro-ROS, executing the next command:
1101-
`git clone -b features/micro-ros https://github.com/microROS/docker`
1102+
`git clone -b features/micro-ros https://github.com/micro-ROS/docker`
11021103
(Note: This repository might change of location)
11031104

11041105
Now it's necessary to build the docker file, so type the next command:
@@ -1123,11 +1124,11 @@ Now the board it's ready.
11231124
Connect the serial cable (TTL232) to the computer and check which is the number of the serial port.
11241125

11251126
Note: We need to install previously the micro-ROS agent. So you can follow the next guide to install it:
1126-
https://github.com/microROS/micro-ROS-doc/blob/master/docs/install_and_run.md
1127+
https://github.com/micro-ROS/micro-ROS-doc/blob/master/docs/install_and_run.md
11271128

11281129
## Run a publisher:
11291130

1130-
First you need to execute the **microROS Agent** in your computer using the next command:
1131+
First you need to execute the **micro-ROS Agent** in your computer using the next command:
11311132
```
11321133
cd ~/agent_ws/install/uros_agent/lib/uros_agent/
11331134
./uros_agent serial <direction_of_serial>

_docs/tutorials/debugging/vscode-start.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ permalink: /docs/tutorials/advanced/debugging-vscode/
44
author: Ingo Lütkebohle
55
---
66

7-
This is a follow-up to [Debugging with gdb and openocd](/docs/tutorials/debugging-gdb-openocd/), because the set up done in that tutorial is a pre-requisite to debugging with Visual Studio Code.
7+
This is a follow-up to [Debugging with gdb and openocd](/docs/tutorials/advanced/debugging-gdb-openocd/), because the set up done in that tutorial is a pre-requisite to debugging with Visual Studio Code.
88

99
## Motivation
1010

1111
Visual Studio Code is a modern IDE that is very easy to extend and popular with both the Web/Cloud and IoT communities. It is also one of the easiest IDEs to get working with embedded systems. That said, it is *not* the most powerful or featureful IDEs for this purpose, but it is easy and will do.
1212

1313
## Prerequisites
1414

15-
* All the prerequisites of [Debugging with gdb and openocd](/docs/tutorials/debugging-gdb-openocd/)
15+
* All the prerequisites of [Debugging with gdb and openocd](/docs/tutorials/advanced/debugging-gdb-openocd/)
1616
* Cortex-M hardware (all of our standard boards are ARM based)
1717
* [Visual Studio Code](https://code.visualstudio.com/)
1818

0 commit comments

Comments
 (0)