Skip to content

Commit

Permalink
Apply code format
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat committed Mar 25, 2024
1 parent 9d50586 commit 8c00473
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/ypspur_ros.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -641,10 +641,13 @@ class YpspurRosNode
{
std::vector<std::string> args =
{
ypspur_bin_,
"-d", port_,
"--admask", ad_mask,
"--msq-key", std::to_string(key_)
ypspur_bin_,
"-d",
port_,
"--admask",
ad_mask,
"--msq-key",
std::to_string(key_),
};
if (digital_input_enable_)
args.push_back(std::string("--enable-get-digital-io"));
Expand Down Expand Up @@ -1038,7 +1041,6 @@ class YpspurRosNode
previous_joints_stamp_ = joint.header.stamp;
}


for (unsigned int i = 0; i < joints_.size(); i++)
{
joint_trans[i].transform.rotation = tf2::toMsg(tf2::Quaternion(z_axis_, joint.position[i]));
Expand Down

0 comments on commit 8c00473

Please sign in to comment.