Skip to content

Commit

Permalink
Encapsulate python expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
martiniil committed Jan 31, 2022
1 parent ee93f58 commit 96554a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions launch/bringup.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<arg name="tf_prefix" default="laser_1" />

<!-- Start angle of measurement in radian -->
<arg name="angle_start" default="$(eval radians(-137.4))" />
<arg name="angle_start" default="$(eval 'radians(-137.4)')" />

<!-- End angle of measurement in radian -->
<arg name="angle_end" default="$(eval radians(137.4))" />
<arg name="angle_end" default="$(eval 'radians(137.4)')" />

<!-- Publishing of intensities -->
<arg name="intensities" default="false" />

<!-- Scan resolution in radian -->
<arg name="resolution" default="$(eval radians(0.1))" />
<arg name="resolution" default="$(eval 'radians(0.1)')" />

<!-- IP-Address of host machine -->
<arg name="host_ip" default="auto" />
Expand Down
6 changes: 3 additions & 3 deletions launch/psen_scan_v2.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<arg name="tf_prefix" default="laser_1" />

<!-- Start angle of measurement in radian -->
<arg name="angle_start" default="$(eval radians(-137.4))" />
<arg name="angle_start" default="$(eval 'radians(-137.4)')" />

<!-- End angle of measurement in radian -->

<arg name="angle_end" default="$(eval radians(137.4))" />
<arg name="angle_end" default="$(eval 'radians(137.4)')" />

<!-- Publishing of intensities -->
<arg name="intensities" default="false" />

<!-- Scan resolution in radian -->
<arg name="resolution" default="$(eval radians(0.1))" />
<arg name="resolution" default="$(eval 'radians(0.1)')" />

<!-- IP-Address of host machine -->
<arg name="host_ip" default="auto" />
Expand Down

0 comments on commit 96554a9

Please sign in to comment.