Questions tagged [raspberry-pi]

The Raspberry Pi is a credit-card sized general purpose computer. Questions about Raspberry Pi but not related to robotics are off-topic, but may be asked on Raspberry Pi Stack Exchange.

Filter by
Sorted by
Tagged with
0 votes
2 answers
26 views

how to use ROS2 in raspberry5 ?

Raspberry5 only support ubuntu23.10+. Ros2 only support ubuntu22.04-. So,how to use raspberry5 ?
ros666's user avatar
  • 1
0 votes
1 answer
33 views

Problem resolution needed for building ROS2 from source

I am using Ubuntu 23.10 on a Raspberry Pi 5 to build ROS2 from source, as specified in "Ros 2 Documentation: Iron" https://docs.ros.org/en/iron/Installation/Alternatives/Ubuntu-Development-...
HalCat's user avatar
  • 1
0 votes
1 answer
26 views

How to add wiringPi library with cmake on vscode?

I tried a few things but I am not so knowlegable about it. I tried with cmakeLists.txt: ...
Jonathan Dawsa's user avatar
0 votes
1 answer
22 views

Trying to debug MyCobot 280 Pi communication

I recently purchased an Elephant Robotics myCobot 280 Pi 2023 model off of Amazon. The Pi boots up fine and I could log in with ssh/vnc using er:Elephant, so I haven't connected a keyboard, but do ...
Jadon's user avatar
  • 11
0 votes
1 answer
15 views

How can I troubleshoot these under-powered servos?

I have three 150kg servos installed in a robot arm. I have tested them successfully when connected to a servo driver hat on a raspberry pi zero 2w (image). However, they were under-powered because the ...
user3342256's user avatar
0 votes
0 answers
46 views

Compiling ROS2 from source on RPI5 with Ubuntu 23.10

I have setup an LXD instance with ubuntu 23.10, and tried to compile ros humble from source as described in https://docs.ros.org/en/eloquent/Installation/Linux-Development-Setup.html and the step: ...
Can Altineller's user avatar
0 votes
0 answers
21 views

Using a Picamera with ROS Noetic on a Raspberry Pi

The goal is simply to get my raspberry Pi 4 running Ubuntu 20.04 (64 bit) and ROS1/Noetic to use a raspberry Pi Camera. Now there are many pages devoted to this questions and I have tried them all. I ...
pitosalas's user avatar
  • 465
0 votes
0 answers
19 views

ROS2 Multiple Machines, Gateway + Hotspot + Ethernet (DOMAIN ID)

I hope someone can help me with my problem. First of all, my setup: PC: Connected to Raspberry Pi's hotspot (PC-IP: 192.168.12.19) Raspberry Pi: Creates a Hotspot (192.168.12.1) and connected to Wifi (...
alex288823's user avatar
0 votes
1 answer
46 views

ROS2 controller needs motor encoder values

I am wanting to link to this encoder code with another ROS2 C++ program, in the ROS2_Controller group. I believe I can include the header file from this encoder code in compilation and use a public ...
Russ76's user avatar
  • 44
0 votes
2 answers
68 views

Viewing laser scan data coming from Raspberry pi using Laptop

I have a Raspberry Pi 4 running Ubuntu 22.04 with ros2 humble. My laptop is running Ubuntu 20.04 with ros1 noetic. I have connected a Slamtec RPLIDAR A3 with my Raspberry Pi and want to view its laser ...
Dinoj's user avatar
  • 11
0 votes
0 answers
8 views

Riding a robot model in Gazebo along a straight, curved path with feedback on a Raspberry running ROS

