From 340044f2864c02db3f58d73adbaca3037ac6146b Mon Sep 17 00:00:00 2001
From: Sergi Hernandez Juan <shernand@iri.upc.edu>
Date: Thu, 2 Apr 2020 10:17:04 +0200
Subject: [PATCH] Changed the orientation of the sensor in the example xacro.

---
 urdf/hc_sr04_sonar_example.xacro | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/urdf/hc_sr04_sonar_example.xacro b/urdf/hc_sr04_sonar_example.xacro
index bf76562..7442414 100644
--- a/urdf/hc_sr04_sonar_example.xacro
+++ b/urdf/hc_sr04_sonar_example.xacro
@@ -32,7 +32,7 @@
   </gazebo>
 
   <xacro:hcsr04_sonar name="hcsr04_sonar" parent="sonar_base_parent" sim_config="$(find iri_ranger1d_gazebo)/config/hc_sr04_sonar_ranger1d_sim_config.yaml">
-    <origin xyz="0.0 0.0 0.7" rpy="3.14159 0 0" />
+    <origin xyz="0.0 0.0 0.7" rpy="1.5707 0 0" />
   </xacro:hcsr04_sonar>
 
 </robot>
-- 
GitLab