ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

rbed23's profile - activity

2022-01-05 07:38:52 -0500 received badge  Famous Question (source)
2021-10-19 17:03:16 -0500 received badge  Taxonomist
2021-07-07 02:49:05 -0500 received badge  Famous Question (source)
2021-06-17 09:32:13 -0500 received badge  Notable Question (source)
2021-04-09 17:25:54 -0500 received badge  Notable Question (source)
2021-03-02 11:46:40 -0500 received badge  Enthusiast
2021-02-15 04:41:45 -0500 received badge  Popular Question (source)
2021-02-02 09:03:28 -0500 received badge  Nice Question (source)
2021-01-24 13:04:31 -0500 commented answer type hinting rosmsgs in callbacks?

sure, if you want/need to separately import actionlib_msgs explicitly for that, in addition to import actionlib then go

2021-01-23 15:26:23 -0500 commented answer type hinting rosmsgs in callbacks?

(robot) me@BenderInspiron:~/robot/ros_src$ python -c "from actionlib import GoalStatus; print(GoalStatus)" <class 'ac

2021-01-23 15:23:37 -0500 received badge  Popular Question (source)
2021-01-21 18:05:32 -0500 commented answer type hinting rosmsgs in callbacks?

actionlib.GoalStatus works... I just needed to use the msg imports i.e. result: RowsResult, target: TrackedTarget

2021-01-21 17:59:08 -0500 marked best answer type hinting rosmsgs in callbacks?

Trying to prepare proper documentation for a code review and I wanted to use type hinting, however Im getting errors (expectedly) when type hinting for rosmsgs during function callbacks...

Wanted to know if anyone else has experienced this and any workarounds?

def on_action_done(self, goal_status: actionlib_msgs/GoalStatus, result: rows/RowsResult) -> None:
def on_action_done(self, goal_status: GoalStatus, result: RowsResult) -> None:

Neither is working, both are throwing NameError exceptions.

python3.7.4

ROS1: noetic

2021-01-21 17:59:08 -0500 received badge  Scholar (source)
2021-01-21 17:59:05 -0500 received badge  Supporter (source)
2021-01-21 13:56:03 -0500 asked a question ROS rqt installation

ROS rqt installation Im running the following envr and attempting to rosrun rqt_bag (or just rqt) and getting the follow

2021-01-21 13:08:58 -0500 received badge  Famous Question (source)
2021-01-15 15:04:32 -0500 asked a question type hinting rosmsgs in callbacks?

type hinting rosmsgs in callbacks? Trying to prepare proper documentation for a code review and I wanted to use type hin

2021-01-12 02:31:39 -0500 received badge  Notable Question (source)
2021-01-09 02:05:06 -0500 received badge  Student (source)
2021-01-07 07:46:51 -0500 received badge  Popular Question (source)
2020-12-29 02:40:09 -0500 asked a question rqt_bag rosbag exception

rqt_bag rosbag exception Hello, Im getting the following exception error thrown WHILE running rqt_bag, after opening the

2020-12-06 08:31:52 -0500 answered a question .msg files not created after catkin_make for an action

To manually generate the message files from this file, use the script genaction.py from the actionlib_msgs package. Rem