-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specifing Reference Components for each Publisher and Subscriber (#113)
* Changing OdometrySubscriber to have a public Transform instead of a public GameObject; updating demo scene * Changing LaserScanPublisher to have a public LaserScanReader instead of a public GameObject * Adding public Transform to PoseStampedSubscriber,TwistSubscriber and TwistPublisher * Cleanup and Formatting
- Loading branch information
1 parent
b71fef4
commit 9725f10
Showing
13 changed files
with
60 additions
and
57 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 |
---|---|---|
|
@@ -16,16 +16,14 @@ limitations under the License. | |
// Adjustments to new Publication Timing and Execution Framework | ||
// © Siemens AG, 2018, Dr. Martin Bischoff ([email protected]) | ||
|
||
using System.Collections; | ||
using UnityEngine; | ||
|
||
namespace RosSharp.RosBridgeClient | ||
{ | ||
|
||
public class ImagePublisher : Publisher<Messages.Sensor.CompressedImage> | ||
{ | ||
public string FrameId = "Camera"; | ||
public Camera ImageCamera; | ||
public string FrameId = "Camera"; | ||
public int resolutionWidth = 640; | ||
public int resolutionHeight = 480; | ||
[Range(0, 100)] | ||
|
@@ -35,9 +33,6 @@ public class ImagePublisher : Publisher<Messages.Sensor.CompressedImage> | |
private Texture2D texture2D; | ||
private Rect rect; | ||
|
||
private float lastCommunicationTime; | ||
public float MinTime; | ||
|
||
protected override void Start() | ||
{ | ||
base.Start(); | ||
|
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
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