Skip to content

Commit 8344152

Browse files
authored
Merge pull request #11 from DenisaCG/ned
Added a toolbox for the Ned2 robot
2 parents 8d804b9 + d6a0edc commit 8344152

File tree

3 files changed

+1089
-13
lines changed

3 files changed

+1089
-13
lines changed

README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# jupyterlab-niryo-one
22

3-
Blockly extension for JupyterLab to control a Niryo One robot.
3+
Blockly extension for JupyterLab to control a Niryo robot.
44

55
## Blockly
66

@@ -9,12 +9,20 @@ Blockly is a library from Google for building beginner-friendly block-based prog
99
Docs: https://developers.google.com/blockly/guides/overview
1010
Repo: https://github.com/google/blockly
1111

12-
## Niryo One
12+
## Niryo robots
1313

14-
Niryo One, a collaborative and open source 6-axis robot made in France for: higher education, vocational training and R&D laboratories. Its use is particularly adapted to study robotics and programming in the context of the industry 4.0.
14+
The Niryo robots are collaborative and open source 6-axis robots made in France for: higher education, vocational training and R&D laboratories. Its use is particularly adapted to study robotics and programming in the context of the industry 4.0.
1515

16-
Docs: https://niryo.com/fr/product/niryo-one/
17-
Repo: https://github.com/NiryoRobotics/niryo_one_ros
16+
Docs: https://niryo.com
17+
Repo for Niryo One: https://github.com/NiryoRobotics/niryo_one_ros
18+
19+
## PyNiryo API
20+
21+
The extension is using the latest version of the `pyniryo` API - `v1.1.2`. This version is compatible with the Niryo, Ned and Ned2 robots.
22+
23+
The Niryo One and Ned robots are compatible with the `niryo` toolbox, whereas the Ned2 robot has the `ned2` toolbox. You can use all 130 blocks from each toolbox to program your robot.
24+
25+
Docs: https://docs.niryo.com/dev/pyniryo/v1.1.2/en/index.html
1826

1927
## Requirements
2028

@@ -25,9 +33,7 @@ Repo: https://github.com/NiryoRobotics/niryo_one_ros
2533
To install the extension, execute:
2634

2735
```bash
28-
micromamba create -n niryo -c conda-forge python jupyterlab==3.4 ipykernel xeus-python xeus-lua jupyterlab-language-pack-es-ES jupyterlab-language-pack-fr-FR
29-
micromamba activate niryo
30-
pip install jupyterlab-niryo-one
36+
conda install jupyterlab-niryo-one -c conda-forge
3137
```
3238

3339
#### Kernels

src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55

66
import { IBlocklyRegistry } from 'jupyterlab-blockly';
77

8-
import BlocklyNiryo from './niryo_one_python_generators';
8+
import { BlocklyNiryo, BlocklyNed } from './niryo_one_python_generators';
99

1010
/**
1111
* Initialization data for the jupyterlab-niryo-one extension.
@@ -19,6 +19,9 @@ const plugin: JupyterFrontEndPlugin<void> = {
1919

2020
//Registering the new toolbox containing all Niryo One blocks.
2121
blockly.registerToolbox('niryo', BlocklyNiryo.Toolbox);
22+
23+
//Registering the new toolbox containing all Niryo One blocks.
24+
blockly.registerToolbox('ned2', BlocklyNed.Toolbox);
2225
}
2326
};
2427

0 commit comments

Comments
 (0)