-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: claire <[email protected]>
- Loading branch information
Showing
11 changed files
with
84 additions
and
353 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,17 +1,14 @@ | ||
farm_ng_add_protobufs(farm_ng_amiga_proto_defs | ||
NAMESPACE farm_ng_amiga | ||
INCLUDE_DIRS | ||
${Sophus_PROTO_DIR} | ||
${farm_ng_core_PROTO_DIR} | ||
PROTO_FILES | ||
farm_ng/amiga/amiga.proto | ||
farm_ng/canbus/amiga_v6.proto | ||
farm_ng/canbus/canbus.proto | ||
farm_ng/gps/gps.proto | ||
farm_ng/health_monitor/health_monitor.proto | ||
farm_ng/imu/imu.proto | ||
farm_ng/oak/oak.proto | ||
farm_ng/service/service.proto | ||
DEPENDENCIES | ||
Sophus::sophus_linalg_proto_defs | ||
Sophus::sophus_lie_proto_defs | ||
farm_ng_core::farm_ng_core_proto_defs | ||
farm_ng_core::farm_ng_core_proto_defs | ||
) |
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,45 @@ | ||
// Copyright (c) farm-ng, inc. | ||
// | ||
// Licensed under the Amiga Development Kit License (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://github.com/farm-ng/amiga-dev-kit/blob/main/LICENSE | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Copyright (c) farm-ng, inc. All rights reserved. | ||
|
||
syntax = "proto3"; | ||
|
||
import "farm_ng/gps/gps.proto"; | ||
|
||
import "farm_ng/core/linalg.proto"; | ||
import "farm_ng/core/pose.proto"; | ||
|
||
package farm_ng.amiga.proto; | ||
|
||
message AmigaRobotConfig { | ||
repeated WheelConfig wheels = 1; | ||
// List of poses | ||
farm_ng.core.proto.PoseTree pose_tree = 6; | ||
} | ||
|
||
message WheelConfig { | ||
// User friendly identifier (front-left, ...) | ||
string name = 1; | ||
|
||
// ID of motor controller on canbus | ||
uint32 canbus_id = 2; | ||
|
||
// Gear reduction. | ||
// E.g. 1000 rpm motor turns wheel at wheel_from_motor_rate * 1000 rpm. | ||
double wheel_from_motor_rate = 4; | ||
|
||
// diameter of wheel (in contact with ground) in meters | ||
double wheel_diameter_m = 5; | ||
} |
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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,27 @@ | ||
// Copyright (c) farm-ng, inc. All rights reserved. | ||
|
||
syntax = "proto3"; | ||
|
||
import "farm_ng/core/linalg.proto"; | ||
import "farm_ng/core/lie.proto"; | ||
|
||
package farm_ng.imu.proto; | ||
|
||
message ImuBias { | ||
// Gyro bias in radians per second | ||
farm_ng.core.proto.Vec3F64 gyro_bias = 1; | ||
// Accelerometer bias in meters per second squared | ||
farm_ng.core.proto.Vec3F64 accelero_bias = 2; | ||
} | ||
|
||
message Imu { | ||
// Angular velocity in radians per second | ||
farm_ng.core.proto.Vec3F64 angular_velocity = 2; | ||
// Linear acceleration in meters per second squared | ||
farm_ng.core.proto.Vec3F64 linear_acceleration = 3; | ||
// Orientation as a quaternion | ||
farm_ng.core.proto.QuaternionF64 orientation = 4; | ||
// Gyro and Accelero bias | ||
ImuBias bias = 5; | ||
} | ||
|
Oops, something went wrong.