Skip to content

Commit ec0443b

Browse files
authored
Merge pull request JdeRobot#3537 from JdeRobot/set-prototype-industrial
Update state to prototype of industrial robots exercises
2 parents 3a0afe8 + 968c0b6 commit ec0443b

1 file changed

Lines changed: 36 additions & 37 deletions

File tree

database/exercises/db.sql

Lines changed: 36 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ SET default_table_access_method = heap;
3636
--
3737

3838
CREATE TABLE public.exercises (
39-
id integer NOT NULL,
40-
exercise_id character varying(40) NOT NULL,
41-
name character varying(40) NOT NULL,
42-
description character varying(400) NOT NULL,
43-
tags character varying(2000) NOT NULL,
44-
status character varying(20) NOT NULL,
45-
url character varying(200) NOT NULL
39+
id integer NOT NULL,
40+
exercise_id character varying (40) NOT NULL,
41+
name character varying (40) NOT NULL,
42+
description character varying (400) NOT NULL,
43+
tags character varying (2000) NOT NULL,
44+
status character varying (20) NOT NULL,
45+
url character varying (200) NOT NULL
4646
);
4747

4848
ALTER TABLE public.exercises OWNER TO "user-dev";
@@ -51,23 +51,22 @@ ALTER TABLE public.exercises OWNER TO "user-dev";
5151
-- Name: exercises_id_seq; Type: SEQUENCE; Schema: public; Owner: user-dev
5252
--
5353

54-
ALTER TABLE public.exercises
55-
ALTER COLUMN id
54+
ALTER TABLE public.exercises ALTER COLUMN id
5655
ADD GENERATED BY DEFAULT AS IDENTITY (
57-
SEQUENCE NAME public.exercises_id_seq START
58-
WITH
59-
1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1
56+
SEQUENCE NAME public.exercises_id_seq START
57+
WITH
58+
1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1
6059
);
6160

6261
--
6362
-- Name: exercises_universes; Type: TABLE; Schema: public; Owner: user-dev
6463
--
6564

6665
CREATE TABLE public.exercises_universes (
67-
id bigint NOT NULL,
68-
exercise_id bigint NOT NULL,
69-
universe_id bigint NOT NULL,
70-
is_default BOOLEAN NOT NULL
66+
id bigint NOT NULL,
67+
exercise_id bigint NOT NULL,
68+
universe_id bigint NOT NULL,
69+
is_default BOOLEAN NOT NULL
7170
);
7271

7372
ALTER TABLE public.exercises_universes OWNER TO "user-dev";
@@ -76,22 +75,21 @@ ALTER TABLE public.exercises_universes OWNER TO "user-dev";
7675
-- Name: exercises_universes_id_seq; Type: SEQUENCE; Schema: public; Owner: user-dev
7776
--
7877

79-
ALTER TABLE public.exercises_universes
80-
ALTER COLUMN id
78+
ALTER TABLE public.exercises_universes ALTER COLUMN id
8179
ADD GENERATED BY DEFAULT AS IDENTITY (
82-
SEQUENCE NAME public.exercises_universes_id_seq START
83-
WITH
84-
1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1
80+
SEQUENCE NAME public.exercises_universes_id_seq START
81+
WITH
82+
1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1
8583
);
8684

8785
--
8886
-- Name: exercises_tools; Type: TABLE; Schema: public; Owner: user-dev
8987
--
9088

9189
CREATE TABLE public.exercises_tools (
92-
id bigint NOT NULL,
93-
exercise_id bigint NOT NULL,
94-
tool_id character varying(50) NOT NULL
90+
id bigint NOT NULL,
91+
exercise_id bigint NOT NULL,
92+
tool_id character varying (50) NOT NULL
9593
);
9694

9795
ALTER TABLE public.exercises_tools OWNER TO "user-dev";
@@ -100,18 +98,18 @@ ALTER TABLE public.exercises_tools OWNER TO "user-dev";
10098
-- Name: exercises_tools_id_seq; Type: SEQUENCE; Schema: public; Owner: user-dev
10199
--
102100

103-
ALTER TABLE public.exercises_tools
104-
ALTER COLUMN id
101+
ALTER TABLE public.exercises_tools ALTER COLUMN id
105102
ADD GENERATED BY DEFAULT AS IDENTITY (
106-
SEQUENCE NAME public.exercises_tools_id_seq START
107-
WITH
108-
1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1
103+
SEQUENCE NAME public.exercises_tools_id_seq START
104+
WITH
105+
1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1
109106
);
110107

111108
--
112109
-- Data for Name: exercises; Type: TABLE DATA; Schema: public; Owner: user-dev
113110
--
114111

