mecanumbot_bringup/rviz2.py (not showing the robot) #15
Replies: 9 comments 1 reply
-
ros2 topic list also does not show all available topics running, btw im using docker |
Beta Was this translation helpful? Give feedback.
-
Can u describe which containers and commands u run? |
Beta Was this translation helpful? Give feedback.
-
I've got some updates on what was causing the problem. Turns out, it was all about using the wrong Docker image lolll. my host machine is arm64 arch, but the Docker image I picked didn't support that. So, because of that mismatch, ROS2 couldn't find the topic it needed, I switched over to this other Docker image called 'sky360/ros2-humble-full:latest', and the topic appeared. but when I try to run RViz2 and Gazebo with this image in a container, they just won't cooperate. So I plan to run the actual robot without simulation. Btw the dockerfile and compose file I've push to my github repository 'sy_project2', have a look if u r interested. |
Beta Was this translation helpful? Give feedback.
-
Nice, i did not look into running ROS2 on Docker yet. |
Beta Was this translation helpful? Give feedback.
-
great, are u writing this from scratch? because im relatively new to ros2 and docker, currently using ur repository for my fyp, but encounter several problem along the way and I'm unsure how to address them. |
Beta Was this translation helpful? Give feedback.
-
Yes, it was written from scratch, but it's my second robotics project. |
Beta Was this translation helpful? Give feedback.
-
ya act i do have some questions, the main issue im struggling with is the serial port failed to get configuration, besides that, i have to modify the state interface to a default value since i dont have an encoder on the motor while im not sure where i should make this modification (is it in hardware interface -- read function?), and the last one, i found that you have a firmware for this repo right? Is it compatible with Arduino Mega 2560? If so, how can I use it? |
Beta Was this translation helpful? Give feedback.
-
You should be able to create a custom firmware on any device that support serial port. This is the AMPRU in action In the hardware node u communicate with the "hardware (arduino / custom PCB) In the write function u send into to drive the motors. In the read function u should get the values from the encoders, IMU, battery state, ... |
Beta Was this translation helpful? Give feedback.
-
Move the issue to discussion |
Beta Was this translation helpful? Give feedback.
-
when i run the rviz2.py, the drop down list for the fixed frame not working, the error in global status is no tf data, frame [base_link] does not exist
Beta Was this translation helpful? Give feedback.
All reactions