Skip to content

Commit

Permalink
make walls thinner
Browse files Browse the repository at this point in the history
  • Loading branch information
Servet Öz committed Jan 17, 2024
1 parent b2b7511 commit 40518a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default function arenaPedsimAgents(): RegisterMessageConverterArgs<ArenaS
animation: {
name: "Take 001",
loop: true,
speed: agentState.social_state.toLocaleLowerCase() === "running" ? 0.9 : 0.5,
speed: agentState.social_state.toLocaleLowerCase() === "running" ? 1.0 : 0.7,
},
};

Expand Down
4 changes: 2 additions & 2 deletions packages/studio-base/src/extensions/arena/wallsConverter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ export default function arenaPedSimWalls(): RegisterMessageConverterArgs<SceneUp

for (const wall of inputMessage.walls) {
// assuming always vertical walls
const sizeX = Math.abs(wall.end.x - wall.start.x) || 0.1;
const sizeY = Math.abs(wall.end.y - wall.start.y) || 0.1;
const sizeX = Math.abs(wall.end.x - wall.start.x) || 0.03;
const sizeY = Math.abs(wall.end.y - wall.start.y) || 0.03;
// height
const sizeZ = 3.0;

Expand Down

0 comments on commit 40518a8

Please sign in to comment.