Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create new msg and srv to get motors general info #14

Open
wants to merge 1 commit into
base: ros-devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ add_message_files(DIRECTORY msg
MotorReferenceValue.msg
MotorReferenceValueArray.msg
RecordStatus.msg
MotorInfo.msg
)

## Generate services in the 'srv' folder
Expand Down Expand Up @@ -117,6 +118,7 @@ add_service_files(
SetTransform.srv
LoggerQuery.srv
Record.srv
GetMotorsInfo.srv
)

add_action_files(
Expand Down
5 changes: 5 additions & 0 deletions msg/MotorInfo.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Contains standard information about the motordrive
uint8 can_id
string joint
string serial_number
string software_version
2 changes: 2 additions & 0 deletions srv/GetMotorsInfo.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
MotorInfo[] info