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

Dizett's profile - activity

2019-12-16 13:50:34 -0500 received badge  Taxonomist
2019-04-08 01:20:45 -0500 marked best answer canopen_chain_node and init device

How to init vcan0?

I need to use can::SocketCANInterface ?

can::Frame msg1;
msg1.id = 1;
msg1.data = {1,2,3,4};
  const string driv("vcan0");
  can::SocketCANInterface driver;

  printf("init = %d\n",driver.init(driv, true));
  printf("rec = %d\n",driver.recover());
  printf("state = %d\n",(int)driver.getState().isReady());
  printf("send = %d\n",driver.send(msg1));

Output:

init = 1
rec = 0
state = 0
send = 0

And how to send messages using a dictionary in canopen_chain_node .

canopen_chain_node configured correctly and launched.

Please, help to understand, I am a beginner to ROS.

My .yaml file

Does anyone have an example?

2019-03-14 16:21:32 -0500 received badge  Famous Question (source)
2018-11-09 04:31:01 -0500 received badge  Famous Question (source)
2018-06-14 16:02:42 -0500 received badge  Famous Question (source)
2018-06-14 07:12:11 -0500 commented answer Canopen_chain_node does not update values ​​from the device

in .eds file was a parameter [2007sub1] ParameterName=Activation Position Value Scaled ObjectType=7 AccessType=RW Data

2018-06-14 06:28:49 -0500 received badge  Notable Question (source)
2018-06-14 05:22:09 -0500 commented answer Canopen_chain_node does not update values ​​from the device

what is the "Transmission Type: 1"?

2018-06-13 05:33:34 -0500 commented answer Canopen_chain_node does not update values ​​from the device

The most interesting is that the first time I can read the value, but it is not updated, but it also publishes the old v

2018-06-13 05:26:57 -0500 commented answer Canopen_chain_node does not update values ​​from the device

In canopen_chain_node added: [ INFO] [1528885330.074478483]: Initializing XXX [ INFO] [1528885330.096531888]: Current

2018-06-13 05:24:10 -0500 commented answer Canopen_chain_node does not update values ​​from the device

It was so copied. I start the .launch file of the standard node canopen_chain_node, changing the path to the .yaml file.

2018-06-09 09:04:33 -0500 received badge  Popular Question (source)
2018-06-09 05:45:17 -0500 commented answer Canopen_chain_node does not update values ​​from the device

My .yaml file is correct?

2018-06-08 10:42:00 -0500 commented answer Canopen_chain_node does not update values ​​from the device

The original .launch file is taken from canopen_chain_node and added <node pkg="rosservice" type="rosservice" name="d

2018-06-08 09:22:05 -0500 commented answer Canopen_chain_node does not update values ​​from the device

using the Python(not ROS) script, I see the update value. But in c ++ in ROS, the value is not updated, but the same is

2018-06-08 09:21:33 -0500 commented answer Canopen_chain_node does not update values ​​from the device

using the Python script, I see the update value. But in c ++ in Hts, the value is not updated, but the same is published

2018-06-08 08:21:00 -0500 asked a question Canopen_chain_node does not update values ​​from the device

Canopen_chain_node does not update values ​​from the device .yaml file bus: device: can0 loopback: true # socket s

2018-06-08 08:08:57 -0500 commented question How to use canopen_master ?

1)Node ID in the CAN network 2)6200 (for example)

2018-06-08 05:30:49 -0500 received badge  Notable Question (source)
2018-06-08 05:28:46 -0500 commented question How to use canopen_master ?

and using rosservice call /driver/set_object "node: 'device_name ' object: '6200sub2' value: '5' cached: false" With

2018-06-08 05:28:04 -0500 commented question How to use canopen_master ?

or in code send_service_("device_name", "6200sub2", 5);

2018-06-08 05:26:48 -0500 commented question How to use canopen_master ?

and using rosservice call /driver/set_object "node: device_name '' object: 6200sub2'' value: 5'' cached: false" With

2018-06-08 05:21:43 -0500 commented question How to use canopen_master ?

