Skip to content

Repository for the new design of network-based driving code. It will contain an abstraction so that the network execution and driving code will be kept separate from the respective hardware code. That way new hardware implementations, for the model car, real car or simulated car, can be easily added. The new model car code will also be included …

bddmodelcar/ModelBasedDriving

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to start program:

  1. Compile (if needed): catkin_make
  2. source ./devel/setup.bash
  3. roslaunch bdd bdd.launch

How to install ZED Camera Wrapper for ROS

  1. Download ZED SDK for TX1 (or TX2)
  2. Find the downloaded .run file in Downloads folder and make it executable using chmod +x
  3. Run it using ./ZED_SDK_LINUX_JTX1_JP...
  4. Accept all installation options
  5. Follow other instruction for downloading and installing ZED ROS wrapper.
  6. Execute catkin_make zed-ros-wrapper in your catkin directory
  7. source ./devel/setup.bash
  8. The wrapper ends up being a git repo so you can do git pull to update it.

Mandatory:

  1. Add to .bashrc the following: export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages in order to run the ROS nodes
  2. Nodes must be executable to work: make nodes executable using chmod +x <file_name>.py and by adding this at the top of the .py file: #!/usr/bin/env python

Helpful Tips / Troubleshooting:

  1. source devel/setup.bash
  2. ROS's built-in sensor_msgs package defines messages for commonly used sensors. The ZED camera uses Image.msg message type when publishing images. Its implementation can be found using roscd sensor_msgs/msg
  3. Settings for the ZED camera are found at zed.launch, and the launch file(s) it includes. Also be sure to read its READMEs which are at multiple places in its directory tree.
  4. When connecting the flash drive used for storing log files, it mounts itself at /media/nvidia/rosbags
  5. Make sure correct path to Arduino is set in params file
  6. If Driver.py fails, check the RAM usage in System Monitor. You may be running out of RAM. Try closing some RAM-intensive applications such as Google Chrome.

About

Repository for the new design of network-based driving code. It will contain an abstraction so that the network execution and driving code will be kept separate from the respective hardware code. That way new hardware implementations, for the model car, real car or simulated car, can be easily added. The new model car code will also be included …

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published