-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Able to remove from List and shows in real time
- Loading branch information
Showing
12 changed files
with
64 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { writable } from 'svelte/store'; | ||
|
||
export const behaviour_tree_xml_code = writable(""); | ||
|
||
export const show_behaviour_tree_save_modal = writable(false); | ||
export const behaviour_tree_save_modal_code = writable(""); | ||
|
||
export let behaviour_tree_list = writable([]); | ||
|
||
async function main() { | ||
behaviour_tree_list.set(await api.getBehaviourTreeList()); | ||
} | ||
|
||
main(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<BehaviourTree> | ||
<Root> | ||
<Selector> | ||
<Sequence> | ||
<Condition:SuccessOnAverageNearbyScan min_angle="45" max_angle="135" cm="33"/> | ||
<Action:SetWheelDirection direction_type="Backward" wheel_type="Both"/> | ||
<Action:SetSpeed speed="50" wheel_type="Both"/> | ||
<Action:SetAngle angle="270" servo_type="FrontWheels"/> | ||
</Sequence> | ||
<Sequence> | ||
<Action:SetWheelDirection direction_type="Forward" wheel_type="Both"/> | ||
<Action:SetSpeed speed="30" wheel_type="Both"/> | ||
</Sequence> | ||
</Selector> | ||
</Root> | ||
</BehaviourTree> |