Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I found that "cout" is not outputting content to the terminal. What should I do? #29

Open
littleBillGates opened this issue Oct 9, 2024 · 1 comment

Comments

@littleBillGates
Copy link

littleBillGates commented Oct 9, 2024

I found that "cout" is not outputting content to the terminal. What should I do?

@littleBillGates littleBillGates changed the title I found that cout is not outputting content to the terminal. What should I do? I found that "cout" is not outputting content to the terminal. What should I do? Oct 9, 2024
@Zager-Zhang
Copy link
Member

Zager-Zhang commented Nov 8, 2024

Certainly.

This is the original XML code (swarm_exploration/exploration_manager/launch/single_drone_exploration.xml):

<node pkg="exploration_manager" name="exploration_node_$(arg drone_id)" type="exploration_node" output="log">

To change the output from "log" to "screen", you would modify the output attribute:

<node pkg="exploration_manager" name="exploration_node_$(arg drone_id)" type="exploration_node" output="screen">

This modification will redirect the output of the exploration_node from a log file to the console. @littleBillGates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants