Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit 48c28f4e authored by jad's avatar jad

readme in progress

parent e862bede
......@@ -140,4 +140,15 @@ self.newSeq.get_publ() #returns the published varibale
```
The Value passed to the Sequence Object is the mode that when received on the topic ```/mode``` , this sequence should run.
After that create a function that will be called when the mode is received , add it to the ```enter_loop``` function.
```python
def enter_loop(self,ros_data):
########code##############
if(self.mode == self.newSeq.get_mode()):
self.new_seq_func()
```
And now it is up to you in your function to write the sequence you want .
For better results, see how the old sequences are made, like the doors sequence for example.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment