Gymnasium check_env "share an object" error in ROS 2 robot envs
Your env returns the same NumPy array every step, so every buffer slot holds the latest value; return self._q.copy(), not obs[:] or np.asarray(obs).
Your env returns the same NumPy array every step, so every buffer slot holds the latest value; return self._q.copy(), not obs[:] or np.asarray(obs).
Default colcon build of Nav2 failed at 4GB and peaked at 7.8GiB of 8GiB; a sequential build peaked at 2.7GiB and finished at 4GB.
If either node has ROS_AUTOMATIC_DISCOVERY_RANGE=OFF, nothing connects; across hosts, LOCALHOST also needs ROS_STATIC_PEERS on one side.
As of November 2026, Iron is past EOL, Kilted ends this month and Humble has 6 months left (May 2027); for longer projects use Jazzy (30 months, until May 2029, Ubuntu 24.04).
In a fresh shell, install/local_setup.bash adds only your overlay and no ros2 command; install/setup.bash also loads the underlay it was built on.
A backwards ROS 2 static transform with no rotation puts the child exactly 2x the offset away; with rotation the ratio varies, and under odom the tree breaks.
In a ROS 2 Jazzy container, /clock held real time factor 1.0 while a 100 Hz callback missed its 10 ms deadline 20 times in 5 s. RTF doesn't see deadlines.
On ROS 2 Jazzy, a no-change colcon build still cost time per package, and switching one CMake flag cost more than ignoring two packages saved.
In measured runs, colcon --executor sequential built one package at a time but kept make -j2; only MAKEFLAGS=-j1 got it down to one compiler.
On ROS 2 Jazzy with Fast DDS, a stalled sensor topic fired only deadline events; Automatic liveliness stayed alive until the driver process was killed.
ROS 2 troubleshooting guide · How these articles are made