Skip to content

Commit

Permalink
Add lamp field to csv command
Browse files Browse the repository at this point in the history
  • Loading branch information
aohsato committed Oct 30, 2018
1 parent 17441ad commit fa75bde
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 fa75bde

Please sign in to comment.