-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update loading of yarp robot interface configuration to handle URIs
Add this check to unit tests
- Loading branch information
Showing
3 changed files
with
28 additions
and
8 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 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,18 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<!DOCTYPE robot PUBLIC "-//YARP//DTD yarprobotinterface 3.0//EN" "http://www.yarp.it/DTD/yarprobotinterfaceV3.0.dtd"> | ||
|
||
<robot name="camera" portprefix="camera" build="0" xmlns:xi="http://www.w3.org/2001/XInclude"> | ||
<devices> | ||
<device name="camera_nws_yarp" type="frameGrabber_nws_yarp"> | ||
<!-- See https://www.yarp.it/latest/classFrameGrabber__nws__yarp.html#details for parameter documentation --> | ||
<param name="name"> /camera </param> | ||
<param name="period"> 0.033333 </param> | ||
<param name="capabilities"> COLOR </param> | ||
<action phase="startup" level="5" type="attach"> | ||
<!-- This is the same name that we passed with the yarpDeviceName to the camera plugin --> | ||
<param name="device"> camera_plugin_device </param> | ||
</action> | ||
<action phase="shutdown" level="5" type="detach" /> | ||
</device> | ||
</devices> | ||
</robot> |
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