Comments (14)
Can you run the command
rostopic list | grep move_base
After you give a move command and paste the output into this issue.
from move_basic.
Also, please send the output of
apt-cache policy ros-kinetic-rosbridge-server
from the robots you have been testing on.
from move_basic.
apt-cache policy ros-kinetic-rosbridge-server
ros-kinetic-rosbridge-server:
Installed: 0.8.6-0xenial-20180105-183806-0800
Candidate: 0.8.6-0xenial-20180105-183806-0800
Version table:
*** 0.8.6-0xenial-20180105-183806-0800 500
500 http://packages.ros.org/ros/ubuntu xenial/main armhf Packages
100 /var/lib/dpkg/status
from move_basic.
on boot. move_base topics:
/rosbridge_ws/move_base/cancel
/rosbridge_ws/move_base/feedback
/rosbridge_ws/move_base/goal
/rosbridge_ws/move_base/result
/rosbridge_ws/move_base/status
now move basic or aruco connect so measured move commands in robot commander on loki don't work
after loading aruc and move_basic:
/move_base/cancel
/move_base/feedback
/move_base/goal
/move_base/result
/move_base/status
/move_base_simple/goal
I tried seeing if any topics were echoed while using the arrow keys, none were except status.
So I am not sure what's going on I also see:
/rosbridge_ws/move_base/cancel
/rosbridge_ws/move_base/feedback
/rosbridge_ws/move_base/goal
/rosbridge_ws/move_base/result
/rosbridge_ws/move_base/status
/tf2_web_republisher/cancel
/tf2_web_republisher/feedback
/tf2_web_republisher/goal
/tf2_web_republisher/result
/tf2_web_republisher/status
/tf_static
I was getting tf2 status, but none from rosbridge status.
I am guessing there are missing or incorrect transforms somewhere on Loki in the new loki_base
So arrow keys work, but measured move or set waypoint fails.
On RVIZ I gave a goal, and it tried to move:
status_list:
goal_id:
stamp:
secs: 1518545119
nsecs: 574602031
id: "/move_basic-1-1518545119.574602031"
status: 1
text: "This goal has been accepted by the simple action server"
So I think move-basic ain't talking to move base politely.
from move_basic.
This is the problem:
/rosbridge_ws/move_base/cancel
/rosbridge_ws/move_base/feedback
/rosbridge_ws/move_base/goal
/rosbridge_ws/move_base/result
/rosbridge_ws/move_base/status
It looks like rosbridge is pre-pending its namespace to the topics.
Re: So I think move-basic ain't talking to move base politely.
There is no move_base
in this setup -- move_basic
implements its interface.
@jrlandau Can you change robot_commander to use the absolute name /move_base
from move_basic.
/move_base/cancel
/move_base/feedback
/move_base/goal
/move_base/result
/move_base/status
/move_base_simple/goal
/tf
/tf2_web_republisher/cancel
/tf2_web_republisher/feedback
/tf2_web_republisher/goal
/tf2_web_republisher/result
/tf2_web_republisher/status
with rosbridge removed robot commander doesn't work at all. Connects, but no movement even with arrow keys, though keyboard teleop works. do we remap move_base to tf2???
from move_basic.
@anfederman Rosbridge is required for robot_commander to be able to do anything.
The issue is that rosbridge is using topic names without a leading slash, once we put rosbridge into it's own namspace to handle both ws and wss, this meant that the topics were also namespaced, breaking the code.
@jrlandau can you make sure that all of the topic names in both robot commander and speech commands are fully qualified (aka start with a '/').
from move_basic.
from move_basic.
I just tested robot commander on Magni. Measured moves no longer work, neither do set waypoint or go to goal. RVIZ 2d nav go to goal does work. Prior to this weekend, robot commander was working. What happened after the huddle? This makes no sense, since I did not update or upgrade my Magni or Robot commander since last week.
from move_basic.
from move_basic.
@rohbotics I'm fairly sure we've tested Robot_Commander
since the rosbridges were moved into namespaces, so I think it's something that changed in rosbridge_websocket
recently. However, making all topics Robot_Commander
uses absolute seems like it would make us immune to it.
from move_basic.
from move_basic.
@anfederman tf2_web_repubisher also implements an actionlib
interface, hence the topics:
/tf2_web_republisher/cancel
/tf2_web_republisher/feedback
/tf2_web_republisher/goal
/tf2_web_republisher/result
/tf2_web_republisher/status
They are not related to the namespace issue, which renames move_base
topics to /rosbridge_ws/move_base
. As mentioned, the fix is for Robot_Commander to use /move_base
.
from move_basic.
@jrlandau sent me an updated APK file for Robot_Commander.
On the robot, which had magni_base
service running, I ran
roslaunch magni_nav move_basic.launch
Then on my phone, using the old app, I gave the verbal command "forward one meter".
The robot did not move and the bogus topics appeared:
rostopic list | grep move_base
/rosbridge_ws/move_base/cancel
/rosbridge_ws/move_base/feedback
/rosbridge_ws/move_base/goal
/rosbridge_ws/move_base/result
/rosbridge_ws/move_base/status
Then, I installed the new app on my phone and restarted everything on the robot, to be in a clean state:
sudo service magni-base stop
sudo service magni-base start
roslaunch magni_nav move_basic.launch
Once again, I gave the verbal command "forward one meter".
This time, the bogus topics did not appear, and move_basic reported receiving the goal:
[ INFO] [1518674933.957489772]: Received goal 1.000000 0.000000 0.000000 base_link
The robot moved forward.
I am closing this issue. If there are issues with localization, they should be opened as new issues.
from move_basic.
Related Issues (20)
- Oddly consistent offset HOT 5
- More aggressive external force correction HOT 2
- Status info
- RootRework: Move_smooth merge HOT 2
- RootRework: Standalone collision checker HOT 1
- RootRework: Zero Radius Turning
- RootRework: General Refactor and Rewrite HOT 2
- RootRework: Better navigation? HOT 10
- python version
- Unable to set up reversing API HOT 5
- ROS Noetic debian package (ros-noetic-move-basic) built from different source/possibly outdated
- Wrong goal preempting HOT 1
- Using both sonars and lidar at the same time for collision detection HOT 5
- Noetic release move_basic HOT 2
- Aborting a goal due to moving away from goal needs to be ROS option enabled HOT 3
- Suggest we decouple direct colision feature from move_basic HOT 5
- Suggest we use laser_filters instead of scan filtering in obstacle_points.cpp HOT 2
- Rotation-only goals ignored HOT 6
- RootRework: Rotational Collisions HOT 4
- Sending goal succeeded when it doesn't seem to have HOT 3
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 move_basic.