Robotics StackExchange | Archived questions

Is it possible for me to install either ROS1 or ROS2 and use it with JUST VSCode and Gazebo?

Good Afternoon,

Recently, I've been creating a robot that utilizes Arduino and Motor Controllers to move directions (forwards or backwards) and adjust speeds. This device shall soon be connected to a Microsoft Azure Kinect camera that can do three types of reads: IR, depth, and body tracking.

I plan to import a pre-rendered 3d environment model into ROS for the robot to utilize and map out its directional movements.

Would it be possible to install and run either available ROS languages into my system without the many necessary prerequisites?

Currently, I have installed on my system:

The pre-requisites for ROS1 requires me to install:

ROS2 asks for me to:

Can't I just use VSCode on its own and download extensions of ROS for it along with combining it with Gazebo? Can I just use conda to install all packages to run ROS?

Thank you

Asked by Mr.Cruz on 2023-01-20 17:52:57 UTC

Comments

Answers

Windows is not officially supported with ROS1, see target platforms.

I think OpenCV is used to support image transport + serialization and for artificial camera view generation in Gazebo. OpenSSL is just an HTTPS implementation. Make sure you're installing ros-base rather than ros-desktop which comes with various non-essential tools.

In addition, these prerequisites don't seem that bad. Any particular reason you're avoiding those? ROS2 is a neither an operation system nor just a language. It's a set of tools + pub sub system that tries to serve the entire robotics community, which is naturally large and varied so some dependencies are necessary.

Can't I just use VSCode on its own and download extensions of ROS for it along with combining it with Gazebo?

ROS doesn't require you to use one IDE or another and has a separate installation process but you can find various ROS extensions on the VScode marketplace if you look.

Can I just use conda to install all packages to run ROS?

Yes, googling ros2 + conda takes me to the following post on Medium explaining how conda and ros2 work together. Last I checked a lot of packages have been ported to Conda but I suspect more niche packages might not be supported which might be fine in your use case.

Asked by achille on 2023-01-23 19:40:02 UTC

Comments