micro-ROS / micro-ROS/micro-ROS-demos
Demo similar to multithread_publisher_subscriber from rclc but in Zephyr. Multithreading not working as espected.
Nessuno ha ancora preso questa issue.
- Lingua principale
- C
- Stelle
- 101
- Fork
- 35
- Merge medio
- 4g 16h
- PR unite (30g)
- 3
Descrizione
Issue template
- Hardware description: Olimex STM32-E407
- RTOS: Zephyr
- Installation type: -
- Version or commit hash: -
Steps to reproduce the issue
Install Micro-Ros like in the Tutorial: Tutorial Micro-ROS and Zephyr
Then add this App from this Repository: Micro-ROS and Zephyr
If that is run It will publish 2 numbers from 2 threads. The main thread and the second created thread.
But if the publisher in the main thread is commented out. Also, the second thread will not publish anymore.
Is that wanted behavior or am I doing something wrong?
Expected behavior
Multithreaded Threads can publish their publishers
Actual behavior
Multithreaded Threads only publish if the main thread is publishing.
Additional information
I also tried it with a timer, then the second thread will publish only if the timer is used and in the same time interval.
I want to use Micro-ROS multithreaded to give some threads a higher priority than others. One more question to that would be if it is possible to start multiple apps in Zephyr? something like:
ros2 run micro_ros_setup configure_firmware.sh ping_pong ping_pong2 --transport serial-usb
This command would not work but is there a way to run 2 apps?
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con il tutorial di Zephyr e con l’applicazione Micro-ROS e Zephyr a cui si fa riferimento, quindi confronta la sua configurazione del publisher con due thread con la demo rclc multithread_publisher_subscriber. Riproduci il comportamento su Olimex STM32-E407 e determina se sono supportati la pubblicazione indipendente da thread e l’esecuzione di più app; documenta il comportamento confermato e le modifiche o limitazioni necessarie.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- c
- Ambito
- embedded-iot, operating-systems
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100