Jetson Xavier NX on Ubuntu 20.04 #60
Replies: 5 comments 1 reply
-
Bridge between ROS1 and ROS2
Test robot keyboard teleoperation using ROS1`
|
Beta Was this translation helpful? Give feedback.
-
Thanks for sharing! I almost went this direction before discovering the docker containers, but I'm going to have to try this now. |
Beta Was this translation helpful? Give feedback.
-
This was super helpful thanks! |
Beta Was this translation helpful? Give feedback.
-
Actually, I noticed the when running |
Beta Was this translation helpful? Give feedback.
-
How have you install the following package : https://github.com/iRobotEducation/irobot_create_msgs ? |
Beta Was this translation helpful? Give feedback.
-
I am creating this unofficial discussion for those who want to use a
Jetson Xavier NX
withUbuntu 20.04
along with theiRobot Create 3
. I will start with my personal documentation on how I achieved that. If you'd like to follow these steps, do it at your own discretion, as I cannot guarantee that it will work seamlessly. This is my first experience with a Jetson Xavier NX and ROS2, so take my words with a grain of salt.Any ideas, suggestions and corrections are welcome in this discussion page.
Who should do this
Who should not do this
Nvidia doesn't have an image with Ubuntu 20.04 for the Jetson boards (if you found one, please add to this discussion). As of last month, it seems like ubuntu 20.04 is now supported on some Jetson platforms, but I could not find an image myself.
How to install Ubuntu 20.04 on a Jetson Xavier NX
Since I couldn't find a Ubuntu 20.04 image for my Jetson Xavier NX, first I followed the instructions from Nvidia's support to flash Ubuntu 18.04 on this board.
With Ubuntu 18.04 booted on your Jetson, the next step is to upgrade it to Ubuntu 20.04. Do this at your own risk, but things have been working fine to me. I followed the instructions from this link. It worked for me, despite being written originally for a Jetson Nano.
Install ros2 Galactic
export RMW_IMPLEMENTATION=rmw_fastrtps_cpp
Install Intel Realsense (optional)
buildLibrealsense.sh
script from this repository. Make sure to use gcc 8 for that, and switch to gcc 9 afterwards (see this link again for reference).Test that you can communicate with the Create 3 robot
ros2 topic list
, you should see the following:Finally, test that you can get data from the robot by running
ros2 topic echo /battery_state
. You should see something like this:Using your keyboard to teleoperate the robot around
sudo apt install ros-galactic-teleop-twist-keyboard
ros2 run teleop_twist_keyboard teleop_twist_keyboard
Dock/Undock
ros2 action send_goal /undock irobot_create_msgs/action/Undock "{}"
ros2 action send_goal /dock irobot_create_msgs/action/DockServo "{}"
Beta Was this translation helpful? Give feedback.
All reactions