Teleop controls outside of Formant #24
mattanimation
started this conversation in
Ideas & Requests
Replies: 1 comment
-
Hey - thanks for sharing this and sorry for the delay in responding. That's a great idea about putting those API commands into the Swagger docs. We'll add that to our list! Re:Python app the intention right now is to have that as simple of a demonstration as possible right now, which is why we're keeping that codebase pretty bare bones. That being said, a great thing to build out could be a trigger in the Python app that you could click to bring up Formant's Operate view (so that you can jump into teleop when you get stuck). That, and we'll continue to improve our planner to make it harder to get stuck! |
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
There were a few times I noticed I could get stuck and realized if I hadn't had Formant up, I would have been pretty much stuck. Here are a couple of examples.
First time
I drove into the solar field

Sent a goal to the other side of the orchard

got stuck


I needed to teleop out of the local minimum.
Second time
So then I sent the goal again, this time when there should have been a more clear path to the goal.
indeed the path was clear, but a little too straight forward.

got stuck again. the lidar seemed to see something as well. 🤷♂️ 👻 ?


I realized at this point that given the current front end in python there would have been no to to get un-stuck (from what I could tell). so I checked the API docs and noticed there were no POST commands for sending teleop... UNTIL I downloaded the
openapi.json
file and saw that there were some endpoints, but they didn't show up in the docs in Formant.so after having fun playing with things, my suggestion would be either to add controls for manual drive to the python side using the API or at least having those be exposed in the Swagger docs.
Beta Was this translation helpful? Give feedback.
All reactions