Initial BT tutorial#141
Conversation
I think this tutorial, of any, should be more in the weeds since this is genuinely a new concept to most in robotics so very few will even know the vocabulary we're using.
These are good, take some groot screen shots or use the BT visualization script in Reviewing now for more detailed commentary... |
SteveMacenski
left a comment
There was a problem hiding this comment.
I think there should be a bit more organization, but this looks good. So far the document is mostly just walking through the existing BT but I get that your intent is to work from there to modify it to use a specific path below. I think you should continue working on this and we can figure out how to organize the pages later (might make sense to move the BT explanation into a subpage in concepts and then this builds from that or something - either way, work on it here and we can figure it out later)
Co-authored-by: Steve Macenski <stevenmacenski@gmail.com>
* adding reference to the getting started guide * fixed xml indentation * adding images, test to see how it renders * fixing XML, and BT rendering * adding overview of custom BT nodes * added pictures for pipeline sequence * fixed typos on image, and guide * added recovery node explaination * addding round robin explaination
|
Just merged in something that walks through the custom BT nodes, wanted to push it here and make sure it renders properly before I go through and re-edit the Does this new page (https://navigation.ros.org/behavior_trees/index.html) change the direction of this PR / this section I am about to go and edit? I think it does, we will have a bit more duplicate ideas |
|
Additionally, need some advice on how to get these images rendering nicely / professionally. (Currently just using a paint program to slap the labels “(running), (idle), (failure)” etc. I will focus on this issue last, the images for now can serve as a “sketch” of what the end product would be .. but I cannot imagine it being this in the final version. The Groot trees took a lot of manual manipulation to get into an aspect ratio that would look good on the webpage so I used the bt2img utility. |
|
can you give an example? I think how we've done it elsewhere is visualizing the behavior trees using Groot / that script you mentioned. |
Here is the latest build which has those trees: https://714-240847415-gh.circle-artifacts.com/0/html/tutorials/docs/custom_behavior_tree.html Right now these are generated using the bt2img.py utility but manually marked up in a paint program for labels. |
|
I think the python script does a reasonable job at making the tutorial-ready tree. I might add the state on top of the BT node rather than overlapping/below so that its not overlapping in the box itself. Another option would be putting a border around the BT nodes rather than the |
|
@SteveMacenski I have significantly edited this now to address your first round of comments, and I think it is worth another round of review from you before I move on to the "custom" portion of the tutorial. |
There was a problem hiding this comment.
Overall, much better! Much smaller comments and alot fewer of them. This is a really great resource on the BTs of Nav2 and I super appreciate your attention to detail on this. It will help alot of folks!
I think the Bt node explanation section should be spun out as another page under the behavior trees section https://navigation.ros.org/behavior_trees/index.html of the site as an independent page.
Co-authored-by: Steve Macenski <stevenmacenski@gmail.com>
* adding documentation for nav through poses PR * adding new params for nav through poses
|
Hey! Just touching base on this |
|
Hey @SteveMacenski , I apologize this slipped. I believe I have addressed everything else so far, except I just posed some discussion for the I suggest that we punt the "custom BT" portion of the tutorial to a separate PR so we can at least get the work we did thus far released, as I am afraid I cannot predict a timeline for the other "custom BT" portion of this ticket. If you agree, I can remove all reference to the "custom BT" part of the tutorial and we can pick that up at a separate time / someone else could pick it up if they so choose. |
Starting this PR to spark initial conversation and gather initial feedback.
Looking for initial feedback here for the BT tutorial. I have yet to go about and add the "custom BT" portion of the tutorial, but have so far covered the existing
navigate_w_replanning_and_recovery.xmldefault BT.Few concerns here: