Giter VIP home page Giter VIP logo

Comments (8)

andyblarblar avatar andyblarblar commented on June 2, 2024 1

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.

davidcutting avatar davidcutting commented on June 2, 2024

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.

andyblarblar avatar andyblarblar commented on June 2, 2024

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.

davidcutting avatar davidcutting commented on June 2, 2024

So, if I got this right you're:

  1. On your laptop connected to the robot computer with SSH.
  2. The controller is plugged into your computer.
  3. 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.

girvenavery2022 avatar girvenavery2022 commented on June 2, 2024

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.

davidcutting avatar davidcutting commented on June 2, 2024

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.

andyblarblar avatar andyblarblar commented on June 2, 2024

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.

andyblarblar avatar andyblarblar commented on June 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.