while building the cslam package with colcon build, I received the above mentioned error (see screenshot).
After a quick google I modified the code as follows:
In simulated_rendezvous.cpp line 20:
("Simulated rendezvous schedule of robot " + line).c_str()
instead of
"Simulated rendezvous schedule of robot " + line
And the same modification in decentralized_pgo.cpp line 539:
("Timeout: " + std::to_string(robot_id_)).c_str()
instead of
"Timeout: " + std::to_string(robot_id_)
I'm opening this issue, because maybe you're able to find a more elegant way to solve the problem.
Hi,
while building the cslam package with colcon build, I received the above mentioned error (see screenshot). After a quick google I modified the code as follows:
In simulated_rendezvous.cpp line 20:
("Simulated rendezvous schedule of robot " + line).c_str()
instead of"Simulated rendezvous schedule of robot " + line
And the same modification in decentralized_pgo.cpp line 539:
("Timeout: " + std::to_string(robot_id_)).c_str()
instead of"Timeout: " + std::to_string(robot_id_)
I'm opening this issue, because maybe you're able to find a more elegant way to solve the problem.