ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

My project does not work when run more than once (Jetson Nano Orin)

asked 2023-07-20 08:55:18 -0500

furkan_ gravatar image

updated 2023-07-25 04:27:41 -0500

I installed ROS on my Jetson nano orin system. Then I added my existing project. My project works on first boot. But when I turn it off and run it a second time, it doesn't work. I didn't make any changes anywhere. What could be the reason?

[Edit]

I noticed this. After a certain period of time, the data starts to come. But the lidar data behaves like in the video. Likewise, sometimes camera data.

edit retag flag offensive close merge delete

Comments

I don't understand what you mean by "turn it off". What is "it"? Please tell us exactly what you do.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2023-07-22 09:23:09 -0500 )edit

I run the launch file with the "roslaunch" command. Then, when I end the program with "Ctrl+C" and run it again, my lidar data camera data that I got in the first run in the RVIZ environment does not come in the second run.Or sometimes all the data is coming. But some data constantly comes and goes in the RVIZ environment. For example, Lidar data

furkan_ gravatar image furkan_  ( 2023-07-24 00:19:25 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-07-24 08:07:21 -0500

Mike Scheutzow gravatar image

You need to make sure all of your ros nodes have actually stopped executing before you run roslaunch again. Ctrl-C does not always stop everything. You can use the ps -ef command to see what processes are running. You can use the kill command to stop any unwanted processes you find.

edit flag offensive delete link more

Comments

Unfortunately, it didn't work even though I did what you said :(

furkan_ gravatar image furkan_  ( 2023-07-24 09:47:06 -0500 )edit

I noticed this. After a certain period of time, the data starts to come. But the lidar data behaves like in the video. Likewise, sometimes camera data.

furkan_ gravatar image furkan_  ( 2023-07-25 04:22:05 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2023-07-20 08:55:18 -0500

Seen: 77 times

Last updated: Jul 25 '23