Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional Behavior Server Primitives #2888

Closed
3 of 5 tasks
SteveMacenski opened this issue Apr 4, 2022 · 8 comments
Closed
3 of 5 tasks

Additional Behavior Server Primitives #2888

SteveMacenski opened this issue Apr 4, 2022 · 8 comments

Comments

@SteveMacenski
Copy link
Member

SteveMacenski commented Apr 4, 2022

Perhaps provide some basic behaviors like

  • rotate to sp. heading
  • Drive on heading for X distance (recommission backup plugin)
  • assisted teleop
  • Wiggle (or concat 3 spins) -N deg, +2N deg, -N deg to wiggle back to the original orientation
  • Back out of recent buffer of commands bc bad situation as recovery, then retry with another algo - or backward potential field
This was referenced Apr 7, 2022
@sathak93
Copy link
Contributor

sathak93 commented Apr 17, 2022

@SteveMacenski i like to try on rotate to specific heading behaviour. could you elaborate on it.?

@SteveMacenski
Copy link
Member Author

SteveMacenski commented Apr 18, 2022

It would be

  • Making a behavior to have the robot rotate to a desired relative heading (e.g. +90 or -90 from current orientation)
  • Making a BT node for use of that behavior
  • Adding appropriate tests for both

When combined with drive on current heading, we should be able to make a BT of a robot driving in a square pattern combining them

@sathak93
Copy link
Contributor

@SteveMacenski Why cant we use spin behaviour for this? Spin can rotate the robot to particular degree from current pose.

@SteveMacenski
Copy link
Member Author

SteveMacenski commented Apr 19, 2022

It probably can be, just needs to be rescoped potentially

@jwallace42
Copy link
Contributor

jwallace42 commented Apr 20, 2022

I think adding a BT node for spin without increasing the recovery counter would be useful. I don't think we would need to change anything else.

@SteveMacenski
Copy link
Member Author

Maybe a similar analog to your backup --> drive on heading conversion?

@jwallace42
Copy link
Contributor

jwallace42 commented Apr 21, 2022

The changes for the drive on heading added the ability to drive forward and retained the backup action.

I don't think there is any new functionality that we would need to support(I might be missing something though!).

@SteveMacenski
Copy link
Member Author

The wiggle behavior can be made by concatenating the spins in the BT with a sequence node. The backout of buffer of commands should be worked on in response to a specific issue. Else, we may prefer to instead have a simple trajectory planner that tries to move a robot into free space instead as a recovery with potential field methods.

Either way, its something to be readdressed when the need arises. Assisted teleop is covered by another ticket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants