-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4ad7ff6
commit 40990d7
Showing
13 changed files
with
74 additions
and
75 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,29 @@ | ||
yarp_prepare_plugin(Jr3Mbed | ||
CATEGORY device | ||
TYPE roboticslab::Jr3Mbed | ||
INCLUDE Jr3Mbed.hpp | ||
DEFAULT ON) | ||
|
||
if(NOT SKIP_Jr3Mbed) | ||
|
||
yarp_add_plugin(Jr3Mbed Jr3Mbed.hpp | ||
DeviceDriverImpl.cpp | ||
ISixAxisForceTorqueSensorsImpl.cpp | ||
CanReadThread.hpp | ||
CanReadThread.cpp | ||
LogComponent.hpp | ||
LogComponent.cpp) | ||
|
||
target_link_libraries(Jr3Mbed YARP::YARP_os | ||
YARP::YARP_dev) | ||
|
||
yarp_install(TARGETS Jr3Mbed | ||
LIBRARY DESTINATION ${ROBOTICSLAB-YARP-DEVICES_DYNAMIC_PLUGINS_INSTALL_DIR} | ||
ARCHIVE DESTINATION ${ROBOTICSLAB-YARP-DEVICES_STATIC_PLUGINS_INSTALL_DIR} | ||
YARP_INI DESTINATION ${ROBOTICSLAB-YARP-DEVICES_PLUGIN_MANIFESTS_INSTALL_DIR}) | ||
|
||
else() | ||
|
||
set(ENABLE_Jr3Mbed OFF CACHE BOOL "Enable/disable Jr3Mbed device" FORCE) | ||
|
||
endif() |
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 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 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,3 @@ | ||
#include "LogComponent.hpp" | ||
|
||
YARP_LOG_COMPONENT(JR3M, "rl.Jr3Mbed") |
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,8 @@ | ||
#ifndef __JR3_MBED_LOG_COMPONENT_HPP__ | ||
#define __JR3_MBED_LOG_COMPONENT_HPP__ | ||
|
||
#include <yarp/os/LogComponent.h> | ||
|
||
YARP_DECLARE_LOG_COMPONENT(JR3M) | ||
|
||
#endif // __JR3_MBED_LOG_COMPONENT_HPP__ |
2 changes: 1 addition & 1 deletion
2
...ries/YarpPlugins/ForceTorqueCan/README.md → libraries/YarpPlugins/Jr3Mbed/README.md
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,3 @@ | ||
# ForceTorqueCan | ||
# Jr3Mbed | ||
|
||
The firmware this device interfaces with is located at: https://github.com/roboticslab-uc3m/jr3-mbed-firmware. |