Skip to content

Commit a7327ee

Browse files
committed
Merge branch 'develop'
2 parents 13deb13 + 046e8bd commit a7327ee

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CHANGELOG.rst

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Changelog for package mvsim
33
^^^^^^^^^^^^^^^^^^^^^^^^^^^
44

5+
0.13.2 (2025-02-05)
6+
-------------------
7+
* FIX: another missing if() protecting access to uninitialized js data
8+
* Contributors: Jose Luis Blanco Claraco, Jose Luis Blanco-Claraco
9+
510
0.13.1 (2025-02-04)
611
-------------------
712
* Merge pull request `#65 <https://github.com/MRPT/mvsim/issues/65>`_ from MRPT/fix/no-joystick-crash

modules/simulator/include/mvsim/mvsim_version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// clang-format off
1313
#define MVSIM_MAJOR_VERSION 0
1414
#define MVSIM_MINOR_VERSION 13
15-
#define MVSIM_PATCH_VERSION 1
15+
#define MVSIM_PATCH_VERSION 2
1616

1717
#define MVSIM_STR_EXP(__A) #__A
1818
#define MVSIM_STR(__A) MVSIM_STR_EXP(__A)

modules/simulator/src/VehicleDynamics/VehicleAckermann_ControllerTwistFrontSteerPID.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ void DynamicsAckermann::ControllerTwistFrontSteerPID::teleop_interface(
170170

171171
out.append_gui_lines += "[Controller=" + std::string(class_name()) + "]";
172172

173-
if (in.js)
173+
if (in.js && in.js->axes.size() >= 2)
174174
{
175175
const auto& js = in.js.value();
176176
const float js_x = js.axes[0];

package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<description>A lightweight multivehicle simulation framework.</description>
66

77
<!-- All version numbers in CMake scripts are taken from this line: -->
8-
<version>0.13.1</version>
8+
<version>0.13.2</version>
99

1010
<maintainer email="[email protected]">Jose-Luis Blanco-Claraco</maintainer>
1111
<license>BSD</license>

0 commit comments

Comments
 (0)