Commit c7a86639 authored by Lennart Bucher's avatar Lennart Bucher


parent 65dc05e6
Pipeline #148389 passed with stage
in 1 minute and 19 seconds
......@@ -10,15 +10,15 @@ Steps to build a component:
* 6.) after successfull compiling the generated code switch to install/bin directory (**cd install/bin/**)
* 7.) execute Coordinator_<model-package>_<component-name> (here it's **./Coordinator_test_bumpBot** or **./Coordinator_test_collisionDetection**)
## Wie Bringe ich das auto zum Fahren und lese den collision sensor aus?
## Wie bringe ich das Auto zum Fahren und lese den Kollisionssensor aus?
Carla Starten
Unter PythonAPI/examples: `python --rolename=ego_vehicle`
Zum Starten des Containers in den Ordner des Projektes (hier ein ausgechecktes Verzeichnis BumbBot_test) gehen:
`docker run -it --name emam2carla --rm -v $(pwd):/usr/src/project`
Dann in einem neuen Terminal um das Auto fahren zu lassen:
`docker exec -it emam2carla /bin/bash -c 'source /opt/ros/kinetic/setup.bash && cd /usr/src/project/ && java -jar ../mw-generator.jar valid.json && target/ && build/test_bumpBot/coordinator/Coordinator_test_bumpBot'`
Um den Collision Sensor auszulesen in einem neuen Terminal:
`docker exec -it emam2carla /bin/bash -c 'source /opt/ros/kinetic/setup.bash && source opt/carla-ros-bridge/devel/setup.bash && rostopic echo /carla/ego_vehicle/collision'`
\ No newline at end of file
`docker/` und darin `rostopic echo /carla/ego_vehicle/collision`
\ No newline at end of file
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