Visual Studio Code ROS Extension - Season 1 Episode 5 - Debugging Python

preview_player
Показать описание
In this video, I cover setting up the Visual Studio Code ROS extension for debugging both a single python node as well as multiple python nodes.
Рекомендации по теме
Комментарии
Автор

Thanks for your detailed explain. This is the first time I managed to debug multiple nodes in ROS and the experience is just amazing!

tx
Автор

Lou thanks so much for this series. It's going to make getting this running smoothly so much more likely. Subbed for more.

rossmurphy
Автор

this video has become a staple at my internship 😆

danialdunson
Автор

Thanks! It's a masterpiece, it helped me a lot!

daffercoll
Автор

Hi! Great package, I find it really helpful and the videos are great and very informative.
I have one problem though, when I put a breakpoint in callback function (from subscriber), the program does not stop. Any help on that issue? Is it not possible to place breakpoint inside callback functions?

jey_dee
Автор

Hello. Thanks a lot for this amazing series explainging the entire process.

I tried the same instructions with the C++ beginner tutorials, and when i place multiple breakpoints in talker and listener, it only is able to iterate over the talker node. Even if i select the listener from the drop-down menu as you showed, the moment I press F10, it just jumps back to the talker code.

Unless of course if I do not place any breakpoints in the talker code before beginning launching the debug process. In that case I am able to iterate over the listener node.

shrinivasiyengar
Автор

Very Helpful!
I'm using Ros melodic and i was going crazy becuase it was not working. I found out that the interpreter of melodic is Python 2.7 and the VS Python extension doesn't support debug with Python 2.7 anymore, so you need to install v2022.2.1924.

robertoestrella
Автор

Hi thank you very much for this video. Does this tutorial apply also for ROS2?

SbAlmagro
Автор

Thank you for the great video. Do we really need to start a node from a launch file to be able to debug it? I tried to debug a node after starting it with rosrun but it didn't work. It used to work in the past I believe.

kalucardable
Автор

Hello,
I got a problem, when I create the launch.json file, I cant select any package.
But the package exists.
I use Ubuntu 20.04 and ROS noetic

adrianbrockerbaum
Автор

Is there a way to do this for ROS2 python launch files? Is it roughly the same?

jeremyadams
Автор

I got an error in the "launch.json" file. it says that in the "lanuch" tag(line 11) it expect array.
(the original error message: "Incorrect type. Expected "array".")

The debugger ran correctly but I just affraid something mind break one day XD.
Can you help me find out what is going on? Thank you~
(I'm using ubuntu20.04 and noetic. )

benlee
visit shbcf.ru