Skip to content

Commit

Permalink
Merge pull request #1667 from CPFL/feature/vehicle_lamp_cmd
Browse files Browse the repository at this point in the history
Add lamp field to csv command
  • Loading branch information
aohsato authored Oct 31, 2018
2 parents 17441ad + fa75bde commit 592be63
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ static void *sendCommand(void *arg)
oss << command_data.brakeValue << ",";
oss << command_data.steerValue << ",";
oss << command_data.linear_velocity << ",";
oss << command_data.steering_angle;
oss << command_data.steering_angle << ",";
oss << command_data.lampValue;

std::string cmd(oss.str());
ssize_t n = write(client_sock, cmd.c_str(), cmd.size());
Expand Down

0 comments on commit 592be63

Please sign in to comment.