Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/device.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ void Device::setRobotRootPosition(const std::string& rn, const Transform3s& t) {

Transform3s shift(t * rootFrame.placement.inverse());
// Find all the frames that have the same parent joint.
for (std::size_t i = 1; i < idxs.size(); ++i) {
for (std::size_t i = 0; i < idxs.size(); ++i) {
Frame& frame = m.frames[idxs[i]];
if (frame.parent == rootFrame.parent) {
// frame is between rootFrame and next moving joints.
Expand Down