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
0 answers
77 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 ...
0 votes
1 answer
15 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 ...
0 votes
1 answer
22 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: ...
0 votes
1 answer
93 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 <...
0 votes
2 answers
418 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 ...
0 votes
1 answer
14 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 ...
0 votes
0 answers
37 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: ...
0 votes
0 answers
11 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 ...
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 (...
0 votes
2 answers
64 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 ...
0 votes
1 answer
43 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 ...
0 votes
1 answer
21 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 ...
0 votes
2 answers
127 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 ...
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 ...
0 votes
1 answer
196 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 ...
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/...
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/...
0 votes
0 answers
85 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 ...
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 ...
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 <...
0 votes
2 answers
198 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 ...
0 votes
1 answer
125 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 ...
0 votes
2 answers
60 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 ...
0 votes
0 answers
32 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 ...
0 votes
1 answer
125 views

Ros2 IMU publisher in Python doesn't publish

...
0 votes
2 answers
150 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 ...
0 votes
1 answer
28 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 ...
0 votes
1 answer
70 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 ...
0 votes
0 answers
67 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 ...
0 votes
1 answer
50 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 ...
0 votes
0 answers
16 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 ...
1 vote
1 answer
3k views

Hector SLAM in ROS with RPLidar

Trying to set up Hector SLAM with the RPLidar A2. I downloaded both rplidar_ros-master and hector_slam-catkin; extracted them ...
0 votes
0 answers
54 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 ...
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?
0 votes
1 answer
173 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 ...
3 votes
0 answers
185 views

Waking up Roomba over serial

I've been trying to mod an old Roomba 400 series (model #4220) by adding a Raspberry Pi to it. I have the Raspberry Pi communicating over serial with the EZSync018 cable. I have everything working, ...
0 votes
1 answer
193 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 ...
0 votes
2 answers
214 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 ...
1 vote
1 answer
111 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 ...
3 votes
3 answers
856 views

How to measure pull force on a (kite) rope?

I'm building a kite flying robot, in which I've already got some sensors built in. I now also want to measure the pulling force on the rope which is attached to the kite. So I thought of attaching a ...
0 votes
0 answers
50 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 (...
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 ...
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 ...
0 votes
1 answer
572 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 ...
0 votes
0 answers
60 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 ...
0 votes
0 answers
330 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? ...
19 votes
7 answers
8k views

Robot never goes straight

I am using 2 identical DC motors and a castor wheel. The motors are connected to L293D motor driver and are controlled by RPi. The robot is not going straight. It veers off to the right. I am ...
0 votes
1 answer
264 views

Is it possible to control the speed of a hoverboard motor[BLDC motor] with a raspberry pi? If so, how?

In my project, I'm making a robot using two hover board motors, a motor control board such as this one: https://www.ebay.com/p/2242827374?iid=162674407600 and a raspberry pi. I've connected the motor ...
3 votes
2 answers
1k views

Depth map with Raspberry Pi

Is it possible to get two images from the Raspberry Pi camera mounted on a remote controlled bot and have them sent to a computer through Wi-Fi and process the images in the computer to generate a ...
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 ...

1
2 3 4 5