To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 1351003a authored by Tobias's avatar Tobias
Browse files

try the rosbag debuggin

parent b4a2a299
......@@ -563,7 +563,7 @@ void centralized_control_command( Controller::Request &request, Controller::Resp
std_msgs::Float32 est_i;
est_i.data = estimator_state_prev(i) ;
std::string topic = "Estimator_" + i;
std::string topic = "Estimator_" + std::to_string(i);
bag.write(topic,ros::Time::now(),est_i);
}
......@@ -1888,6 +1888,7 @@ int main(int argc, char* argv[]) {
std::string record_file = package_path + "inputs.bag";
bag_input.open(record_file, rosbag::bagmode::Write);*/
// Enter an endless while loop to keep the node alive.
ros::spin();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment