Skip to content

Commit

Permalink
Merge pull request #484 from kipr/create2-rotation
Browse files Browse the repository at this point in the history
Create 2 rotation changes
  • Loading branch information
tcorbly authored Feb 22, 2024
2 parents 86b0966 + cbde10c commit 0b93557
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/simulator/babylonBindings/RobotBinding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ class RobotBinding {
const newOriginE = RawEuler.fromQuaternion(rawOrigin.orientation);
const Robot_OriginE = RawEuler.fromQuaternion(rawInternalOrigin.orientation);

const default_offset = -1 * Math.PI / 2;
const default_offset = 0; // -1 * Math.PI / 2;


const UpdatedEulerOrigin = RawEuler.create(
Expand Down
2 changes: 1 addition & 1 deletion src/simulator/definitions/robots/createbot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,6 @@ export const CREATEBOT: Robot = {
},
origin: {
position: Vector3wUnits.meters(0, 0.5, 0),
orientation: RotationwUnits.eulerDegrees(0, 0, 90),
orientation: RotationwUnits.eulerDegrees(0, 0, 45),
}
};
2 changes: 1 addition & 1 deletion src/simulator/definitions/scenes/jbcBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Dict from '../../../util/objectOps/Dict';

const ROBOT_ORIGIN: ReferenceFramewUnits = {
position: Vector3wUnits.centimeters(0, 0, 0),
orientation: RotationwUnits.eulerDegrees(0, 0, 0),
orientation: RotationwUnits.eulerDegrees(0, -45, 0),
};

const ROBOT: Node.Robot = {
Expand Down

0 comments on commit 0b93557

Please sign in to comment.