Comments (8)
What we ran into in competition is our ROS machines dieing. This ment we were SSHing into the bot using a Windows machine and iPhone 11. We did connect to the machine with the 360 controller, but still couldnt teleop. We also had issues setting the initalpose (as Yeti currently assumes Rviz is providing it). I'm not 100% on what the issue was caused by, so this is more something we need to work on (a user story, if you will).
FWIW in comp we ended up just disabling the entire nav stack, and teleop still didnt work unless we had launched ros using the nuc itself.
from mammoth.
What do you mean by cannot be started or controlled? What's failing?
Can you SSH in to the robot computer?
What happens when you roslaunch?
There should be no difference between directly using the keyboard of the laptop and using SSH.
from mammoth.
teleop with the xbox controller does not work over SSH, and the initalpose is not published (I belive this is because the initalpose is being set by Rviz normally)
from mammoth.
So, if I got this right you're:
- On your laptop connected to the robot computer with SSH.
- The controller is plugged into your computer.
- You're running RVIZ on your computer (to publish /initialpose?)
In order for this to work, you would need to have the controller plugged in/bluetooth to the robot computer. If you want to do it otherwise, you would need to be running the ROS node for the controller on your laptop. There's some additional network configuration with ROS so nodes on the robot computer can receive the control outputs from your laptop. The same goes for RVIZ, because it would not be sending or receiving any information from the ROS master.
Here is a guide from the ROS wiki which explains the networking setup fairly well.
from mammoth.
I don't think not being able to teleop over SSH is an issue with the ros2 code so to speak. Teleop works flawlessly without SSH so its more so an issue with trying to correctly setup SSH. For the initialpose issue, I am currently developing a new node that will allow the user to hit the start button and it will dead reckon the robot from there.
from mammoth.
Not entirely sure how teleop would fail/not fail if being launched over SSH. SSH should be a non-factor here imo.
I suggest we just wipe the Yeti laptop, put on Ubuntu 20.04 with Galactic/Foxy and give it a run. My gut tells me it won't have any of the issues you were seeing at competition.
from mammoth.
I don't think not being able to teleop over SSH is an issue with the ros2 code so to speak. Teleop works flawlessly without SSH so its more so an issue with trying to correctly setup SSH. For the initialpose issue, I am currently developing a new node that will allow the user to hit the start button and it will dead reckon the robot from there.
Great to hear you've got a solution for the initalpose. I'll mess with the SSH teleop some more now that we're back, but it was very consistent in comp. FYI David, we use an Intel Nuc now, so that's why I'm conserned about SSH so much. While it may not be a bug, this would be a huge QoL improvement in comp.
from mammoth.
welp, I just tested in the lab and it works fine now. Thats comp I guess ¯_(ツ)_/¯
Closing as Avery is already working on the initalpose fix.
from mammoth.
Related Issues (20)
- When the robot is slipping or stalling it continues to drive
- Clean up simulation branch
- triple I world HOT 1
- Using ROS1 serial
- Nav2 Behavior Tree issue
- Ouster OS1 configuration file wrong
- Roboteq config file wrong
- Nav2 Costmap
- Ros2 orientation issue in URDF
- Format Python Launch files to meet style guidelines HOT 1
- Robot isn't Built
- Ros2 URDF orientation
- nav2 instability HOT 3
- No drive mode control
- LiDAR picks up snowfall and creates noisy costmaps
- Potential inconsistency with Gazebo world and launch file topic remapping HOT 2
- Galactic Nav2-Ouster issue HOT 1
- Robot slows down when close to obstacles
- Robot can't plow straight
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mammoth.