moodoki / iwr_raw_rosnode

ROS Node for capturing raw ADC readings from the TI-xWR1xxx radars with the DCA100EVM
https://publish.illinois.edu/radicaldata
Apache License 2.0
44 stars 11 forks source link

DCA connection issues #11

Open bjs3118 opened 1 year ago

bjs3118 commented 1 year ago

Hi I am getting a timeout error similar to a previous posted issue:

WARNING: Package name "mmWave" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes.
... logging to /home/husarion/.ros/log/689af2c6-47d9-11ee-a995-b5ec2f7939ea/roslaunch-husarion-2951.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://husarion:33015/

SUMMARY

PARAMETERS
 * /rosdistro: noetic
 * /rosversion: 1.15.14

NODES
  /
    xwr1xxx (mmWave/no_Qt.py)
    xwr1xxx_rd_viz (mmWave/fft_viz.py)

auto-starting new master
process[master]: started with pid [2960]
ROS_MASTER_URI=http://master:11311

setting /run_id to 689af2c6-47d9-11ee-a995-b5ec2f7939ea
WARNING: Package name "mmWave" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes.
process[rosout-1]: started with pid [2971]
started core service [/rosout]
process[xwr1xxx-2]: started with pid [2974]
process[xwr1xxx_rd_viz-3]: started with pid [2979]
SET UP DCA
3.8.10 (default, Jun 22 2022, 20:18:18)
[GCC 9.4.0]
timed out
timed out
timed out
timed out 

When I try and ping the DCA:

PING 192.168.33.180 (192.168.33.180) 56(84) bytes of data.
From 192.168.33.30 icmp_seq=1 Destination Host Unreachable
From 192.168.33.30 icmp_seq=2 Destination Host Unreachable
From 192.168.33.30 icmp_seq=3 Destination Host Unreachable
From 192.168.33.30 icmp_seq=4 Destination Host Unreachable
From 192.168.33.30 icmp_seq=5 Destination Host Unreachable
From 192.168.33.30 icmp_seq=6 Destination Host Unreachable
From 192.168.33.30 icmp_seq=7 Destination Host Unreachable
From 192.168.33.30 icmp_seq=8 Destination Host Unreachable

Everything else seems to work fine, I am wondering if perhaps it has to do with the hardware setup of the DCA? Below are some images of my DCA setup, can you let me know if they are correct: image image

it is connected to the AWR1843, is this the correct setup for this radar:

image image

Thank you in advance

moodoki commented 1 year ago

Can you check if the DCA is powered on and working correctly? You should be able to ping the DCA if you've set things up correctly. No additional software or configuration should be required for you to ping. You might want to try following TI's documentation and testing out your hardware with mmWave studio first.

bjs3118 commented 1 year ago

Hi @moodoki, thank you for your response. I have tested the device with mmWave studio and it works fine. Since the original post I have commented out I have located the code that is causing the error:

self.dca_socket.sendto(self.dca_cmd['READ_FPGA_VERSION_CMD_CODE'], self.dca_cmd_addr)
self.collect_response()

(from mmWave_class_noQt.py)

I have commented out these lines of code and the remaining script runs until I get timeout errors after LVDS Stream:/>sensorStart is posted. When this occurs I also get a red LED light occur on the LVDS_PATH_ERR. When looking at the documentation it says: image

Any ideas what could be causing this?

Thank you

moodoki commented 1 year ago

The lines you commented out are part of the commands sent to the DCA board to configure it for LVDS streaming. Please check these 2 things: