Skip to content

Commit

Permalink
Create 2 rotation changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tcorbly committed Feb 22, 2024
1 parent 86b0966 commit cbde10c
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 cbde10c

Please sign in to comment.