WEBVTT

NOTE
Robotnik | How ROS 2 Powers Industrial AMRs: Robotnik's Key Insights
Transcript by RoboGeeks: https://robogeeks.org/videos/3b0MkA06OME

1
00:00:09.170 --> 00:00:14.670
From our experience at Robotnik, taking a ROS2 prototype into a real product starts with

2
00:00:14.670 --> 00:00:20.430
a standardization, a clean package structure, a strict version control, and automated tests.

3
00:00:21.230 --> 00:00:26.890
Then goes the critical part, validating the system in real conditions, with network profiles,

4
00:00:27.550 --> 00:00:33.930
simulated failures, and CPU stress. And above all, documenting what works and what doesn't,

5
00:00:34.030 --> 00:00:37.730
because in production, stability is worth more than any new feature.

6
00:00:37.730 --> 00:00:50.190
Yes, we use ROS2 control, and it's something we highly recommend. It gives us a very clean and

7
00:00:50.190 --> 00:00:55.190
reliable interface between the hardware and software, which is essential for real-level control.

8
00:00:55.870 --> 00:01:00.770
And there's an extra advantage for our clients. They can experiment with their own control logic,

9
00:01:01.030 --> 00:01:06.590
if they want to, because the framework is open and modular, while we still deliver a fully functional

10
00:01:06.590 --> 00:01:17.480
based setup out of the box. The first step is always measuring where the bottleneck actually is.

11
00:01:17.480 --> 00:01:24.260
CPU, memory, or communication. Using combined languages like C++ makes a big difference,

12
00:01:24.340 --> 00:01:29.960
and choosing a middleware with shared memory support can greatly reduce overhead in heavy data pipelines.

13
00:01:30.680 --> 00:01:35.800
Splitting oversized nodes, reducing message rates, and keeping the system lean is key.

14
00:01:35.800 --> 00:01:43.660
One thing we find especially useful, particularly on battery-powered robots, is using lifecycle nodes.

15
00:01:43.660 --> 00:01:49.660
Starting and stopping nodes on demand saves resources and lets you run only what truly adds value at each moment.

16
00:01:49.660 --> 00:01:59.430
Yes, it's absolutely possible, and it's actually very common in the industrial environment.

17
00:01:59.430 --> 00:02:08.430
While ROS itself is not safety certified, adding a PLC-based safety layer allows you to fully comply with industrial safety requirements.

18
00:02:08.430 --> 00:02:18.430
ROS2 integrates smoothly with common industrial protocols, such as Modbus, EtherCAT, so it fits naturally into existing automation systems.

19
00:02:18.430 --> 00:02:27.430
This way, safety remains in the hands of the PLC, and ROS2 brings adaptability, intelligence, and faster development.

20
00:02:27.430 --> 00:02:42.140
ROS2 is built on DDS, which gives you real-time capabilities by letting you tune deadlines, reliability, and message priorities through QoS profiles.

21
00:02:42.140 --> 00:02:53.140
That QoS system is one of the major improvements on ROS2, because it lets you each type of data behave exactly as it should in real-time critical situations.

22
00:02:54.140 --> 00:02:56.140
A good example is ROS2 Control.

23
00:02:56.140 --> 00:03:06.140
The communications between the hardware and software interface and the controllers happens intra-process, using plugins so the data flow is extremely fast and very predictable.

24
00:03:06.140 --> 00:03:15.140
With the right QoS settings and properly configured system, ROS2 gives you a high level of control over timing and determinism.

25
00:03:15.140 --> 00:03:31.680
The usual approach is tuning the critics, increase path align, raise the cost of oscillations with oscillation critics, and reduce aggressive parameters like max angular velocity.

26
00:03:31.680 --> 00:03:35.680
Increasing wall cost in the cost map also helps keep the robot centered.

27
00:03:35.680 --> 00:03:41.680
It's not magic, it's finding the right balance so the robot behaves smoothly in tight spaces.

28
00:03:41.680 --> 00:03:49.990
The key is to fuse sensors properly.

29
00:03:49.990 --> 00:03:57.990
We configured robot localization to combine IMU, odometry, and GNSS RTK fixes as an absolute source.

30
00:03:57.990 --> 00:04:02.990
The trick is tuning the covariances so the filter knows when to trust each sensor.

31
00:04:02.990 --> 00:04:08.990
With a good calibration, you get very stable positioning, even with brief signal losses.

32
00:04:08.990 --> 00:04:18.760
We built a unified URDF where the base and the manipulator share the same kinematic chain.

33
00:04:18.760 --> 00:04:24.760
MOVI2 is then configured with that model, while NAV2 handles base navigation.

34
00:04:24.760 --> 00:04:32.760
The interesting part is coordinating both worlds, deciding when the arm moves and when the base moves, and preventing self-collisions.

35
00:04:32.760 --> 00:04:35.760
With a clean setup, the workflow is very solid.

36
00:04:35.760 --> 00:04:44.760
Anyway, in general, for safety reasons the platform and the arm should not be moved at the same time, but one after the other.

37
00:04:44.760 --> 00:04:53.540
When the robot carries a moving UR12, we dynamically inflate the footprint in NAV2.

38
00:04:53.540 --> 00:05:00.540
That way, the planner understands the robot is wider and naturally select routes with more clearance.

39
00:05:00.540 --> 00:05:05.540
Adjusting cost maps penalties for narrow corridors also helps.

40
00:05:05.540 --> 00:05:11.540
The idea is to make the planner see the real physical dimensions of the full system, not just the base.

41
00:05:11.540 --> 00:05:22.240
In practice, using ROS2 itself to directly connect multiple robots isn't actually the best option.

42
00:05:22.240 --> 00:05:26.240
DTS can work, but it becomes heavy and difficult to manage.

43
00:05:26.240 --> 00:05:32.240
And most of the time, the robots don't need full access to each other's topics.

44
00:05:32.240 --> 00:05:37.240
There's no reason for robot A to see robot B camera fit, for example.

45
00:05:37.240 --> 00:05:43.240
That way, each robot stays efficient, and the communication layer remains simple and scalable.
