Skip to content

Commit

Permalink
Merge pull request #7 from strahlex/includefix
Browse files Browse the repository at this point in the history
Fixes to includes and more
  • Loading branch information
mhaberler committed Nov 17, 2014
2 parents 0b94620 + ee81808 commit db74406
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 14 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion proto/canon.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import "nanopb.proto";
import "types.proto";
import "emcclass.proto";
import "motcmds.proto";
import "status.proto";

package pb;

Expand Down
1 change: 0 additions & 1 deletion proto/log.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package pb;

import "nanopb.proto";
import "types.proto";
import "value.proto";

message LogMessage {
required MsgOrigin origin = 10;
Expand Down
2 changes: 1 addition & 1 deletion proto/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
5 changes: 2 additions & 3 deletions proto/motcmds.proto
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 */
};
};
1 change: 0 additions & 1 deletion proto/object.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import "nanopb.proto";
import "types.proto";
import "value.proto";

package pb;

Expand Down
2 changes: 0 additions & 2 deletions proto/preview.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//import "nanopb.proto";

package pb;

// experimental axis/joint representation
Expand Down
1 change: 0 additions & 1 deletion proto/rtapi_message.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import "nanopb.proto";
import "types.proto";
import "value.proto";

package pb;
Expand Down
2 changes: 0 additions & 2 deletions proto/rtapicommand.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import "nanopb.proto";
import "types.proto";
import "value.proto";

package pb;

Expand Down
1 change: 0 additions & 1 deletion proto/test.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// use any of the below for testing and experimentation.

import "types.proto";
import "emcclass.proto";

package pb;
Expand Down
2 changes: 1 addition & 1 deletion proto/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ enum ObjectType {
ORIGINATOR = 22;
NAMED_VALUE = 25;

ERROR = 30;
OT_ERROR = 30;
}

enum RCS_STATUS {
Expand Down

0 comments on commit db74406

Please sign in to comment.