diff --git a/Makefile b/Makefile index f487dbba..65973f13 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,9 @@ CXXGEN := generated # generated Python files PYGEN := python +# disable protobuf.js per default +PROTOBUFJS := 0 + # directory for ProtoBuf.js generated files PROTOBUFJS_GEN := js diff --git a/proto/canon.proto b/proto/canon.proto index f393443d..5e779510 100644 --- a/proto/canon.proto +++ b/proto/canon.proto @@ -2,7 +2,6 @@ import "nanopb.proto"; import "types.proto"; import "emcclass.proto"; import "motcmds.proto"; -import "status.proto"; package pb; diff --git a/proto/log.proto b/proto/log.proto index 038129f6..ae2686c9 100644 --- a/proto/log.proto +++ b/proto/log.proto @@ -2,7 +2,6 @@ package pb; import "nanopb.proto"; import "types.proto"; -import "value.proto"; message LogMessage { required MsgOrigin origin = 10; diff --git a/proto/message.proto b/proto/message.proto index f68082a5..47cab32c 100644 --- a/proto/message.proto +++ b/proto/message.proto @@ -9,7 +9,7 @@ import "types.proto"; import "object.proto"; import "log.proto"; import "motcmds.proto"; -import "test.proto"; +//import "test.proto"; import "task.proto"; import "canon.proto"; import "value.proto"; diff --git a/proto/motcmds.proto b/proto/motcmds.proto index 611e9629..acb2332a 100644 --- a/proto/motcmds.proto +++ b/proto/motcmds.proto @@ -1,8 +1,7 @@ +package pb; import "emcclass.proto"; -package pb; - // an uncleaned first transliteration // add _ to avoid collision with macros in emc/nml_intf/motion_typesh @@ -157,4 +156,4 @@ message MotionStatus { required fixed32 commandNumEcho = 20; /* increment this for new command */ required cmd_status_t commandStatus = 30; /* result of most recent command */ optional EmcPose carte_pos_fb = 40; /* actual Cartesian position */ -}; \ No newline at end of file +}; diff --git a/proto/object.proto b/proto/object.proto index 93ae6b8c..e69edf07 100644 --- a/proto/object.proto +++ b/proto/object.proto @@ -3,7 +3,6 @@ import "nanopb.proto"; import "types.proto"; -import "value.proto"; package pb; diff --git a/proto/preview.proto b/proto/preview.proto index bace7656..a851a5ae 100644 --- a/proto/preview.proto +++ b/proto/preview.proto @@ -1,5 +1,3 @@ -//import "nanopb.proto"; - package pb; // experimental axis/joint representation diff --git a/proto/rtapi_message.proto b/proto/rtapi_message.proto index 942b23b9..c3e1c212 100644 --- a/proto/rtapi_message.proto +++ b/proto/rtapi_message.proto @@ -1,5 +1,4 @@ import "nanopb.proto"; -import "types.proto"; import "value.proto"; package pb; diff --git a/proto/rtapicommand.proto b/proto/rtapicommand.proto index fdfee409..824ce6a5 100644 --- a/proto/rtapicommand.proto +++ b/proto/rtapicommand.proto @@ -1,6 +1,4 @@ import "nanopb.proto"; -import "types.proto"; -import "value.proto"; package pb; diff --git a/proto/test.proto b/proto/test.proto index 1d65546e..203056d2 100644 --- a/proto/test.proto +++ b/proto/test.proto @@ -1,6 +1,5 @@ // use any of the below for testing and experimentation. -import "types.proto"; import "emcclass.proto"; package pb; diff --git a/proto/types.proto b/proto/types.proto index b322452a..b67a978b 100644 --- a/proto/types.proto +++ b/proto/types.proto @@ -66,7 +66,7 @@ enum ObjectType { ORIGINATOR = 22; NAMED_VALUE = 25; - ERROR = 30; + OT_ERROR = 30; } enum RCS_STATUS {