We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac9a0b6 commit b5cf377Copy full SHA for b5cf377
src/viam/sdk/components/private/arm_client.cpp
@@ -64,7 +64,7 @@ void ArmClient::move_through_joint_positions(const std::vector<std::vector<doubl
64
65
for (const std::vector<double>& pos : positions) {
66
viam::component::arm::v1::JointPositions jpos;
67
- *jpos.mutable_values() = {pos.begin(), pos.end()};
+ jpos.mutable_values()->Add(pos.begin(), pos.end());
68
request.mutable_positions()->Add(std::move(jpos));
69
}
70
})
0 commit comments