Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit c879a2c

Browse files
committed
Merge branch 'develop'
2 parents 0f7a3b3 + fae2a21 commit c879a2c

20 files changed

+1207
-76
lines changed

CHANGELOG.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@
44
* We will employ the example of "wirecloud" running on RoboticBase-core
55
* We will employ the example of "kurento" running on RoboticBase-core
66

7+
## [0.4.3]
8+
### Changed
9+
* updated "fiware-robot-visualization" to 0.3.0 in order to use "sth-comet" instead of accessing mongodb directly.
10+
711
## [0.4.2]
812
### Changed
9-
* create the subdomains and routing rules of "kibana" and "grafana", and expose them to Internet.
10-
* update the `auth` component to be able to change the auth tokens dynamically.
13+
* updated the documents to use "kibana" and "grafana" through Internet (in the case of AKS).
14+
* updated the documents to add the authentication information used in "cmd-proxy" and "robot-visualization" to auth-secrets.
1115

1216
## [0.4.1]
1317
### Changed
14-
* update components and documents to adjust [FIWARE Release 7.6](https://github.com/FIWARE/catalogue/releases/tag/FIWARE_7.6)
18+
* updated components and documents to adjust [FIWARE Release 7.6](https://github.com/FIWARE/catalogue/releases/tag/FIWARE_7.6)
1519
* Business Logic components
1620

1721
|component|version|(previous version)|
@@ -33,8 +37,8 @@
3337

3438
## [0.4.0]
3539
### Changed
36-
* split repository ([core](https://github.com/RoboticBase/core) and [example-turtlebot3](https://github.com/RoboticBase/example-turtlebot3))
37-
* update components and documents to adjust [FIWARE Release 7.5.1](https://github.com/Fiware/catalogue/releases)
40+
* splitted repository ([core](https://github.com/RoboticBase/core) and [example-turtlebot3](https://github.com/RoboticBase/example-turtlebot3))
41+
* updated components and documents to adjust [FIWARE Release 7.5.1](https://github.com/Fiware/catalogue/releases)
3842

3943
* cmd-proxy
4044
* techsketch/fiware-cmd-proxy:0.1.1 -> roboticbase/fiware-cmd-proxy:0.2.0

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# RoboticBase example: Deploy robot programs on TurtleBot3
22

3-
This repository is example of "RoboticBase-core". The latest version (0.4.2) conforms to [FIWARE Release 7.6](https://github.com/FIWARE/catalogue/releases/tag/FIWARE_7.6).
3+
This repository is example of "RoboticBase-core". The latest version (0.4.3) conforms to [FIWARE Release 7.6](https://github.com/FIWARE/catalogue/releases/tag/FIWARE_7.6).
44

55
## Description
66
"RoboticBase" is a robot management platform based on [FIWARE](http://www.fiware.org/) which enables you to manage and operate many kinds of robots and IoT devices as interactions of contexts.
77

88
"RoboticBase" allows robots to collaborate with IoT devices, Open Data, human beings and so on. You can connect a robot to "RoboticBase" using the open APIs of the robot, and operate the robot through those APIs. In turn, "RoboticBase" has an ability to manage ROS. If you connect a ROS robot to "RoboticBase", you can operate the robot directly without restrictions.
99
For example, you can deploy a ROS program to the robot and access the raw data of the robot through "RoboticBase".
1010

11-
![roboticbase-core-architecture.png](/docs/images/roboticbase-core-architecture.png)
11+
![roboticbase-example-turtlebot3-architecture.png](/docs/images/roboticbase-example-turltebot3-architecture.png)
1212

1313
|component|summary|version|
1414
|:--|:--|:--|
1515
|[kubernetes](https://kubernetes.io/)|Container Orchestration Platform|1.13 or higher|
1616
|[fiware-cmd-proxy](https://github.com/RoboticBase/fiware-cmd-proxy)|Business Logic component to handle the gamepad and robot|0.2.0|
17-
|[robot-visualization](https://github.com/RoboticBase/fiware-robot-visualization)|Business Logic component to visualize the locus of robot|0.2.1|
17+
|[robot-visualization](https://github.com/RoboticBase/fiware-robot-visualization)|Business Logic component to visualize the locus of robot|0.3.0|
1818

1919
|gamepad|summary|version|
2020
|:--|:--|:--|
@@ -28,8 +28,8 @@ For example, you can deploy a ROS program to the robot and access the raw data o
2828
|:--|:--|:--|
2929
|[kubernetes](https://kubernetes.io/)|Container Orchestration Platform|1.14.1|
3030
|[deployer](https://github.com/RoboticBase/mqtt-kube-operator)|MQTT client to deploy (or delete) a resource to its own Kubernetes|0.2.0|
31-
|[bridge](https://github.com/RoboticBase/fiware_ros_bridge)|ROS package to act as a bridge FIWARE orion and ROS|0.2.2|
32-
|[operator](https://github.com/RoboticBase/fiware_ros_turtlebot3_operator)|ROS package to control turtlebot3 (simulator and physical robot)|0.2.1|
31+
|[bridge](https://github.com/RoboticBase/fiware_ros_bridge)|ROS package to act as a bridge FIWARE orion and ROS|0.3.0|
32+
|[operator](https://github.com/RoboticBase/fiware_ros_turtlebot3_operator)|ROS package to control turtlebot3 (simulator and physical robot)|0.3.0|
3333

3434
## An experiment to prove our concept
3535
We and University of Aizu have been performed an experiment to guide a visitor by collaborating with heterogeneous robots, IoT devices and people through this Robot Platform on Nov. 6th - 8th , 2018.
@@ -131,7 +131,7 @@ Please see this repository [ogcaizu/ogc-poc1](https://github.com/ogcaizu/ogc-poc
131131
* [RoboticBase/fiware-cmd-proxy](https://github.com/RoboticBase/fiware-cmd-proxy)
132132
* A web application working with [FIWARE orion context broker](https://github.com/telefonicaid/fiware-orion) in order to receive a command from gamepad or web controler and to send a command to ROS robot.
133133
* [RoboticBase/fiware-robot-visualization](https://github.com/RoboticBase/fiware-robot-visualization)
134-
* A web application working with [FIWARE cygnus](https://github.com/telefonicaid/fiware-cygnus) in order to visualize the locus of ROS robot.
134+
* A web application working with [FIWARE sth-comet](https://github.com/telefonicaid/fiware-sth-coomet) in order to visualize the locus of ROS robot.
135135

136136
## Related Repositories (Device & Robot)
137137
### gamepad controller

controller/robot-visualization-deployment.yaml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
spec:
1515
containers:
1616
- name: fiware-robot-visualization
17-
image: roboticbase/fiware-robot-visualization:0.2.1
17+
image: roboticbase/fiware-robot-visualization:0.3.0
1818
imagePullPolicy: Always
1919
env:
2020
- name: LISTEN_PORT
@@ -25,16 +25,20 @@ spec:
2525
value: "DEBUG"
2626
- name: BEARER_AUTH
2727
value: "${BEARER_AUTH}"
28-
- name: MONGODB_ENDPOINT
29-
value: "mongodb-client:27017"
30-
- name: MONGODB_REPLICASET
31-
value: "rs0"
32-
- name: MONGODB_DATABASE
33-
value: "${MONGODB_DATABASE}"
34-
- name: MONGODB_COLLECTION
35-
value: "${MONGODB_COLLECTION}"
36-
- name: CYGNUS_MONGO_ATTR_PERSISTENCE
37-
value: "row"
28+
- name: API_VERSION
29+
value: "v2"
30+
- name: FETCH_LIMIT
31+
value: "128"
32+
- name: COMET_ENDPOINT
33+
value: "http://comet:8666"
34+
- name: FIWARE_SERVICE
35+
value: "${FIWARE_SERVICE}"
36+
- name: FIWARE_SERVICEPATH
37+
value: "${ROBOT_SERVICEPATH}"
38+
- name: ENTITY_TYPE
39+
value: "${ROBOT_TYPE}"
40+
- name: ENTITY_ID
41+
value: "${ROBOT_ID}"
3842
ports:
3943
- name: robot-vis
4044
containerPort: 8888

docs/en-jupyter_notebook/azure_aks/01_start_pods.ipynb

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
" \"bearer_tokens\": [\n",
117117
" {\n",
118118
" \"token\": \"nrWtb8sS0MmwlkhHXv0DC6orPMpFFbni\",\n",
119-
" \"allowed_paths\": [\"^/orion/.*$\", \"^/idas/.*$\"]\n",
119+
" \"allowed_paths\": [\"^/orion/.*$\", \"^/idas/.*$\", \"^/comet/.*$\"]\n",
120120
" }\n",
121121
" ],\n",
122122
" \"basic_auths\": [],\n",
@@ -340,7 +340,7 @@
340340
"--------\n",
341341
"2019/05/21 01:51:07 hosts: [api\\..+$ kibana\\..+$ grafana\\..+$ web\\..+$]\n",
342342
"--------\n",
343-
"2019/05/21 01:51:07 bearerTokenAllowedPaths: map[api\\..+$:map[XbZX1LpVv7DG9fu1X3WUq5kiqZyF34zI:[^/orion/.*$ ^/idas/.*$]] web\\..+$:map[Udgzdg6xMD5ymtQlInFHsM5UVD9OA2Wi:[^/visualizer/positions/$]]]\n",
343+
"2019/05/21 01:51:07 bearerTokenAllowedPaths: map[api\\..+$:map[XbZX1LpVv7DG9fu1X3WUq5kiqZyF34zI:[^/orion/.*$ ^/idas/.*$ ^/comet/.*$]] web\\..+$:map[Udgzdg6xMD5ymtQlInFHsM5UVD9OA2Wi:[^/visualizer/positions/$]]]\n",
344344
"--------\n",
345345
"2019/05/21 01:51:07 basicAuthPaths, map[kibana\\..+$:map[^.*$:map[1IGQBVF5:zRa2mxZVdBOyO6Zd]] web\\..+$:map[/controller/web/:map[1JMF6D46:6u5M0bUhfjj7wMdM] /visualizer/locus/:map[1JMF6D46:6u5M0bUhfjj7wMdM]]]\n",
346346
"--------\n",
@@ -438,8 +438,6 @@
438438
"metadata": {},
439439
"outputs": [],
440440
"source": [
441-
"export MONGODB_DATABASE=\"sth_${FIWARE_SERVICE}\"\n",
442-
"export MONGODB_COLLECTION=\"sth_${ROBOT_SERVICEPATH}_${ROBOT_ID}_${ROBOT_TYPE}\"\n",
443441
"env BEARER_AUTH=$(cat ${CORE_ROOT}/secrets/auth-tokens.json | jq '.[]|select(.host == \"web\\\\..+$\")|.settings.bearer_tokens | map(select(.allowed_paths[] | contains(\"^/visualizer/positions/$\"))) | .[0].token' -r) envsubst < controller/robot-visualization-deployment.yaml | kubectl apply -f -"
444442
]
445443
},
@@ -501,6 +499,29 @@
501499
"HTTPS_IPADDR=$(kubectl get services -l app=ambassador -o json | jq '.items[0].status.loadBalancer.ingress[0].ip' -r)\n",
502500
"az network dns record-set a add-record --resource-group ${DNS_ZONE_RG} --zone-name \"${DOMAIN}\" --record-set-name \"web\" --ipv4-address \"${HTTPS_IPADDR}\""
503501
]
502+
},
503+
{
504+
"cell_type": "code",
505+
"execution_count": null,
506+
"metadata": {},
507+
"outputs": [],
508+
"source": [
509+
"curl -i https://web.${DOMAIN}/controller/web/"
510+
]
511+
},
512+
{
513+
"cell_type": "markdown",
514+
"metadata": {},
515+
"source": [
516+
"example)\n",
517+
"```\n",
518+
"HTTP/1.1 401 Unauthorized\n",
519+
"www-authenticate: Basic realm=\"basic authentication required\"\n",
520+
"content-length: 0\n",
521+
"date: Tue, 18 Jun 2019 05:01:31 GMT\n",
522+
"server: envoy\n",
523+
"```"
524+
]
504525
}
505526
],
506527
"metadata": {

0 commit comments

Comments
 (0)