You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried to generate and compile the Java generated library from the the common dialect and the compiler fails with the following error:
output_dir_java/enums/MAV_SYS_STATUS_SENSOR.java:44: error: integer number too large
public static final int MAV_SYS_STATUS_EXTENSION_USED = 2147483648; /* 0x80000000 Extended bit-field are used forfurther sensor status bits (needs to be setin onboard_control_sensors_present only) |*/
^
output_dir_java/enums/MAV_SYS_STATUS_SENSOR.java:45: error: integer number too large
public static final int MAV_SYS_STATUS_SENSOR_ENUM_END = 2147483649; /*|*/
^
output_dir_java/enums/HIL_SENSOR_UPDATED_FLAGS.java:27: error: integer number too large
public static final int HIL_SENSOR_UPDATED_RESET = 2147483648; /* Full reset of attitude/position/velocities/etc was performed in sim (Bit 31). |*/
^
output_dir_java/enums/HIL_SENSOR_UPDATED_FLAGS.java:28: error: integer number too large
public static final int HIL_SENSOR_UPDATED_FLAGS_ENUM_END = 2147483649; /*|*/
^
4 errors
Steps to reproduce:
Use mavgen.py to generate the V2 library for Java in an output_dir
Hey there,
I just tried to generate and compile the Java generated library from the the
common
dialect and the compiler fails with the following error:Steps to reproduce:
mavgen.py
to generate the V2 library for Java in anoutput_dir
find output_dir -name "*.java"
This is confirmed to happen with both Java 11 and Java 14.
Thanks in advance for the assistance solving this!
The text was updated successfully, but these errors were encountered: