Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| mobile_vehicule [2016/02/19 12:57] – [Connections] nfave | mobile_vehicule [2026/10/22 23:03] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| The arm must be connected to a computer using a Linux Operating System. The project also needs [[ROS]] installed with the Indigo distro. | The arm must be connected to a computer using a Linux Operating System. The project also needs [[ROS]] installed with the Indigo distro. | ||
| - | You must also install the openni_tracker_modified package [[OpenniTrackerModified]] with the driver for the kinect | + | You must also install the openni_tracker_modified package [[OpenniTrackerModified]] with the driver for the kinect LinkToDriver and the rosserial_arduino package http:// |
| - | To finish, you have to install the last version of the [[arduino|Arduino IDE]] on your computer https:// | + | To finish, you have to install the version |
| ===== Connections ===== | ===== Connections ===== | ||
| + | |||
| + | ====Encoders connections==== | ||
| {{: | {{: | ||
| + | |||
| + | ====Motors connections==== | ||
| {{: | {{: | ||
| Line 25: | Line 29: | ||
| ===== Instructions ===== | ===== Instructions ===== | ||
| - | To translate | + | |
| - | + | - Open a console and enter the command "roscore" | |
| - | | + | - Open a new console and enter the command "rosrun rosserial_python serial_node.py / |
| - | - Ouvrez un autre terminal et lancer la commande | + | - [...] |
| - | - Ouvrez un autre terminal et lancer la commande | + | - Supply the platform with a 12V supplier |
| - | - Ouvrez un autre terminal, lancez la commande source ~/ | + | - Do the Psi pose in front of the kinect, |
| - | - Dans ce même terminal, lancez la commande rosrun openni_tracker_modified openni_tracker_modified | + | - When you move away from the robot, the robot will follow you. Inversely, when you get closer to the robot, |
| - | - Faites la pose Psi devant la kinect, | + | - If you want to debug the program, there is a Ros topic used by the platform to give indications of what it is doing. In order to listen this topic, open a new console and enter the command rostopic echo /chatter |
| - | - En vous éloignant ou en vous rapprochant de la kinect, cela doit activer ou non les moteurs du robot. | + | |
| - | - Vous pouvez observer les topics torsoPosition et chatter pour connaitre votre position selon l point de vu de la kinect ou du robot. Pour cela, lancer dans un autre teminal la commande rostopic echo <nom de votre topic> | + | |
| - | + | ||
| - | + | ||
| - | Modification du code openni_tracker_modified (kinect) | + | |
| - | + | ||
| - | - Allez dans le repertoire ~/ | + | |
| - | - Il faut ensuite dans un terminal faire la commande source ~/ | + | |
| + | ===== Known problems ===== | ||
| - | Modification du code arduino (robot) | + | - When you are uploading the code on the arsuino Due, be sure to have stop the rosserial_python process. |
| - | | + | - If the wheels are turning in the bad way, are too fast or are trembling, check the connections of the motors supply |
| - | - Vérifier que la carte est la bonne (arduino due) ansi que le port (arduino due programing port) | + | |
| - | - Vérifiez puis téléverser le code | + | |
| ===== Source Code ===== | ===== Source Code ===== | ||