Installing turtlebot3 on Ubuntu IoT 18.04 architecture not detected properly
See original GitHub issueISSUE TEMPLATE ver. 0.2.0
-
Which TurtleBot3 you have?
- Burger
- Waffle
- Waffle Pi
-
Which SBC(Single Board Computer) is working on TurtleBot3?
- Raspberry Pi 3
- Intel Joule 570x
- etc (PLEASE, WRITE DOWN YOUR SBC HERE)
-
Which OS you installed in SBC?
- Ubuntu MATE 16.04 or later
- Raspbian
- Ubuntu 18.04 IoT
-
Which OS you installed in Remote PC?
- Ubuntu 16.04 LTS (Xenial Xerus)
- Ubuntu 18.04 LTS (Bionic Beaver)
- Linux Mint 18.x
- etc (PLEASE, WRITE DOWN YOUR OS)
-
Write down software version and firmware version
- Software version: [x.x.x]
- Firmware version: [x.x.x]
-
Write down the commands you used in order
- Going through the code provided here. I hit a snag running the following command:
~$ ./update.sh $OPENCR_PORT $OPENCR_MODEL.opencr
-
Copy and Paste your error message on terminal
- The above code results in this output:
aarch64
OpenCR Update Start..
./update.sh: line 27: ./opencr_ld_shell_x86: cannot execute binary file: Exec format error
- Please, describe detailedly what difficulty you are in
Installing on Ubuntu 18.04 IoT, the script attempts to install the x86 binaries even though we are on an arm system. Using the uname -m
or uname -p
returns:
aarch64
I believe a fix for this is to add this case to the update.sh
:
case $(uname -m) in
i386) architecture="386" ;;
i686) architecture="386" ;;
x86_64) architecture="amd64" ;;
armv7l) architecture="arm" ;;
aarch64) architecture="arm";; # <-- my fix
arm) dpkg --print-architecture | grep -q "arm64" && architecture="arm64" || architecture="arm" ;;
esac
however, this runs into the following error:
-bash: ./opencr_ld_shell_arm: No such file or directory
I believe this is due to the binary file only compiled for a 32-bit arm architecture. Is it possible to get it for a 64-bit architecture?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:15 (2 by maintainers)
Top Results From Across the Web
Simulate the TurtleBot3 | Ubuntu
This allows us to build the TurtleBot software on your workstation. sudo apt install python3-colcon-common-extensions. Install Gazebo. Robot ...
Read more >Setting-up the Turtlebot3 with ros2 on Ubuntu Server IoT 18.04
Step 1: Download and Install Ubuntu Server IoT 18.04 · Step 2: Start the OS on the Turtlebot3 · Step 3: Change the...
Read more >Turtlebot3 install (ROS2 기반) - 네이버 블로그
Install Ubuntu on Remote PC. To set ROS (Robot Operating System) on Remote PC, please install Ubuntu 18.04 on Remote PC.
Read more >Install Turtlebot3 in Ubuntu 18.04 ROS MELODIC EASY
Easy to follow guide for installing TurtleBot3The website has updated, and the instructions are located ...
Read more >Deploying ROS applications as Snaps with AWS IoT ...
Log in to your robot, either via SSH or by hooking up a display to the Pi, and configure it with some relevant...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Great. That is the fix! I tried that last night, but I was not paying close enough attention. I re-ran the whole line with the
wget
and all after a making that edit.Thanks for your help!
@zmk5
The issue seems to be solved. If you have any question about this issue, please feel free to reopen or get a new ticket 😃