-
Notifications
You must be signed in to change notification settings - Fork 2
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
Build FSM runner #1
Comments
This seems really perfect for us. Someone should write a python file for our architecture. @ManashRaja Can some software guy be assigned to this? |
@ash-anand @amitpathak09 check the link here for help regarding implementation of FSM |
@ash-anand Copy paste all the discuss and the wiki and diagram here. |
Snippets from conversation on Slack.
|
1.Identifying bot is different state as there are currently 2 ways we are going to it 1. Simple Circle detection 2. YOLO learning based. We don't have enough computational power to run YOLO all the time so that state will also decide which one to use based on fps or some other criteria. |
@sam17 :
|
|
|
|
@ash-anand I did not understand that why identifying the bot state will decide if YOLO is to be used or not? That state is just supposed to point out which bot has to be attacked based on MAV's and ground bot's pose and twist right? |
@gauravgardi to know anything about the groundbots and point out the bots to take action on, first we need to detect them and get details about it's pose twist etc as you said.
Assuming we go with the 2nd option , it should be the job of Find State to do the switching when required. |
@ash-anand so it should be the job of find/scan state or if required a separate state and not the job of identify bot state. So identify bot state is only identifying which bot to attack based on MAV's and ground bots' pose and twist. So why is it a separate state and not a part of strategy state? |
@gauravgardi identifying bots shouldn't be done when quad is going to attack. It should be done before. Identify bot is not a state. Identifying bots comes under Find/ Scan state only. |
As I wrote in later reply I misunderstood. Also running bot prediction all the time with YOLO on it won't be very good on Pi. |
Ok I understood and will it be feasible on odroid? |
YOLO + bot detection upto 20+ layers together is capable of making my laptop crash. |
That would happen while training right? can't we use the parameters after training on any other machine and then run YOLO on odroid? |
Not during training, it happened during running the code for detection. |
Can I get link to YOLO code and its plan? |
@sam17 pjreddie.com/darknet/yolo/ |
@ash-anand we don't necessarily need to re-run the states once the interrupt is received. we can just publish commands on a topic to stop a state's output while it keep running in the background. also, let me know whether we can run the bot detection and tracking state at all times in any case and if we can keep detecting the obstacles at all times as sharp doesn't seem to be much useful. |
@amanchandra333 Which code are you talking about? |
@sam17 the python script for the state machine. |
@amanchandra333 the state machine diagram ash has drawn is just for reference for proceeding with the implementation. You can check whether your implementation is correct or not by matching the diagram generated by smach(which will be according to your implementation) with the diagram @ash-anand has drawn. |
@gauravgardi will be pushing it shortly after the endsems |
Look at smach - http://wiki.ros.org/smach for this.
The text was updated successfully, but these errors were encountered: