Add groot2 tutorial#645
Conversation
|
So if you build my docs, you will see that the Groot2 figures have the wrong numbering. |
| | | :width: 180% | | ||
| | | | | ||
| | UI to describing new Nodes | The New Custom Node | | ||
| +--------------------------------------------------------------+--------------------------------------------------------------+ No newline at end of file |
There was a problem hiding this comment.
Can you add at the end the same as in Groot 1 as:
Before starting to create a new BT based on the new custom nodes, it is recommend to export the newly created nodes to save in case of Groot crashing. This can be performed with the icon highlighted in green from [Figure 6](https://output.circle-artifacts.com/output/job/e1bbcc55-9a1f-4246-8359-f48dd32bdd87/artifacts/0/html/tutorials/docs/using_groot.html#groot-export-new-node). The resulting XML output from the node created in [Figure 5](https://output.circle-artifacts.com/output/job/e1bbcc55-9a1f-4246-8359-f48dd32bdd87/artifacts/0/html/tutorials/docs/using_groot.html#groot-interactive-node-creation) can be seen below. You can see more examples in [Nav2’s BT Node Palette XML](https://github.com/ros-navigation/navigation2/blob/main/nav2_behavior_tree/nav2_tree_nodes.xml).
There was a problem hiding this comment.
I couldn’t find the export button in Groot2—could you help me check if it actually exists?
There was a problem hiding this comment.
I honestly don't know; I haven't used Groot2 :-) @facontidavide can you help answer this question for adding a Groot2 tutorial?
|
@mini-1235 I'm not sure either, but I found that you used The tutorial would need to be adjusted to not rely as much on referencing specific image numbers, however. Edit: ChatGPT recommends uncommenting and adjusting Line 164 in 73fb3aa ()). See if that works! It will reset the numbering of figures on the section and subsection, respectively. I'm not sure which is right, so worth just quickly testing both. Find where else .. figure is used and check that those are OK too, but I suspect the the groot 1 tutorial is the only place that they are used
|
|
Sorry for the late response here, I was very busy last week.
I have tried this actually, it doesn't work, so maybe I should use |
|
Agreed! |
Signed-off-by: Maurice-1235 <mauricepurnawan@gmail.com>
Signed-off-by: Maurice-1235 <mauricepurnawan@gmail.com>
Signed-off-by: Maurice-1235 <mauricepurnawan@gmail.com>
Signed-off-by: Maurice-1235 <mauricepurnawan@gmail.com>
Signed-off-by: Maurice-1235 <mauricepurnawan@gmail.com>
I think this is the last thing before this can be merged. @facontidavide how do you export BTs in Groot 2? |
|
I spent more time to try Groot2 today, and it seems that exporting a single node described in the Groot (1) tutorial is not directly supported.
Do you want me to add this to the Groot2 tutorial? 😄 @SteveMacenski |
|
I think you could show how to export a tree in general and I'd be happy with that to close this up and merge it (doesn't need to be specific about a custom node, just show how to export a tree in general after they're done). I think that meets the intent that this served in the original document anyway! |
Signed-off-by: Maurice-1235 <mauricepurnawan@gmail.com>

Mostly copied from the Groot(1) tutorial, but I have deleted some contents that are only showing Groot(1), I have also added some contents as well as the screenshots for Groot2