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

chris annin's profile - activity

2022-08-22 09:44:48 -0500 received badge  Good Question (source)
2021-11-25 04:42:44 -0500 received badge  Nice Question (source)
2021-09-16 07:47:40 -0500 received badge  Favorite Question (source)
2021-08-31 05:27:42 -0500 received badge  Teacher (source)
2021-08-31 05:27:42 -0500 received badge  Self-Learner (source)
2019-10-31 17:17:25 -0500 received badge  Student (source)
2019-05-09 06:47:27 -0500 received badge  Famous Question (source)
2018-10-01 05:48:04 -0500 received badge  Famous Question (source)
2018-09-12 13:16:27 -0500 received badge  Notable Question (source)
2018-08-06 13:28:13 -0500 received badge  Famous Question (source)
2018-07-24 02:05:16 -0500 received badge  Famous Question (source)
2018-07-16 13:48:59 -0500 commented question SimpleActionServer via rosserial arduino

thank you for the input. I will keep working on it and report back.

2018-07-16 13:47:50 -0500 commented question follow_joint_trajectory action client not connected

action server node and pass the values to the arduino. In any case Im assuming once I get a server running first that m

2018-07-16 13:46:22 -0500 commented question follow_joint_trajectory action client not connected

not yet. according to the answer provided by BryceWiley moveit is trying to connect to the action server which isnt the

2018-07-16 11:23:40 -0500 received badge  Popular Question (source)
2018-07-16 09:20:15 -0500 edited question SimpleActionServer via rosserial arduino

SimpleActionServer via rosserial arduino Is it possible to run a FollowJointTrajectory action service directly from an a

2018-07-15 23:21:14 -0500 received badge  Notable Question (source)
2018-07-15 14:39:52 -0500 asked a question SimpleActionServer via rosserial arduino

SimpleActionServer via rosserial arduino I haven't been able to find and information or examples on this. Is it possibl

2018-07-11 22:41:28 -0500 commented answer follow_joint_trajectory action client not connected

Ahh, so I misunderstood the error in thinking the moveit side wasnt picking up the controller.yaml. thank you. I'll sh

2018-07-11 21:30:01 -0500 edited question follow_joint_trajectory action client not connected

follow_joint_trajectory action client not connected Im attempting to setup a simple controller manager through moveit to

2018-07-11 21:27:20 -0500 received badge  Organizer (source)
2018-07-11 21:21:34 -0500 received badge  Popular Question (source)
2018-07-09 02:03:21 -0500 marked best answer arduino sketch to subscribe to joint state msg

I'm trying to use rosserial on arduino to subscribe to move_group/fake_controller_joint_states and then publish the first joints position on a topic chatter just to test verify that im receiving the position but it seems that the call back is not working as I don't seem to receive the values being sent on fake_controller_joint_states. Im using an arduino mega, kinetic and ubuntu 16.04. I greatly appreciate any direction or input. thank you.

#if (ARDUINO >= 100)
#include <Arduino.h>
#else
#include <WProgram.h>
#endif
#include <ros.h>
#include <std_msgs/Float64.h>
#include <sensor_msgs/JointState.h>
#include <stdlib.h>

ros::NodeHandle nh;
std_msgs::Float64 mydata;

float angle[6] = {0,0,0,0,0,0};

void cmd_cb(const sensor_msgs::JointState& cmd_arm)
{
  angle[0] = cmd_arm.position[0];
  angle[1] = cmd_arm.position[1];
  angle[2] = cmd_arm.position[2];
  angle[3] = cmd_arm.position[3];
  angle[4] = cmd_arm.position[4];
  angle[5] = cmd_arm.position[5];
}

ros::Subscriber<sensor_msgs::JointState> sub("/move_group/fake_controller_joint_states", cmd_cb);
ros::Publisher chatter("chatter", &mydata);

void setup()
{
  nh.initNode();
  nh.subscribe(sub);
  nh.advertise(chatter);
}

void loop()
{
  mydata.data = angle[1];
  chatter.publish( &mydata );
  nh.spinOnce();
  delay(1);
}

rostopic info /move_group/fake_controller_joint_states returns:

Type: sensor_msgs/JointState

