Monash-Connected-Autonomous-Vehicle / ESDA

Software stack for MCAVs annual IGVC entry
0 stars 0 forks source link

[DOCS] Complete ROSINFO.md #67

Open AbBaSaMo opened 3 months ago

AbBaSaMo commented 3 months ago

Overview

The ROSINFO file documents all the topic names we use and the message types they output so that it is easy for members to understand what different components are doing. Thus, it is important to keep this up to date.

Relevant resources

Sample table detailing what is expected to be filled

Acceptance criteria

Todo

nathan-sm commented 1 month ago

@Jiawei-Liao I couldnt find the Alienware laptop so I had a crack at completing the task on the Beast. However after setting up ROS and searching for the topic list I could only find 'parameter_events' and 'rosout'. Even after trying to run individual packages/topics, terminal says the packages do not exist in the /opt/ros/humble tree. Note I am logged into mcav-fyp account as it was the only one available on the beast, not sure if there is another account im meant to be working out of. Any help on how to properly set up ROS and the ros workspace so i can find relevant topics and packages would be great, and I can try get it done before the meeting today.

Jiawei-Liao commented 1 month ago

The topics of 'parameter_events' and 'rosout' are just used for ROS itself to manage the systems. They appear even if you don't have any nodes running.

Is the stack built on the beast? if so you might need to also source install/setup.bash. I'm not sure if the nodes in the stack work without the hardware plugged in.

If its not built, try following the steps in the readme.

nathan-sm commented 1 month ago

Devices needed:

Jiawei-Liao commented 1 month ago

I just realised that in the readme theres some instructions on how to setup the velodyne lidar:

Refer to the Velodyne LiDAR User Manual and/or YouTube setup guide on further instructions on configuring the LiDAR

Hopefully these can help

nathan-sm commented 1 month ago

Working session 18/09:

Once we can get the packages to properly launch, it should be pretty straight froward to get the topic info including objctive and nodes interacting, however we cannot seem to set up the ROS environment correctly that allows for the packages to be launched. Would be good if we could work on this during Thursday meeting with someone who is more familiar with ROS and existing esda framework.

NOTE: All work was done on Alienware Laptop.

Yousouf-Palitanawala commented 1 month ago
Jiawei-Liao commented 3 weeks ago

ask UA @dtonda8 @ZileiChen on how to get the lidar to work

dtonda8 commented 3 weeks ago

Our setup for the twizy/van:

To launch LiDar:

source /opt/ros/humble/setup.bash
ros2 launch velodyne velodyne-all-nodes-VLP16-launch.py 

It is also possible to connect the VLP 16 directly to the computer. MCAV notion also has a debug page for common errors (e.g. Velodyne poll() timeout)

I'll be on campus (maybe) tomorrow evening and (maybe) next week Monday, dm me or Zilei if you need assistance and we can meet up.

Rikidink commented 3 weeks ago

Got the web interface for the VLP 16 working. Was checking the data sent with wireshark and for some reason the route for the interface was 192.168.10.201 instead of the default 192.168.1.201. Solution is to just change the port address to match the subnet.

So instead of setting the port to 192.168.1.XXX you have to set it to 192.168.10.XXX:

# Assign IP to the ethernet port in 192.168.10.XXX range, I'm using 77 here
# (also assuming the ethernet interface is called eth0)
sudo ifconfig eth0 192.168.10.77

# Add static route to LIDAR's IP address:
sudo route add 192.168.10.201 dev eth0