Why do I get an "Expected hostname to be nonempty" error when connecting to my NVIDIA Jetson DRIVE Developer Kit?
    4 ビュー (過去 30 日間)
  
       古いコメントを表示
    
    MathWorks Support Team
    
 2024 年 5 月 1 日
  
    
    
    
    
    編集済み: MathWorks Support Team
    
 2024 年 5 月 23 日
            I am using an NVIDIA Jetson-series Developer Kit that supports NVIDIA DRIVE, such as the Jetson Orin AGX. I am able to complete the following example without any issues:
After adapting my own code according to the above example, I am no longer able to connect to the board. When I run the "codegen" command, I get the following error:
Expected hostname to be nonempty.
But I know the hostname, username, and password are all correct. The relevant part of my code looks like this:
hwobj = jetson('correctHostname', 'correctUsername', 'correctPassword'); codegen('-codegen', cfg, 'segnet_predict', '-args', {img}, '-report');
採用された回答
  MathWorks Support Team
    
 2024 年 5 月 23 日
        The "jetson" hardware connection function is only compatible with the NVIDIA Jetson platform. When you are targeting the NVIDIA DRIVE platform, you need to use the "drive" hardware connection function instead. The usage of these functions is identical; simply swap in "drive" or "jetson" depending on the desired platform.
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