Publishers: 
 * /move_group (http://chris-Latitude-3540:40629/)

Subscribers: 
 * /joint_state_publisher (http://chris-Latitude-3540:41687/)
 * /rostopic_5632_1530298559582 (http://chris-Latitude-3540:32869/)
 * /serial_node (http://chris-Latitude-3540:44431/)

rosnode info /serial_node returns:

Node [/serial_node]
Publications: 
 * /chatter [std_msgs/Float64]
 * /diagnostics [diagnostic_msgs/DiagnosticArray]
 * /rosout [rosgraph_msgs/Log]

Subscriptions: 
 * /move_group/fake_controller_joint_states [sensor_msgs/JointState]

Services: 
 * /serial_node/get_loggers
 * /serial_node/set_logger_level

contacting node http://chris-Latitude-3540:44431/ ...
Pid: 10725
Connections:
 * topic: /chatter
    * to: /rostopic_9634_1530306645550
    * direction: outbound
    * transport: TCPROS
 * topic: /rosout
    * to: /rosout
    * direction: outbound
    * transport: TCPROS
 * topic: /move_group/fake_controller_joint_states
    * to: /move_group (http://chris-Latitude-3540:40629/)
    * direction: inbound
    * transport: TCPROS
2018-07-09 01:13:06 -0500 asked a question follow_joint_trajectory action client not connected

follow_joint_trajectory action client not connected Im attempting to setup a simple controller manager through moveit to

2018-07-07 01:38:01 -0500 received badge  Enthusiast
2018-07-06 11:01:51 -0500 received badge  Famous Question (source)
2018-06-30 11:57:35 -0500 commented question arduino sketch to subscribe to joint state msg

i appreciate your feedback, what do you mean by "Taking fake_controller_joint_states as input is also not very nice" Is

2018-06-30 11:54:00 -0500 commented question arduino sketch to subscribe to joint state msg

i appreciate your feedback, what do you mean by "Taking fake_controller_joint_states as input is also not very nice" Is

2018-06-30 02:07:26 -0500 answered a question arduino sketch to subscribe to joint state msg

I was able to get it working by changing the baud rate to 115200 I added this line to the void_setup nh.getHardware()-

2018-06-30 01:06:10 -0500 received badge  Notable Question (source)
2018-06-29 17:43:29 -0500 received badge  Popular Question (source)
2018-06-29 17:21:37 -0500 commented question arduino sketch to subscribe to joint state msg

added this to the question. thank you

2018-06-29 17:20:43 -0500 edited question arduino sketch to subscribe to joint state msg

arduino sketch to subscribe to joint state msg I'm trying to use rosserial on arduino to subscribe to move_group/fake_co

2018-06-29 17:20:43 -0500 received badge  Editor (source)
2018-06-29 17:18:47 -0500 received badge  Notable Question (source)
2018-06-29 17:18:47 -0500 received badge  Popular Question (source)
2018-06-29 17:12:20 -0500 edited question arduino sketch to subscribe to joint state msg

arduino sketch to subscribe to joint state msg I'm trying to use rosserial on arduino to subscribe to move_group/fake_co

2018-06-29 16:37:33 -0500 asked a question arduino sketch to subscribe to joint state msg

arduino sketch to subscribe to joint state msg I'm trying to use rosserial on arduino to subscribe to move_group/fake_co

2018-05-27 22:43:06 -0500 received badge  Notable Question (source)
2018-05-27 16:19:55 -0500 received badge  Commentator
2018-05-27 16:19:55 -0500 commented answer SW2URDF - urdf .stl files not found

I obviously have a lot to learn - this is very foreign to me. Im going through some ROS tutorials on catkin and cmake n

2018-05-27 16:16:48 -0500 marked best answer SW2URDF - urdf .stl files not found

Ive used SW2URDF to export a urdf but every time I get errors stating the models cannot be found. Ive been at this for 2 days straight, the models are in fact there and there isnt any discrepancy in path or file name, case is correct. Ive poured over the forum and tried everything from changing the filepath to complelety reinstalling ros, move it and reconfiguring workspace. im running ubunto 16.04 and kinetic any insight would be appreciated:

[ERROR] [1527370549.957216539]: Error retrieving file [package://AR2urdf/meshes/base_link.STL]: Package [AR2urdf] does not exist