Skip to content

Commit

Permalink
add base pose to playground
Browse files Browse the repository at this point in the history
  • Loading branch information
micheal-parks committed Nov 20, 2023
1 parent f1fbd10 commit 947db48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Renders an in-progress rectangle that represents a drawn area by the user.
-->
<script lang="ts">
import * as THREE from 'three';
import type * as THREE from 'three';
import { T, createRawEventDispatcher } from '@threlte/core';
import { useMapLibreEvent, useMapLibre } from '$lib';
import {
Expand Down
1 change: 1 addition & 0 deletions packages/blocks/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const fetchPointcloud = async () => {
<div class="relative aspect-video w-full border border-gray-200">
{#await fetchPointcloud() then pointcloud}
<SlamMap2D
basePose={{ x: 1, y: 2, theta: 45 }}
{pointcloud}
{motionPath}
on:click={(event) => console.log(event.detail)}
Expand Down

0 comments on commit 947db48

Please sign in to comment.