Commit 19975460 authored by Lennart Bucher's avatar Lennart Bucher

Update README.md

parent 9064ddc2
Pipeline #148290 passed with stage
in 1 minute and 10 seconds
......@@ -13,12 +13,12 @@ Steps to build a component:
## Wie Bringe ich das auto zum Fahren und lese den collision sensor aus?
Carla Starten
unter PythonAPI/examples: ```python manual_control.py --rolename=ego_vehicle'''
unter PythonAPI/examples: `python manual_control.py --rolename=ego_vehicle`
```docker run -it --rm -v $(pwd):/usr/src/project registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/carlacomponents/emam-carla-ros-bridge'''
`docker run -it --rm -v $(pwd):/usr/src/project registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/carlacomponents/emam-carla-ros-bridge`
Dann in einem neuen Terminal um das Auto fahren zu lassen mit angepasster ContainerID:
```docker exec -it 586a50f195d1 /bin/bash -c 'source /opt/ros/kinetic/setup.bash && cd /usr/src/project/ && java -jar ../mw-generator.jar valid.json && target/compile.sh && build/test_bumpBot/coordinator/Coordinator_test_bumpBot''''
`docker exec -it 586a50f195d1 /bin/bash -c 'source /opt/ros/kinetic/setup.bash && cd /usr/src/project/ && java -jar ../mw-generator.jar valid.json && target/compile.sh && build/test_bumpBot/coordinator/Coordinator_test_bumpBot'`
Um den Collision Sensor auszulesen in einem neuen Terminal:
```docker exec -it 586a50f195d1 /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 exec -it 586a50f195d1 /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
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