2021-03-03 10:42:14 -0500 | received badge | ● Notable Question
(source)
|
2021-03-03 10:42:14 -0500 | received badge | ● Popular Question
(source)
|
2021-03-03 10:41:34 -0500 | received badge | ● Famous Question
(source)
|
2021-03-03 10:39:42 -0500 | commented question | Node process die when running in arm64v8 (qemu) docker Any progress on this? I am seeing this issue too, but without the qemu:handle_cpu_signal received signal outside vCPU co |
2021-03-03 10:39:42 -0500 | received badge | ● Commentator
|
2019-01-22 13:34:34 -0500 | received badge | ● Famous Question
(source)
|
2019-01-22 13:34:34 -0500 | received badge | ● Notable Question
(source)
|
2019-01-22 13:34:34 -0500 | received badge | ● Popular Question
(source)
|
2017-07-07 23:34:24 -0500 | received badge | ● Nice Question
(source)
|
2017-04-20 11:24:44 -0500 | received badge | ● Famous Question
(source)
|
2017-04-19 10:24:43 -0500 | commented question | Compiling issue Hector Quadcopter Unfortunately not, if you do please answer this post.
|
2017-03-19 13:04:47 -0500 | received badge | ● Taxonomist
|
2017-03-06 04:21:50 -0500 | received badge | ● Notable Question
(source)
|
2017-03-06 04:21:48 -0500 | received badge | ● Popular Question
(source)
|
2017-02-15 20:49:53 -0500 | received badge | ● Notable Question
(source)
|
2017-01-04 16:13:06 -0500 | commented answer | "Incompatible ssh peer" when launching a remote node Just to be clear, which device did you upgrade paramiko, the PC or the embedded platform? |
2016-10-19 20:48:11 -0500 | commented question | Is it possible to run the hector_quadrotor demos in kinetic? |
2016-10-19 20:31:21 -0500 | asked a question | Compiling issue Hector Quadcopter I am using Ubuntu 16.04 with ROS kinetic. I am following this tutorial for hector quadcopter. I am also installing this package from source. After git cloning driver_common from here, I get this error when I try to catkin_make. [ 3%] Building CXX object hector_gazebo/hector_gazebo_plugins/CMakeFiles/hector_servo_plugin.dir/src/servo_plugin.cpp.o
In file included from /usr/include/c++/5/random:35:0,
from /usr/include/ignition/math2/ignition/math/Rand.hh:20,
from /usr/include/ignition/math2/ignition/math.hh:18,
from /usr/include/sdformat-4.0/sdf/Param.hh:34,
from /usr/include/sdformat-4.0/sdf/Element.hh:24,
from /usr/include/sdformat-4.0/sdf/sdf.hh:5,
from /usr/include/gazebo-7/gazebo/common/Plugin.hh:42,
from /home/jbourne/hector_quadrotor_tutorial/src/hector_gazebo/hector_gazebo_plugins/include/hector_gazebo_plugins/diffdrive_plugin_6w.h:30,
from /home/jbourne/hector_quadrotor_tutorial/src/hector_gazebo/hector_gazebo_plugins/src/diffdrive_plugin_6w.cpp:36:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support \
^
In file included from /usr/include/c++/5/random:35:0,
from /usr/include/ignition/math2/ignition/math/Rand.hh:20,
from /usr/include/ignition/math2/ignition/math.hh:18,
from /usr/include/sdformat-4.0/sdf/Param.hh:34,
from /usr/include/sdformat-4.0/sdf/Element.hh:24,
from /usr/include/sdformat-4.0/sdf/sdf.hh:5,
from /usr/include/gazebo-7/gazebo/common/Plugin.hh:42,
from /home/jbourne/hector_quadrotor_tutorial/src/hector_gazebo/hector_gazebo_plugins/include/hector_gazebo_plugins/reset_plugin.h:32,
from /home/jbourne/hector_quadrotor_tutorial/src/hector_gazebo/hector_gazebo_plugins/src/reset_plugin.cpp:29:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support \
^
In file included from /usr/include/c++/5/random:35:0,
from /usr/include/ignition/math2/ignition/math/Rand.hh:20,
from /usr/include/ignition/math2/ignition/math.hh:18,
from /usr/include/sdformat-4.0/sdf/Param.hh:34,
from /usr/include/sdformat-4.0/sdf/Element.hh:24,
from /usr/include/sdformat-4.0/sdf/sdf.hh:5,
from /usr/include/gazebo-7/gazebo/common/Battery.hh:25,
from /usr/include/gazebo-7/gazebo/common/common.hh:8,
from /home/jbourne/hector_quadrotor_tutorial/src/hector_gazebo/hector_gazebo_plugins/include/hector_gazebo_plugins/diffdrive_plugin_multi_wheel.h:80,
from /home/jbourne/hector_quadrotor_tutorial/src/hector_gazebo/hector_gazebo_plugins/src/diffdrive_plugin_multi_wheel.cpp:78:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support \
I believe this is a compiler issue, where ROS defaults to C++03 (according to this), so I would like to use C++11 ... (more) |
2016-07-22 15:22:38 -0500 | received badge | ● Famous Question
(source)
|
2016-06-14 16:11:51 -0500 | commented question | rosbag in launch file not saving properly can't find the link anymore, but they are stored in ~/.ros folder |
2016-06-08 16:52:34 -0500 | asked a question | rosbag in launch file not saving properly I can successfully save data through command line tools (rosbag record -O mybag.bag /state) but when I convert this to a launch file implementation it does not save the "mybag.bag" file properly or I just don't know where this file saves to. I know the rosbag node is working because I can see it subscribing to /state in rqt_graph. Any help on this is greatly appreciated. <launch>
<node name="environmentNode" pkg="localization" type="environmentNode.py"/>
<node name="actionNode" pkg="localization" type="actionNode.py"/>
<node pkg="rosbag" type="record" name="recorder" args="-O mybag.bag /state" output="screen"/>
<arg name="width" default="100"/>
<arg name="height" default="100"/>
<arg name="resolution" default="100"/>
<arg name="Lrate" default="30"/>
<arg name="w" default=".5 .5"/>
<arg name="s0" default="100 100"/>
<arg name="g" default="0 0"/>
<arg name="type" default="linear"/>
<param name="resolution" value="$(arg resolution)"/>
<param name="width" value="$(arg width)"/>
<param name="height" value="$(arg height)"/>
<param name="Lrate" value="$(arg Lrate)"/>
<param name="w" value="$(arg w)"/>
<param name="s0" value="$(arg s0)"/>
<param name="g" value="$(arg g)"/>
<param name="type" value="$(arg type)"/>
</launch>
|
2016-04-14 08:01:14 -0500 | received badge | ● Notable Question
(source)
|
2016-04-13 19:05:29 -0500 | received badge | ● Scholar
(source)
|
2016-04-13 19:05:25 -0500 | commented answer | Rviz markers with rospy Thank you for the clarification. Yes this seems to fix my bug. |
2016-04-13 15:50:17 -0500 | received badge | ● Student
(source)
|
2016-04-13 12:45:11 -0500 | answered a question | Rviz markers with rospy I placed my Marker within my while loop and this fixed my problem. #!/usr/bin/env python
import rospy
from std_msgs.msg import String
from geometry_msgs.msg import PointStamped
from visualization_msgs.msg import Marker
_ACTIONS = [('N', [0,-1]),('E', [-1,0]),('S',[0,1]),('W',[1,0]),('NE',[-1,-1]),('NW',[1,-1]),('SE',[-1,1]),('SW',[1,1]), ('STAY',[0,0])]
_X = 0
_Y = 1
class stateNode():
def __init__(self):
pub = rospy.Publisher('state', PointStamped, queue_size=10)
markerPub = rospy.Publisher('robotMarker', Marker, queue_size=1)
rospy.Subscriber("action", String, self.move_callback)
rospy.init_node('stateNode', anonymous=True)
rate = rospy.Rate(1)
self.state = PointStamped()
# initial starting location I might want to move to the param list
self.h = rospy.get_param("height", 100)
self.w = rospy.get_param("width", 100)
self.state.point.x = self.h
self.state.point.y = self.w
self.state.point.z = 0
while not rospy.is_shutdown():
pub.publish(self.state)
# markerPub.publish(self.robotMarker)
self.robotMarker = Marker()
self.robotMarker.header.frame_id = "Cmap"
self.robotMarker.header.stamp = rospy.Time.now()
self.robotMarker.ns = "robot"
self.robotMarker.id = 0
self.robotMarker.type = Marker.SPHERE
self.robotMarker.action = Marker.ADD
self.robotMarker.pose.position = self.state.point
self.robotMarker.pose.position.z = 1 # shift sphere up
self.robotMarker.pose.orientation.x = 0
self.robotMarker.pose.orientation.y = 0
self.robotMarker.pose.orientation.z = 0
self.robotMarker.pose.orientation.w = 1.0
self.robotMarker.scale.x = 1.0
self.robotMarker.scale.y = 1.0
self.robotMarker.scale.z = 1.0
self.robotMarker.color.r = 1.0
self.robotMarker.color.g = 0.0
self.robotMarker.color.b = 0.0
self.robotMarker.color.a = 1.0
markerPub.publish(self.robotMarker)
print "sending marker", self.robotMarker.pose.position
rate.sleep()
def move_callback(self, action):
for i in _ACTIONS:
if String(i[0]) == action:
self.state.point.x = self.state.point.x + i[1][_X]
self.state.point.y = self.state.point.y + i[1][_Y]
if self.state.point.x>self.h:
self.state.point.x = self.h
if self.state.point.y>self.w:
self.state.point.y = self.w
self.state.point.z = 0
# self.robotMarker.pose.position = self.state.point
# self.ellipse = self.state.point
# print i
print self.state.point.x, self.state.point.y
stateNode() |
2016-04-13 12:16:01 -0500 | received badge | ● Popular Question
(source)
|
2016-04-13 10:08:50 -0500 | commented question | Rviz markers with rospy I am unable to upload the log file because of lack of points. |
2016-04-12 20:54:53 -0500 | received badge | ● Supporter
(source)
|
2016-04-12 20:49:38 -0500 | asked a question | Rviz markers with rospy I am trying to visually represent a "robot" as a sphere marker from the visualization_msgs, but I am unable to publish my self.robotMarker. When I rosrun this script I am able to see the message from the print statement, however when I rostopic echo /robotMarker, my node crashes. Am I initializing my Marker() correctly? Any help is appreciated. #!/usr/bin/env python
import rospy
from std_msgs.msg import String
from geometry_msgs.msg import PointStamped
from visualization_msgs.msg import Marker
_ACTIONS = [('N', [0,-1]),('E', [-1,0]),('S',[0,1]),('W',[1,0]),('NE',[-1,-1]),('NW',[1,-1]),('SE',[-1,1]),('SW',[1,1]), ('STAY',[0,0])]
_X = 0
_Y = 1
class stateNode():
def __init__(self):
pub = rospy.Publisher('state', PointStamped, queue_size=10)
markerPub = rospy.Publisher('robotMarker', Marker, queue_size=10)
rospy.Subscriber("action", String, self.move_callback)
rospy.init_node('stateNode', anonymous=True)
rate = rospy.Rate(1)
self.state = PointStamped()
# initial starting location I might want to move to the param list
self.h = rospy.get_param("height", 100)
self.w = rospy.get_param("width", 100)
self.state.point.x = self.h
self.state.point.y = self.w
self.state.point.z = 0
self.robotMarker = Marker()
self.robotMarker.header.frame_id = "/Cmap"
self.robotMarker.header.stamp = rospy.get_rostime()
self.robotMarker.ns = "robot"
self.robotMarker.id = 0
self.robotMarker.type = 2 # sphere
self.robotMarker.action = 0
self.robotMarker.pose.position = self.state.point
self.robotMarker.pose.orientation.x = 0
self.robotMarker.pose.orientation.y = 0
self.robotMarker.pose.orientation.z = 0
self.robotMarker.pose.orientation.w = 1.0
self.robotMarker.scale.x = 1.0
self.robotMarker.scale.y = 1.0
self.robotMarker.scale.z = 1.0
self.robotMarker.color.r = 0.0
self.robotMarker.color.g = 1.0
self.robotMarker.color.b = 0.0
self.robotMarker.color.a = 1.0
self.robotMarker.lifetime = 0
while not rospy.is_shutdown():
pub.publish(self.state)
markerPub.publish(self.robotMarker)
print "sending marker", self.robotMarker
rate.sleep()
def move_callback(self, action):
for i in _ACTIONS:
if String(i[0]) == action:
self.state.point.x = self.state.point.x + i[1][_X]
self.state.point.y = self.state.point.y + i[1][_Y]
if self.state.point.x>self.h:
self.state.point.x = self.h
if self.state.point.y>self.w:
self.state.point.y = self.w
self.state.point.z = 0
self.robotMarker.pose.position = self.state.point
# print i
print self.state.point.x, self.state.point.y
stateNode()
This is what my terminal screen gives me: Traceback (most recent call last):
File "/home/jbourne/catkin_ws/src/plume_localization/scripts/stateNode.py", line 77, in <module>
stateNode()
File "/home/jbourne/catkin_ws/src/plume_localization/scripts/stateNode.py", line 56, in __init__
markerPub.publish(self.robotMarker)
File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/topics.py", line 852, in publish
self.impl.publish(data)
File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/topics.py", line 1036, in publish
serialize_message(b, self.seq, message)
File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/msg.py", line 152, in ... (more) |
2016-04-06 09:47:51 -0500 | commented answer | Plume Sim in ROS I am fairly new to ROS, so I am sorry if this is a dumb question, but would I be able to use this package on ROS indigo or jade if it is a rosbuild pkg? |
2016-04-06 09:33:14 -0500 | asked a question | Virtual Plume/Plume sim Has anyone recently gotten this package to compile on ROS indigo or jade? Is there an updated version of this? Any information about this would be helpful. http://wiki.ros.org/virtualplume thanks |
2016-04-05 10:07:57 -0500 | answered a question | Plume Sim in ROS Both of these link are broken now. Are there any updated repositories or wiki pages? |
2016-01-16 11:56:13 -0500 | received badge | ● Popular Question
(source)
|
2016-01-13 22:29:17 -0500 | commented question | Subscribing to roscopter topics update- The only way the callback function is ran is when I run both nodes separately through rosrun. When i launch both nodes from a launch file the callback is not ran. I am going to to try creating two launch files and then combining them to see if this works. |
2016-01-13 14:19:55 -0500 | asked a question | Subscribing to roscopter topics Has anyone been able to subscribe to the topics that are published by the roscopter node? I have established a custom node that subscribes to the /state topic (it shows this on rqt_graph), however the callback in my custom node is never reached. It is a strange error because I can call rostopic echo /state and it will show the output perfectly however these values are not passed into my custom node. btw I am using these nodes on a intel edison. thanks, JB |
2015-10-13 12:33:45 -0500 | asked a question | Intel Edison Serial Communication to Pixhawk telemetry port I am trying to get a intel edison to be a companion computer for the pixhawk (apm firmware). I am using J18 pin 13, J19 pin 8 and 3 for the serial communication pins (this should be uart1). I have tested the pin connections and a have done loop back test and I believe that it is possible for the intel edison to recieve mavlink packets from the pixhawk. The intel edison is connect to telem2 and I have set the correct baudrates for both the intel edison and the pixhawk. The pixhawk is configure for mavlink as well.
My software setup is as follows I have ubilinux on board the intel edison with ROS. I am trying to use Roscopter node ( https://github.com/UtahDARCLab/roscopter ) however I get stuck trying to receive heartbeat msg from the pixhawk. I believe I have setup the intel edison pins correctly (i have been following this https://communities.intel.com/message... ) I have the latest adrucopter firmware uploaded through mission planner on the pixhawk. I don't know what else to try. I have been working on this for sometime now and would really appreciate any help or guidance. A more detail description of what I have so far is listed here any help or suggestions of what I am doing wrong would be greatly appreciated. JB |
2015-10-10 01:50:59 -0500 | received badge | ● Famous Question
(source)
|
2015-10-09 11:11:54 -0500 | received badge | ● Enthusiast
|
2015-10-02 11:59:30 -0500 | received badge | ● Notable Question
(source)
|
2015-10-02 10:59:04 -0500 | answered a question | how to install ros indigo on Intel Edison I ran these commands cd ~/ros_catkin_ws/external_src
sudo apt-get install libboost-system-dev libboost-thread-dev
git clone https://github.com/ros/console_bridge.git
cd console_bridge
cmake .
sudo checkinstall make install
than ran sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo finally got ros to install. Note: the insctructions listed here didnt work for me. |