112+
115113
COPY public.exercises (id, exercise_id, name, description, tags, status, url) FROM stdin;
116114
1 follow_line Follow Line The goal of this exercise is to perform a PID reactive control capable of following the line painted on the racing circuit. ["ROS2","AUTONOMOUS DRIVING", "MULTILANGUAGE"] ACTIVE https://jderobot.github.io/RoboticsAcademy/exercises/AutonomousCars/follow_line/
117115
2 vacuum_cleaner Basic Vacuum Cleaner Basic Vacuum Cleaner exercise ["ROS2", "MULTILANGUAGE"] ACTIVE https://jderobot.github.io/RoboticsAcademy/exercises/MobileRobots/vacuum_cleaner
@@ -129,19 +127,18 @@ COPY public.exercises (id, exercise_id, name, description, tags, status, url) FR
129127
14 laser_mapping Laser Mapping Build a map based on sensor readings ["ROS2"] ACTIVE https://jderobot.github.io/RoboticsAcademy/exercises/MobileRobots/laser_mapping
130128
15 basic_computer_vision Basic Computer Vision Basic Computer Vision exercise using React and RAM ["ROS2"] ACTIVE https://jderobot.github.io/RoboticsAcademy/exercises/ComputerVision/basic_computer_vision
131129
16 follow_road Drone Follow Road Drone Follow Road exercise ["ROS2"] ACTIVE https://jderobot.github.io/RoboticsAcademy/exercises/Drones/follow_road
132-
17 pick_place Pick and Place Pick and Place exercise ["ROS2"] ACTIVE https://jderobot.github.io/RoboticsAcademy/exercises/IndustrialRobots/pick_place
130+
17 pick_place Pick and Place Pick and Place exercise ["ROS2"] PROTOTYPE https://jderobot.github.io/RoboticsAcademy/exercises/IndustrialRobots/pick_place
133131
18 image_classification Image Classification Deep learning-based Image Classification. ["Computer Vision","Deep Learning","Classification"] ACTIVE https://jderobot.github.io/RoboticsAcademy/exercises/ComputerVision/image_classification
134132
19 object_detection Visual Object Detection Deep learning-based object detection. ["Computer Vision","Deep Learning"] ACTIVE https://jderobot.github.io/RoboticsAcademy/exercises/ComputerVision/object_detection
135133
20 drone_gymkhana Drone Gymkhana Drone Gymkhana ["ROS2","Drones"] ACTIVE https://jderobot.github.io/RoboticsAcademy/exercises/Drones/drone_gymkhana
136134
21 power_tower_inspection Power Tower Inspection Power Tower inspection using drones ["ROS2","Drones"] ACTIVE https://jderobot.github.io/RoboticsAcademy/exercises/Drones/power_tower_inspection
137135
22 end_to_end_visual_control End to End Visual Control End to end visual control using deep learning. ["Computer Vision","Deep Learning","AUTONOMOUS DRIVING"] ACTIVE https://jderobot.github.io/RoboticsAcademy/exercises/AutonomousCars/end_to_end_visual_control
138136
23 digital_image_processing Digital Image Processing Exercises Digital Image Processing Exercises ["ROS2"] ACTIVE https://jderobot.github.io/RoboticsAcademy/exercises/ComputerVision/digital_image_processing
139137
24 car_junction Car Junction Autonomous Navigation through traffic at road junction. ["AUTONOMOUS DRIVING","ROS2"] ACTIVE https://jderobot.github.io/RoboticsAcademy/exercises/AutonomousCars/car_junction
140-
25 machine_vision Machine Vision Machine Vision exercise ["ROS2"] ACTIVE https://jderobot.github.io/RoboticsAcademy/exercises/IndustrialRobots/machine_vision
138+
25 machine_vision Machine Vision Machine Vision exercise ["ROS2"] PROTOTYPE https://jderobot.github.io/RoboticsAcademy/exercises/IndustrialRobots/machine_vision
141139
26 labyrinth_escape Labyrinth Escape Labyrinth Escape exercise ["ROS2","Drones"] ACTIVE https://jderobot.github.io/RoboticsAcademy/exercises/Drones/labyrinth_escape
142140
\.
143141

144-
145142
--
146143
-- Data for Name: exercises_universes; Type: TABLE DATA; Schema: public; Owner: user-dev
147144
--
@@ -307,14 +304,16 @@ SELECT pg_catalog.setval ( 'public.exercises_id_seq', 1, false );
307304
--
308305

309306
SELECT pg_catalog.setval (
310-
'public.exercises_universes_id_seq', 1, false
311-
);
307+
'public.exercises_universes_id_seq', 1, false
308+
);
312309

313310
--
314311
-- Name: exercises_tools_id_seq; Type: SEQUENCE SET; Schema: public; Owner: user-dev
315312
--
316313

317-
SELECT pg_catalog.setval ( 'public.exercises_tools_id_seq', 1, false );
314+
SELECT pg_catalog.setval (
315+
'public.exercises_tools_id_seq', 1, false
316+
);
318317

319318
--
320319
-- Name: exercises exercises_exercise_id_key; Type: CONSTRAINT; Schema: public; Owner: user-dev
@@ -370,7 +369,7 @@ ADD CONSTRAINT exercises_tools_pkey PRIMARY KEY (id);
370369
--
371370

372371
CREATE INDEX exercises_exercise_id_c21d158f_like ON public.exercises USING btree (
373-
exercise_id varchar_pattern_ops
372+
exercise_id varchar_pattern_ops
374373
);
375374

376375
--
@@ -433,4 +432,4 @@ ADD CONSTRAINT exercises_w_exercise_id_e4e984bc_fk_exercises FOREIGN KEY (exerci
433432

434433
--
435434
-- PostgreSQL database dump complete
436-
--
435+
--

0 commit comments

Comments
 (0)