wilselby / diy_driverless_car_ROS

ROS packages for DIY driverless car/autonomous vehicle development
BSD 2-Clause "Simplified" License
107 stars 57 forks source link

What am i doing wrong? #4

Open Wearwolfy opened 4 years ago

Wearwolfy commented 4 years ago

I am trying to run the lane detection conde simulation but I can't get it to work? Do you know what I am doing wrong? I am running it on Ros melodic and Ubuntu 18.04 on a vm. image

wilselby commented 4 years ago

It's looking for the ouster_description package. get that here: https://github.com/wilselby/ouster_example/tree/master/ouster_description

saitejaallam commented 4 years ago

I am trying to clone this package https://github.com/wilselby/diy_driverless_car_ROS.git and build the package but I am unable to do so which says unable to find two different packages named _yocs_cmd_velmux and _ecl_exceptions._ . Please help me the best way to clone this package with all the required dependencies.

wilselby commented 4 years ago

Clone these if they aren't in the apt-repo https://github.com/yujinrobot/yujin_ocs/tree/devel/yocs_cmd_vel_mux https://github.com/stonier/ecl_core/tree/devel/ecl_exceptions

saitejaallam commented 4 years ago

I have cloned these two packages as well but after cloning these packages I am unable to build the packages. It shows an error "Packages with unknown build type exists. Can not build workspace with packages of unknown build_type" .Please help me if I am missing something while cloning all these packages.

ankitcivic commented 4 years ago

running this code $ python rosbag_to_csv.py -o output/walker/ -i data/walker/ is giving me ERROR: ['/racecar/ackermann_cmd_mux/output', '/img_node/intensity_image'] Can you tell me where am I going wrong?

snbagkar commented 4 years ago

While running drive_model.py node on python 2.7 it throws an error of " Require Tensorflow 2.2 or greater". For Tensorflow 2.2 it requires python 3 but python 3 does not support ROS. What can be done in this case?

Praj390 commented 4 years ago

running this code $ python rosbag_to_csv.py -o output/walker/ -i data/walker/ is giving me ERROR: ['/racecar/ackermann_cmd_mux/output', '/img_node/intensity_image'] Can you tell me where am I going wrong?

Any solution for this? I am getting the same error.

wilselby commented 4 years ago

Does the ROS .bag file have those topics in it?

Praj390 commented 4 years ago

When I use rosbag info, i get this info Screenshot from 2020-10-22 20-38-35

It looks like there is no topic '/img_node/intensity_image'. Also, when I see the rostopic list, there is no such topic there. Should I change the topic to ' /openmv_cam/image/raw ' in bagutils.py file? or is there any other way?

wilselby commented 4 years ago

Can you post the output when you change the camera topic to the ' /openmv_cam/image/raw ' topic? It's also odd it complained about the '/racecar/ackermann_cmd_mux/output' topic since that looks like it's in your bag. Is the bag file in the right directory of the command line argument?

Praj390 commented 4 years ago

The problem is solved. The solution is to change the topics in bagutils.py files and the path is given. I changed that path to an absolute path and it worked. I don't know but the relative path was not working.