.yaml bus: device: can0 loopback: true # socket should loop back messages master_allocator: canopen::SimpleMaster

2018-06-08 05:21:34 -0500 commented question How to use canopen_master ?

.yaml bus: device: can0 loopback: true # socket should loop back messages master_allocator: canopen::SimpleMaster:

2018-06-08 05:18:21 -0500 commented question How to use canopen_master ?

.launch file <launch> <arg name="yaml"/> <node name="canopen_chain" pkg="canopen_chain_node" type="c

2018-06-08 05:18:12 -0500 commented question How to use canopen_master ?

.launch file <launch> <arg name="yaml"/> <node name="canopen_chain" pkg="canopen_chain_node" type="ca

2018-06-08 05:14:45 -0500 commented question How to use canopen_master ?

make sure that the .eds file does not contain errors.

2018-06-01 04:25:19 -0500 received badge  Famous Question (source)
2018-06-01 04:24:40 -0500 received badge  Notable Question (source)
2018-06-01 04:24:40 -0500 received badge  Popular Question (source)
2018-05-28 14:39:40 -0500 received badge  Popular Question (source)
2018-03-16 10:57:18 -0500 asked a question "CAN not ready" in canopen_chain_node

"CAN not ready" in canopen_chain_node canopen_chain_node not work $ roslaunch canopen_chain_node chain.launch

2018-03-14 10:07:47 -0500 asked a question How to use canopen_master ?

How to use canopen_master ? How to use canopen_master ? I have .eds file. How to send data to device?

2018-03-14 06:18:45 -0500 commented answer canopen_chain_node and init device

How to send data using canopen_master or canopen_motor_node?

2018-03-14 06:18:45 -0500 received badge  Commentator
2018-03-02 01:58:59 -0500 received badge  Notable Question (source)
2018-02-26 08:30:51 -0500 received badge  Famous Question (source)
2018-02-22 10:13:56 -0500 commented question Running a canopen node using only canopen_chain_node and canopen_master

You can upload your project to https://github.com ? I really appreciate your help with this.

2018-02-22 07:29:44 -0500 commented answer canopen_chain_node and init device

I don't understand.So how do I communicate with the device using dictionaries? Is there an example? Please, help me!

2018-02-22 06:02:31 -0500 commented answer canopen_chain_node and init device

Does it have to look like this in ros? ros::Publisher pub = nh.advertise<std_msgs::Int16>("node2_6411sub2",20);

2018-02-22 06:01:58 -0500 commented answer canopen_chain_node and init device

Does it have to look like this in ros? ros::Publisher pub = nh.advertise<std_msgs::Int16>("node2_6411",20); .

2018-02-22 06:00:42 -0500 commented answer canopen_chain_node and init device

an example on Python self.steer_controller = self.network.add_node(0x01 ,'/home/turtle1/ros/base_control/eds/phyPS409Y.

2018-02-22 05:40:55 -0500 commented answer canopen_chain_node and init device

My .yaml file this is a sufficient configuration? If i add node1: publish: ["1003sub0!"] do I have to subscribe to

2018-02-22 05:40:35 -0500 commented answer canopen_chain_node and init device

My .yaml file this is a sufficient configuration? If i add node1: publish: ["1003sub0!"] do I have to subscribe to

2018-02-22 05:12:14 -0500 received badge  Notable Question (source)
2018-02-22 04:03:33 -0500 commented answer canopen_chain_node and init device

How i can to interact with the corresponding objects of the dictionary? I Need to use the topics? I need something to p

2018-02-22 03:29:09 -0500 commented answer canopen_chain_node and init device

I don't understand. How do I use canopen_chain_nod to send commands to a device? И как получать сообщения от устройства?

2018-02-22 02:54:44 -0500 received badge  Enthusiast
2018-02-20 11:36:19 -0500 received badge  Popular Question (source)
2018-02-19 01:47:35 -0500 edited question canopen_chain_node and init device

canopen_chain_node and init device How to init vcan0? I need to use can::SocketCANInterface ? can::Frame msg1; msg1.id