I'm trying to create a simple
MAVROS node that takes off, goes to a specific location and then comes back to its home location. As this is currently being tested inside
Gazeboit uses fake gps. I now want to publish the GPS coordinates myself, and thus need to disable the existing fake gps that keeps publishing.
I could publish my gps locations (lat, lon, alt) through
mavros/global_position/global topic and then read from it. I want to disable that and see if my quadrotor does go to a custom gps point that I send it to.
I also noticed there is something called
rosparam list. Should I disable this as well or I'd be fine to leave it as is? if so how can I do that as well?
The GPS coordinates that I'm publishing are not something random. They are created using a combination of other sensors. so they are accurate, maybe not as accurate as the original GPS coordinates, but I believe they are accurate enough. that's why I asked, how I can disable the fake gps that gazebo/mavros/ros(not sure which one) is also publishing, so I can test my generated coordinates properly.
In other words, I want the
mavros/global_position/global to only contain my published coordinates. currently, in gazebo/mavros there is a fake gps that also is publishing coordinates on this topic whenever I start simulating. I want to stop this