-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from machinekoder/machinekit-updates
Updates from upstream Machinekit
- Loading branch information
Showing
20 changed files
with
209 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
build | ||
node_modules | ||
objects | ||
generated | ||
machinetalk | ||
doc_base | ||
/node_modules | ||
/objects | ||
/generated | ||
/machinetalk | ||
/doc_base |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
syntax = "proto2"; | ||
import "machinetalk/protobuf/nanopb.proto"; | ||
|
||
// see README.msgid | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
syntax = "proto2"; | ||
import "machinetalk/protobuf/nanopb.proto"; | ||
|
||
// see README.msgid | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
syntax = "proto2"; | ||
import "machinetalk/protobuf/nanopb.proto"; | ||
|
||
// see README.msgid | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
syntax = "proto2"; | ||
package machinetalk; | ||
|
||
// see README.msgid | ||
// msgid base: 350 | ||
|
||
import "machinetalk/protobuf/nanopb.proto"; | ||
|
||
|
||
message JplanJoint { | ||
option (nanopb_msgopt).msgid = 352; | ||
|
||
optional double pos_cmd = 1; | ||
optional double max_vel = 2; | ||
optional double max_acc = 3; | ||
optional bool enable = 4; // enable/disable this joint | ||
}; | ||
|
||
message JplanCommand { | ||
option (nanopb_msgopt).msgid = 354; | ||
|
||
repeated JplanJoint joint = 2 [(nanopb).max_count = 10];; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
syntax = "proto2"; | ||
package machinetalk; | ||
// see README.msgid | ||
// msgid base: 400 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
syntax = "proto2"; | ||
// use a self-describing format as suggested in protobuf docs | ||
// and on the mailing list | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
syntax = "proto2"; | ||
package machinetalk; | ||
|
||
// see README.msgid | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
syntax = "proto2"; | ||
package machinetalk; | ||
|
||
// see README.msgid | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
syntax = "proto2"; | ||
package machinetalk; // this should probably better be ros or pb:ros; | ||
|
||
// see README.msgid | ||
// msgid base: 370 | ||
|
||
import "machinetalk/protobuf/nanopb.proto"; | ||
|
||
// http://docs.ros.org/jade/api/std_msgs/html/msg/Header.html | ||
message Time { | ||
option (nanopb_msgopt).msgid = 371; | ||
|
||
optional uint32 secs = 1; | ||
optional uint32 nsecs = 2; | ||
}; | ||
|
||
message Header { | ||
option (nanopb_msgopt).msgid = 372; | ||
|
||
optional uint32 seq = 1; | ||
optional Time stamp = 2; | ||
optional string frame_id = 3 [(nanopb).max_size = 20]; | ||
} | ||
|
||
// http://docs.ros.org/indigo/api/trajectory_msgs/html/msg/JointTrajectoryPoint.html | ||
message JointTrajectoryPoint { | ||
option (nanopb_msgopt).msgid = 373; | ||
|
||
repeated double positions = 1 [(nanopb).max_count = 10]; | ||
repeated double velocities = 2 [(nanopb).max_count = 10]; | ||
repeated double accelerations = 3 [(nanopb).max_count = 10]; | ||
repeated double effort = 4 [(nanopb).max_count = 10]; | ||
optional double time_from_start = 5; | ||
|
||
optional double duration = 7; // of this segment, secs | ||
optional uint32 serial = 8; // segment being worked on | ||
}; | ||
|
||
// http://docs.ros.org/jade/api/trajectory_msgs/html/msg/JointTrajectory.html | ||
message JointTrajectory { | ||
option (nanopb_msgopt).msgid = 374; | ||
|
||
optional Header header = 1; | ||
repeated string joint_names = 2; | ||
repeated JointTrajectoryPoint points = 3; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
syntax = "proto2"; | ||
import "machinetalk/protobuf/nanopb.proto"; | ||
// see README.msgid | ||
// msgid base: 900 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
syntax = "proto2"; | ||
// interpreter protocol messages | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.