File tree Expand file tree Collapse file tree 5 files changed +8
-9
lines changed
Runtime/Scripts/Serializers Expand file tree Collapse file tree 5 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " com.frj.unity-sensors" ,
3
- "version" : " 2.0.1 " ,
3
+ "version" : " 2.0.2 " ,
4
4
"displayName" : " UnitySensors" ,
5
5
"description" : " " ,
6
6
"unity" : " 2021.3" ,
Original file line number Diff line number Diff line change 1
1
using Unity . Robotics . ROSTCPConnector . MessageGeneration ;
2
- using RosMessageTypes . Std ;
3
-
4
2
5
3
using UnitySensors . Sensor ;
6
4
Original file line number Diff line number Diff line change @@ -29,12 +29,13 @@ public override TFMessageMsg Serialize()
29
29
{
30
30
HeaderMsg headerMsg = _header . Serialize ( ) ;
31
31
List < TransformStampedMsg > transforms = new List < TransformStampedMsg > ( ) ;
32
-
32
+
33
33
TFData [ ] tfData = sensor . GetTFData ( ) ;
34
34
foreach ( TFData data in tfData )
35
35
{
36
36
TransformStampedMsg transform = new TransformStampedMsg ( ) ;
37
- transform . header = headerMsg ;
37
+ transform . header . seq = headerMsg . seq ;
38
+ transform . header . stamp = headerMsg . stamp ;
38
39
transform . header . frame_id = data . frame_id_parent ;
39
40
transform . child_frame_id = data . frame_id_child ;
40
41
transform . transform . translation = data . position . To < FLU > ( ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " com.frj.unity-sensors-ros" ,
3
- "version" : " 2.0.1 " ,
3
+ "version" : " 2.0.2 " ,
4
4
"displayName" : " UnitySensorsROS" ,
5
5
"description" : " " ,
6
6
"unity" : " 2021.3" ,
7
7
"dependencies" : {
8
- "com.frj.unity-sensors" : " 2.0.1 " ,
8
+ "com.frj.unity-sensors" : " 2.0.2 " ,
9
9
"com.unity.robotics.ros-tcp-connector" : " 0.7.0-preview"
10
10
},
11
11
"keywords" : [
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ There are several Prefab and Scene files available for testing each sensor.
30
30
2 . In the Package Manager window, find and click the + button in the upper lefthand corner of the window. Select ` Add package from git URL.... `
31
31
32
32
3 . Enter the git URL for the desired package.
33
- 1 . For the UnitySensors, enter ` https://github.com/Field-Robotics-Japan/UnitySensors.git?path=/Assets/UnitySensors#v2.0.1 ` .
34
- 2 . For the UnitySensorsROS, enter ` https://github.com/Field-Robotics-Japan/UnitySensors.git?path=/Assets/UnitySensorsROS#v2.0.1 ` .
33
+ 1 . For the UnitySensors, enter ` https://github.com/Field-Robotics-Japan/UnitySensors.git?path=/Assets/UnitySensors#v2.0.2 ` .
34
+ 2 . For the UnitySensorsROS, enter ` https://github.com/Field-Robotics-Japan/UnitySensors.git?path=/Assets/UnitySensorsROS#v2.0.2 ` .
35
35
__ Note: UnitySensorsROS does not contain UnitySensors.__
36
36
4 . Click ` Add ` .
37
37
You can’t perform that action at this time.
0 commit comments