please be kind and advise how to implement the following: I have a computer with ROS and Gazebo in which I have a robot model in URDF format, I need this model to go on a straight/curved path(straight/...
Perry's user avatar
  • 1
0 votes
1 answer
28 views

nodes have a lot of cpu and mem usage on launching, and cause them be killed

I'm trying to launch some simple nodes on RaspberryPi 4B 4G, Ubuntu Server 22.04, which include a robot_state_publisher, a Lidar driver, a static_transform_publisher, and a wheels control node wrote ...
jh Z's user avatar
  • 1
0 votes
0 answers
91 views

Tuning slam-toolbox localization and expectations

I am new to SLAM-Toolbox, and seeing the volume of parameters and options is a bit daunting. I have managed to find async map creation parameters for a non-complex area of my home that appear to ...
Cyclical Obsessive's user avatar
0 votes
0 answers
15 views

ESC's get armed, spins briefly and then stops

My team is building an AUV using a Pi4. We are using 1000KV 12-24V brushless motors and 30A Brushless ESCs. We are running the motors currently with python using pigpio. The code I have now can arm ...
willfire 03's user avatar
0 votes
1 answer
53 views

Who has gotten WiringPi working in a ROS 2 C++ node? Want to control GPIO on Raspberry Pi 4 running Ubuntu 22

What I've tried and works to know the WiringPi library is working on my Raspberry Pi 4. g++ compiling a test cpp script using <...
Yato's user avatar
  • 11
0 votes
1 answer
216 views

Got Pi5 w PiOS Bookworm, Want ROS 2 Humble Desktop Docker with Nav2 and more

I have a working ROS 2 Humble robot (Raspberry Pi4 based GoPiGo3 robot running Ubuntu 22.04) that runs nav2 async mapping, localization, and navigation at close to 100% load. I just acquired a ...
Cyclical Obsessive's user avatar
0 votes
1 answer
30 views

Low-profile durable electrical connections between microcontrollers and SBC

I plan to connect an SBC (such as the Jetson, although I'll be using the Pi) to a series of microcontrollers using the GPIO pins over the SPI protocol. What's the best way to connect these devices? I ...
chmod777's user avatar
0 votes
2 answers
219 views

How to use Raspberry Pi GPIO ports in ROS 2? [closed]

I have a Pi running ROS 2 in Ubuntu. How do you access the Pi's GPIO ports? Is there a library? I'm not sure if I'm running into a ROS 2 or C++ issue. I've had trouble importing the ...
Yato's user avatar
  • 11
0 votes
1 answer
129 views

FastDDS: demo_nodes_cpp between WSL2 and Raspberry Pi

I want to use WSL2 on my development PC to send control signals to nodes running on a Raspberry Pi. To get there I have a three step plan: get connectivity get ros2 humble communications to work get ...
not_a_robot's user avatar
0 votes
2 answers
61 views

How to copy the Python variable to inside another class?

This encoder reader and publisher node needs to access another class (Rotary) to get the encoder ticks. The printer on line 11 works fine, but publishing on line 39 doesn't get the data; it only ...
Russ76's user avatar
  • 44
0 votes
0 answers
33 views

Rotot hardware - batteries considerations

[please dont downvote, just let me know what infos are missing] I built my second robot and I always end up with the same issue ... The CPU board always resets when a high rush of current is demanded ...
phil's user avatar
  • 21
0 votes
1 answer
138 views

Ros2 IMU publisher in Python doesn't publish

...
Russ76's user avatar
  • 44
0 votes
2 answers
155 views

Robot localization /odometry/filtered is not displayed

Version: Raspberry Pi 4, Lubuntu20.04, ROS1-noetic I am thinking of estimating the position using robot localization from the IMU. However, I am having trouble because the Topic for /odometry/filtered ...
S.Tomo's user avatar
  • 7
0 votes
0 answers
80 views

YAHBOOM ROSMASTER R2 will not connect to maker control application

I am currently trying to get a YAHBOOM ROSMASTER R2 up and running. I am attempting to follow the instructions found here: http://www.yahboom.net/study/ROSMASTER-R2 in the "APP Remote Control ...
Nathan Hogg's user avatar
0 votes
0 answers
76 views

No access to /dev/mem. Try runnig as root!

I'm using ubuntu 22.04 on raspberry. I'm trying gpio pins. But I couldn't access to gpio pins without being root. I got this error,No access to /dev/mem. Try runnig as root! How can I solve this ...
Oğuz Kuru's user avatar
0 votes
1 answer
31 views

Phidgets limit switches in python using a VINT hub

I'm trying to set up a Phidgets magnetic limit switch in python on my RPi (this one - https://www.phidgets.com/?tier=3&catid=13&pcid=11&prodid=416) so that once the sensor detects the ...
Jake's user avatar
  • 1
0 votes
1 answer
51 views

Do I need anything between my Raspberry Pi, Orin Nano and Power Bank to protect my RPi and Orin Nano?

I am a beginner and am learning by building a 4-wheel mobile robot. I plan to use Li-ion power banks to power my Raspberry Pi and Orin Nano. Do I need any protection between the power bank and the ...
Msr09's user avatar
  • 1
0 votes
0 answers
17 views

How do I display a babylon.js animation on a Raspberry Pi 4b screen using ROS?

I am currently trying to run ROS in a multiple machine setup where my laptop is the master and an RPI is the slave. I want to run the babylon.js code on the RPI to display an animation. I am new to ...
Infinitypool's user avatar
0 votes
1 answer
98 views

"keyserver receive failed" with ROS Melodic Raspberry Pi

I am working on Unitree A1 Quadruped Robot. The bot has two boards, with Raspberry Pi on the front board. I am trying to install the ROS Melodic Raspberry Pi version using this link: When I run the <...
venkata's user avatar
0 votes
1 answer
77 views

Micro ROS build stuck after step one in raspberry Pi 3

I am running ROS2 Humble on my Raspberry Pi 3 and I also have a Raspberry Pi Pico running micro ROS. I am trying to install the micro ROS agent on my RPi3. The snap version of the micro ROS agent did ...
Sriram Kannan's user avatar
0 votes
0 answers
57 views

Stepper motor control with Sparkfun Autodriver L6470 in Raspberry Pi 4B

I am struggling and cannot get this to work all (stepper motor doesn't do anything, not convinced even energising as can turn manually with no resistance) Pins used from a Raspberry Pi 4B to a ...
Seb Wilson's user avatar
1 vote
2 answers
38 views

ROS1 to ROS2 in Burger

I want to work in ROS2 on my turtlebot3-burger (pi4), while I already work on ROS1-melodic. Can I do that with keeping my progress and without problems?
Mahdi Alkhafaji's user avatar
0 votes
1 answer
201 views

Drifting issue in ROS2 using SLAM-Toolbox

I'm slightly new to robotics and I'm trying to prototype using ROS2-Galactic, I am using built-in packages such as Slam Toolbox and others. Now that I'm trying to run it, I'm having some issues with ...
n000b's user avatar
  • 15
0 votes
2 answers
130 views

Dead reckoning or SLAM for localization with unusual locomotion?

I am working on a senior design project with a robot that moves in an unusual way: it rolls around in a single spherical body, similar to BB-8 from the Star Wars sequels. My personal task for the ...
Blucario's user avatar
0 votes
2 answers
426 views

Where should I write and call GPIO port connection in the hardware interface in ros2_control for control of robot movement on Raspberry Pi 4?

I am using ROS 2 Humble on Raspberry Pi 4(Ubuntu 22.04 OS). I am trying to build 2-wheeled diff-drive mobile robot and using ros2_control for controlling, but I'm ...
Shah's user avatar
  • 1
0 votes
0 answers
52 views

How can I change the dicitonary of aruco markers in aruco_ros package to the newer DICT_4x4 dictionary?

The arcuo_ros package by pal_electronics uses old dictionaries of aruco markers, the markers of these dictionaries are coded in uint64_t integer in the code file of the dictionaries dictionary.cpp (...
Chames Eddinne's user avatar
0 votes
1 answer
577 views

Pico W does not connect to my phone's hotspot

I am trying to connect my Pico W to the hotspot that I have. The password and the name of the hotspot are in a file called "secret." I found the code online and when I try to run the code ...
kak_taki's user avatar
0 votes
0 answers
62 views

Pi Pico - HC05 AT commands don't work

I am trying to set up a Bluetooth communication between two pi pico devices using HC05s. I am trying to make the two HC05s connect and I read that you need to set up Master/Slave configurations using ...
kak_taki's user avatar
1 vote
1 answer
112 views

DRV8833 Motor driver connected to four raspberrypi zero V1.3 GPIO pins causes motor movement to fluctuate despite setting all pins to OFF

I have a raspberrypi zero V1.3 which I connected to multiple DRV8833 motor drivers. the DRV8833 chip is a motor driver that allows bidirectional movement of brushless motors by setting the two pins ...
Yes's user avatar
  • 111
0 votes
2 answers
1k views

[Raspberry Pi]: ROS 2 Humble on Ubuntu 22.04 Server: v4l2_camera reports "Failed stream start: Invalid argument (22)"

I have ROS2 Humble installed on Ubuntu 22.04 Server (64-bit) on a Raspberry Pi4. When I run the v4l2_camera node it finds my Pi Camera (v1.3) but then complains: Failed stream start: Invalid argument ...
Cyclical Obsessive's user avatar
0 votes
0 answers
339 views

error with Breezyslam (Descriptor length mismatch)

so I was working on a slam project and using the Breezyslam repo link, I am always getting this error, I don't know where I am getting it wrong, can someone help? ...
Pedakolimi Harish's user avatar
0 votes
1 answer
177 views

Diff-drive robot - Obstacle avoiding - random walk

I have implemented a logic-based algorithm for obstacle avoidance in a differential drive robot with 5 IR sensors. I want the robot in space, for example, a square room, to move freely and avoid ...
BiLLaKoS's user avatar
2 votes
2 answers
35 views

Raspberry Pi car connection to laptop in the park where there is no internet

I have built a small Raspberry Pi 4 car which can be controlled via my laptop. Both Raspberry Pi and Laptop are connected to my home internet. I want to take the car outside in the park. There is no ...
Robonoob's user avatar
0 votes
2 answers
215 views

How to move the robot using Raspberry Pi?

I used a Raspberry Pi 3 model B and a camera to make a robot detect fire, after watching Train a custom object detection model using your data. However I am not sure how to make this robot move after ...
Viv's user avatar
  • 1
0 votes
1 answer
123 views

Trying to get started with iRobot Create2 - need help reading sensors

I'm getting started helping high school students learn about robotics and we're trying to interface a Raspberry Pi 4 to the iRobot Create 2. I've got them started with some sample code for moving the ...
Bryan Martin's user avatar
1 vote
1 answer
342 views

Error when compiling cv_bridge in Raspberry Pi 4B with Raspbian buster and ROS Noetic

Im using Raspberry Pi 4B, with Raspbian Buster and ROS Noetic. When I tried to compile my catkin ws with a cv_bridge package I got the following error: CMake Error at vision_opencv/cv_bridge/...
bob's user avatar
  • 167
0 votes
1 answer
2k views

How to control a servo using ROS2 and MICRO-ROS

I am currently using a raspberry pi pico and a raspberry pi 4, So far I have established a connection between the two using micro-ros-agent I have also successfully built and ran the example provided ...
Aniket Wagh's user avatar
0 votes
1 answer
212 views

Rospy: Why does the loop not get interrupted?

I am working on the software for an autonomous Raspberry-Pi based robot which should keep moving for 2 minutes unless an unintended key is fed to it as input. Upon receipt of the unintended key, the ...
a_sid's user avatar
  • 101
1 vote
1 answer
42 views

Affordable pi like computer for robot

I have raspberry pi in a robot but it seems sdcard is not reliable at all. What are affordable options that could be considered reliable? Pi+USB Flash, Pi+USB SSD, Pi compute module with eMMC, ...
Artem's user avatar
  • 111
0 votes
2 answers
130 views

Best way to power Raspberry Pi 4 8GB + Arduino Uno Robot?

I am building a robot that uses an arduino to drive 4 mecanum wheels, which will be controlled by a Raspberry pi 4 8GB with the Lobe Machine Learning Hat via a serial connection. I'm fine with having ...
NCarlson's user avatar
  • 125

1
2 3 4 5