mak237

Members
  • Content count

    13
  • Joined

  • Last visited

Community Reputation

0 Neutral

About mak237

  • Rank
    Member

Profile Information

  • Gender Male
  1. Before attributing any faults to the board it's worth noting that someone at my university had a similar issue with powering the Papilio with the external power jack. He had been using 12V in and was experiencing instabilities on the board (power led flickering, board not running properly). His solution ended up being soldering a wire onto the back of the board at the output to the 5V regulator to power it directly. Unfortunately, somewhere along the line the board was damaged(either from the 12v in for extended periods of time or the heat from soldering). After that the board never worked quite right - we can't always load anything form ZAP onto the board and the regulators are much hotter than the replacement papilios our lab ordered. Depending on how long you were powering it with 12V it is quite possible that it could have damaged something on your board in a similar fashion to the one in our lab. Even then, it sitll works fairly well over usb when it actually lets us program it. You might want to consider the option of powering it with 5v directly from your supply on one of the 5v out wing connectors if you can't get anything else to work - that's one way we have managed to externally power our papilios. Just remember to make sure to remove the power select jumper or at least make sure it isn't set to USB when testing.
  2. I'm pretty sure the Papilio isn't designed to be used with a 12V input. The 5V regulator on the Papilio is rated for 6.5-15V but it isn't capable of dissipating excess heat without a heatsink when using higher voltages. The reccomended voltage for the papilio one is 6.5-10V as seen here. Have you tried powering it with a lower voltage or powering it just from USB? With USB power or using a lower voltage you might have better luck.
  3. I am currently trying to get the Papilio One 500k to communicate with ROS on my computer. I have installed the ROS libraries onto my computer and get a number of errors when compiling. Most of these stem from the fact that ZAP does not include the stdint.h that the ROS libraries are attempting to access. Do we have an equivalent of stdint.h I can direct it to or will I have to modify ZAP IDE to accomodate these requirements? While testing I copied the stdint.h file into the ZAP IDE folders and some of the error messages disappeared, but others persisted due to what likely is a compatability issue. Edit 1: The error messages I am getting with no modifications to ZAP are below: In file included from /home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:38, from /home/mower/sketchbook/libraries/ros_lib/ros.h:38, from HelloWorld.pde:6:/home/mower/sketchbook/libraries/ros_lib/std_msgs/Time.h:4:20: stdint.h: No such file or directoryIn file included from /home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:38, from /home/mower/sketchbook/libraries/ros_lib/ros.h:38, from HelloWorld.pde:6:/home/mower/sketchbook/libraries/ros_lib/std_msgs/Time.h: In member function `virtual int std_msgs::Time::deserialize(unsigned char*)':/home/mower/sketchbook/libraries/ros_lib/std_msgs/Time.h:37: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/std_msgs/Time.h:37: error: (Each undeclared identifier is reported only once for each function it appears in.)/home/mower/sketchbook/libraries/ros_lib/std_msgs/Time.h:56:7: warning: no newline at end of fileIn file included from /home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:39, from /home/mower/sketchbook/libraries/ros_lib/ros.h:38, from HelloWorld.pde:6:/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h: At global scope:/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:15: error: `uint16_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:19: error: `int32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h: In member function `virtual int rosserial_msgs::TopicInfo::serialize(unsigned char*) const':/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:31: error: 'const class rosserial_msgs::TopicInfo' has no member named 'topic_id'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:32: error: 'const class rosserial_msgs::TopicInfo' has no member named 'topic_id'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:33: error: 'const class rosserial_msgs::TopicInfo' has no member named 'topic_id'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:34: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:34: error: expected `;' before "length_topic_name"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:35: error: `length_topic_name' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:39: error: expected `;' before "length_message_type"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:40: error: `length_message_type' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:44: error: expected `;' before "length_md5sum"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:45: error: `length_md5sum' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:50: error: `int32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:51: error: `uint32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:53: error: 'union rosserial_msgs::TopicInfo::serialize(unsigned char*) const::<anonymous>' has no member named 'real'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:53: error: 'const class rosserial_msgs::TopicInfo' has no member named 'buffer_size'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:54: error: 'union rosserial_msgs::TopicInfo::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:55: error: 'union rosserial_msgs::TopicInfo::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:56: error: 'union rosserial_msgs::TopicInfo::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:57: error: 'union rosserial_msgs::TopicInfo::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:58: error: 'const class rosserial_msgs::TopicInfo' has no member named 'buffer_size'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h: In member function `virtual int rosserial_msgs::TopicInfo::deserialize(unsigned char*)':/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:65: error: 'class rosserial_msgs::TopicInfo' has no member named 'topic_id'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:65: error: `uint16_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:66: error: 'class rosserial_msgs::TopicInfo' has no member named 'topic_id'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:67: error: 'class rosserial_msgs::TopicInfo' has no member named 'topic_id'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:68: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:68: error: expected `;' before "length_topic_name"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:69: error: `length_topic_name' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:77: error: expected `;' before "length_message_type"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:78: error: `length_message_type' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:86: error: expected `;' before "length_md5sum"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:87: error: `length_md5sum' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:96: error: `int32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:97: error: `uint32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:99: error: 'union rosserial_msgs::TopicInfo::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:100: error: 'union rosserial_msgs::TopicInfo::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:101: error: 'union rosserial_msgs::TopicInfo::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:102: error: 'union rosserial_msgs::TopicInfo::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:103: error: 'union rosserial_msgs::TopicInfo::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:104: error: 'class rosserial_msgs::TopicInfo' has no member named 'buffer_size'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:104: error: 'union rosserial_msgs::TopicInfo::deserialize(unsigned char*)::<anonymous>' has no member named 'real'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:105: error: 'class rosserial_msgs::TopicInfo' has no member named 'buffer_size'In file included from /home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:39, from /home/mower/sketchbook/libraries/ros_lib/ros.h:38, from HelloWorld.pde:6:/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:115:7: warning: no newline at end of fileIn file included from /home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:40, from /home/mower/sketchbook/libraries/ros_lib/ros.h:38, from HelloWorld.pde:6:/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h: At global scope:/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:15: error: `uint8_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h: In member function `virtual int rosserial_msgs::Log::serialize(unsigned char*) const':/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:26: error: 'const class rosserial_msgs::Log' has no member named 'level'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:27: error: 'const class rosserial_msgs::Log' has no member named 'level'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:28: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:28: error: expected `;' before "length_msg"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:29: error: `length_msg' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h: In member function `virtual int rosserial_msgs::Log::deserialize(unsigned char*)':/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:39: error: 'class rosserial_msgs::Log' has no member named 'level'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:39: error: `uint8_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:40: error: 'class rosserial_msgs::Log' has no member named 'level'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:41: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:41: error: expected `;' before "length_msg"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:42: error: `length_msg' undeclared (first use this function)In file included from /home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:40, from /home/mower/sketchbook/libraries/ros_lib/ros.h:38, from HelloWorld.pde:6:/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:59:7: warning: no newline at end of fileIn file included from /home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:41, from /home/mower/sketchbook/libraries/ros_lib/ros.h:38, from HelloWorld.pde:6:/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h: In member function `virtual int rosserial_msgs::RequestParamRequest::serialize(unsigned char*) const':/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:21: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:21: error: expected `;' before "length_name"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:22: error: `length_name' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h: In member function `virtual int rosserial_msgs::RequestParamRequest::deserialize(unsigned char*)':/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:32: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:32: error: expected `;' before "length_name"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:33: error: `length_name' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h: At global scope:/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:52: error: `uint8_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:53: error: `int32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:54: error: ISO C++ forbids declaration of `int32_t' with no type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:54: error: expected `;' before '*' token/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:55: error: `uint8_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:58: error: `uint8_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h: In member function `virtual int rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const':/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:65: error: `ints_length' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:69: error: `uint8_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:69: error: expected `;' before "i"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:69: error: `i' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:71: error: `int32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:72: error: `uint32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:74: error: 'union rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const::<anonymous>' has no member named 'real'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:74: error: 'const class rosserial_msgs::RequestParamResponse' has no member named 'ints'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:75: error: 'union rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:76: error: 'union rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:77: error: 'union rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:78: error: 'union rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:79: error: 'const class rosserial_msgs::RequestParamResponse' has no member named 'ints'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:81: error: `floats_length' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:85: error: expected `;' before "i"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:88: error: `uint32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:91: error: 'union rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:92: error: 'union rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:93: error: 'union rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:94: error: 'union rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:97: error: `strings_length' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:101: error: expected `;' before "i"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:102: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:102: error: expected `;' before "length_stringsi"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:103: error: `length_stringsi' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h: In member function `virtual int rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)':/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:114: error: `uint8_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:114: error: expected `;' before "ints_lengthT"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:115: error: `ints_lengthT' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:115: error: `ints_length' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:116: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'ints'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:116: error: `int32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:116: error: expected primary-expression before ')' token/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:116: error: expected `;' before "realloc"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:119: error: expected `;' before "i"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:119: error: `i' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:121: error: `int32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:122: error: `uint32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:124: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:125: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:125: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:126: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:127: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:128: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:129: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'st_ints'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:129: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'real'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:130: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'st_ints'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:131: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'ints'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:131: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'st_ints'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:133: error: expected `;' before "floats_lengthT"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:134: error: `floats_lengthT' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:134: error: `floats_length' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:138: error: expected `;' before "i"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:141: error: `uint32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:143: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:144: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:145: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:146: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:147: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:152: error: expected `;' before "strings_lengthT"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:153: error: `strings_lengthT' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:153: error: `strings_length' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:157: error: expected `;' before "i"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:158: error: expected `;' before "length_st_strings"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:159: error: `length_st_strings' undeclared (first use this function)In file included from /home/mower/sketchbook/libraries/ros_lib/ros.h:38, from HelloWorld.pde:6:/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h: In constructor `ros::NodeHandle_<Hardware, MAX_SUBSCRIBERS, MAX_PUBLISHERS, INPUT_SIZE, OUTPUT_SIZE>::NodeHandle_()':/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:133: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'ints_length'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:134: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'ints'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:135: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'floats_length'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:137: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'ints_length'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:138: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'ints'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h: In member function `void ros::NodeHandle_<Hardware, MAX_SUBSCRIBERS, MAX_PUBLISHERS, INPUT_SIZE, OUTPUT_SIZE>::negotiateTopics()':/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:393: error: 'class rosserial_msgs::TopicInfo' has no member named 'topic_id'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:397: error: 'class rosserial_msgs::TopicInfo' has no member named 'buffer_size'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:405: error: 'class rosserial_msgs::TopicInfo' has no member named 'topic_id'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:409: error: 'class rosserial_msgs::TopicInfo' has no member named 'buffer_size'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h: In member function `void ros::NodeHandle_<Hardware, MAX_SUBSCRIBERS, MAX_PUBLISHERS, INPUT_SIZE, OUTPUT_SIZE>::log(char, const char*)':/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:456: error: 'class rosserial_msgs::Log' has no member named 'level'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h: In member function `bool ros::NodeHandle_<Hardware, MAX_SUBSCRIBERS, MAX_PUBLISHERS, INPUT_SIZE, OUTPUT_SIZE>::getParam(const char*, int*, int)':/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:502: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'ints_length'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:505: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'ints'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h: In member function `bool ros::NodeHandle_<Hardware, MAX_SUBSCRIBERS, MAX_PUBLISHERS, INPUT_SIZE, OUTPUT_SIZE>::getParam(const char*, float*, int)':/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:513: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'floats_length'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h: In member function `bool ros::NodeHandle_<Hardware, MAX_SUBSCRIBERS, MAX_PUBLISHERS, INPUT_SIZE, OUTPUT_SIZE>::getParam(const char*, char**, int)':/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:524: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'strings_length'In file included from HelloWorld.pde:7:/home/mower/sketchbook/libraries/ros_lib/std_msgs/String.h: In member function `virtual int std_msgs::String::serialize(unsigned char*) const':/home/mower/sketchbook/libraries/ros_lib/std_msgs/String.h:20: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/std_msgs/String.h:20: error: expected `;' before "length_data"/home/mower/sketchbook/libraries/ros_lib/std_msgs/String.h:21: error: `length_data' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/std_msgs/String.h: In member function `virtual int std_msgs::String::deserialize(unsigned char*)':/home/mower/sketchbook/libraries/ros_lib/std_msgs/String.h:31: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/std_msgs/String.h:31: error: expected `;' before "length_data"/home/mower/sketchbook/libraries/ros_lib/std_msgs/String.h:32: error: `length_data' undeclared (first use this function)In file included from HelloWorld.pde:7:/home/mower/sketchbook/libraries/ros_lib/std_msgs/String.h:49:7: warning: no newline at end of file/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h: In member function `int ros::NodeHandle_<Hardware, MAX_SUBSCRIBERS, MAX_PUBLISHERS, INPUT_SIZE, OUTPUT_SIZE>::publish(int, const ros::Msg*) [with Hardware = ArduinoHardware, int MAX_SUBSCRIBERS = 25, int MAX_PUBLISHERS = 25, int INPUT_SIZE = 512, int OUTPUT_SIZE = 512]':/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:292: instantiated from `void ros::NodeHandle_<Hardware, MAX_SUBSCRIBERS, MAX_PUBLISHERS, INPUT_SIZE, OUTPUT_SIZE>::requestSyncTime() [with Hardware = ArduinoHardware, int MAX_SUBSCRIBERS = 25, int MAX_PUBLISHERS = 25, int INPUT_SIZE = 512, int OUTPUT_SIZE = 512]'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:222: instantiated from `int ros::NodeHandle_<Hardware, MAX_SUBSCRIBERS, MAX_PUBLISHERS, INPUT_SIZE, OUTPUT_SIZE>::spinOnce() [with Hardware = ArduinoHardware, int MAX_SUBSCRIBERS = 25, int MAX_PUBLISHERS = 25, int INPUT_SIZE = 512, int OUTPUT_SIZE = 512]'HelloWorld.pde:26: instantiated from here/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:435: warning: comparison between signed and unsigned integer expressionsThe majority of the errors stem from the line: /home/mower/sketchbook/libraries/ros_lib/std_msgs/Time.h:4:20: stdint.h: No such file or directoryEdit 2: When I added #include <zpuino-types.h> many of the errors went away, but I am still seeing a number of other errors Edit 3: In the short term directly Papilio communication with ROS looks unlikely due to it requiring extensive modifications to either the ROS Serial libraries or the ZAP IDE.Until I am able to find a way to get the Papilio to communicate with the ROS Serial libraries I am going to try to exchange messages between the Papilio and an Arduino and have the Arduino communicate with ROS.
  4. +2 on the cable. I have worked with spotty cables that don't make a connection unless you put pressure on a certain spot. Even a good cable can be damaged over time by stress too.
  5. I tried the code hamster suggested and it seems to be working. The serial settings on the scope in the lab saw everything I sent to it as having 7 bits with even parity instead of the normal 8 bits with no parity. The only thing left to do is testing it out with the motor controller. Thanks for all the help and suggestions!
  6. I'll try that when I get back into the lab on Monday then. Hopefully that's all I need to do to be able to communicate with this motor controller. Thanks for all of the help with this, I really appreciate it.
  7. Ah, that's good to know. I didn't know if it was something as simple as a bug or configuration problem, or if it was an actual compatability issue. It's How much time would it take for a custom implementation? I don't want to take too much of your time if it can be done more easily some other way. Anyway, it probably would be best having a custom implementation since I'm trying to leave as much of the messy code out of the soft processor as possible to make it easier for people that work with me on the project to read through and understand the code. Mak237
  8. For my ongoing project I am trying to interface the Papilio with a Roboteq AX2550 motor controller. The default serial configuration on the arduino and by extension the ZAP IDE is 8 data bits, no parity, and one stop bit. The motor controller can not use this as explained in the excerpt from the manual below: In the Arduino documentation of Serial.begin() it outlines a way to change this by using the format Serial.begin(speed, config) for a command. http://arduino.cc/en/Serial/Begin When I try to enter the appropriate command in the ZAP IDE, Serial.begin(9600, SERIAL_7E1), I get an error stating that 'SERIAL_7E1' undeclared (first use this function). After searching for this error I found a few of references to this problem about a year ago on the arduino forums and people claiming that it worked as of arduino 1.0.4. All of this leads me to the question, is there any easy way to change this with the ZAP IDE? If not, what would I have to do to work around this problem? Is this not possible using the UART in the papilio schematic library?
  9. Thanks, I didn't know if this was how it was supposed to work or not.
  10. I'm currently trying to work with a device that expects specific values to be sent to it over serial. When I try to send a value of 0 over serial I get the error "call of overloaded 'write(int)' is ambiguous". An example of this is below: void setup(){ Serial.begin(9600);}void loop(){ Serial.write(0);}On the other hand, when I set a variable to 0 and then write that variable out over serial it sends the value out without a problem. An example of the working variant is here: int number;void setup(){ Serial.begin(9600); number = 0;}void loop(){ Serial.write(number);}It's also worth noting that it seems to also do this in the actual Arduino IDE in addition to ZAP. Is this functioning as intended or is this a bug?
  11. Thanks for all of the help and advice - I got it working now and just need to clean up my current code since my current code is functional but hard to follow.
  12. As you requested in the chat room, here is my project in it's current state. There are a number of warnings in it right now due to files that I failed to remove properly that were created when experimenting with it on my own. motor decoder - borrowed code.zip
  13. I'm very new to FPGAs and VHDL and have been having some difficulty reading an encoder off of a Papilio 500k. I slightly modified the code ivanjh's that I found here to try to get it to communicate using the more recent changes to the wishbone bus (using the arrays in/out instead of the 10 individual signals) but I am still not confident that it will work as intended. After the modifications I have this: library ieee;use ieee.std_logic_1164.all;use ieee.std_logic_unsigned.all;use ieee.numeric_std.all;library board;use board.zpu_config.all;use board.zpupkg.all;use board.zpuinopkg.all;entity zpuino_quadcounter_modified is generic ( COUNTER_BIT_WIDTH : integer := wordSize; COUNTER_INVALID_BIT_WIDTH : integer := wordSize; CHANNELS : integer := 1 ); port ( wishbone_in : in std_logic_vector(61 downto 0); wishbone_out : out std_logic_vector(33 downto 0); -- Counter Input A, B : in std_logic_vector(CHANNELS-1 downto 0) );end zpuino_quadcounter_modified; architecture behave of zpuino_quadcounter_modified is--Wishbone signals - Don't touch. signal wb_clk_i: std_logic; -- Wishbone clock signal wb_rst_i: std_logic; -- Wishbone reset (synchronous) signal wb_dat_i: std_logic_vector(wordSize-1 downto 0); -- Wishbone data input (32 bits) signal wb_adr_i: std_logic_vector(maxIObit downto minIObit); -- Wishbone address input (32 bits) signal wb_we_i: std_logic; -- Wishbone write enable signal signal wb_cyc_i: std_logic; -- Wishbone cycle signal signal wb_stb_i: std_logic; -- Wishbone strobe signal signal wb_dat_o: std_logic_vector(wordSize-1 downto 0); -- Wishbone data output (32 bits) signal wb_ack_o: std_logic; -- Wishbone acknowledge out signal signal wb_inta_o: std_logic; type tCounterArray is array (CHANNELS-1 downto 0) of std_logic_vector(COUNTER_BIT_WIDTH-1 downto 0); type tCounterInvalidArray is array (CHANNELS-1 downto 0) of std_logic_vector(COUNTER_INVALID_BIT_WIDTH-1 downto 0); signal counter_Int : tCounterArray; --Internal counters signal counterInvalid_Int: tCounterInvalidArray; --Internal invalid counters --signal wb_dat_o_Int : std_logic_vector(wb_dat_o'range); signal up,down : std_logic_vector(CHANNELS-1 downto 0); COMPONENT quad_decoder PORT( clk : IN std_logic; reset : IN std_logic; A : IN std_logic; B : IN std_logic; up : OUT std_logic; down : OUT std_logic ); END COMPONENT; begin-- Unpack the wishbone array into signals so the modules code is not confusing. wb_clk_i <= wishbone_in(61); wb_rst_i <= wishbone_in(60); wb_dat_i <= wishbone_in(59 downto 28); wb_adr_i <= wishbone_in(27 downto 3); wb_we_i <= wishbone_in(2); wb_cyc_i <= wishbone_in(1); wb_stb_i <= wishbone_in(0); wishbone_out(33 downto 2) <= wb_dat_o; wishbone_out(1) <= wb_ack_o; wishbone_out(0) <= wb_inta_o;-- End unpacking Wishbone signals wb_ack_o <= wb_cyc_i and wb_stb_i; --Acknowledge any read channel_inst : for i in 0 to CHANNELS-1 generate quad_decoder_inst: quad_decoder port map ( clk => wb_clk_i, reset => wb_rst_i, A=> A(i), B => B(i), up => up(i), down => down(i) ); CountProcess: process (wb_clk_i, wb_rst_i) begin if wb_rst_i = '1' then counter_Int(i) <= (others => '0'); -- counterInvalid_Int <= (others => '0'); elsif rising_edge(wb_clk_i) then --Clock if (up(i)='1') then -- Count Up counter_Int(i) <= counter_Int(i) + '1'; elsif (down(i)='1') then -- Count Down counter_Int(i) <= counter_Int(i) - '1'; end if; end if; end process; end generate; LoadToDataOutBus:process(wb_adr_i, counter_Int) --wb_clk_i, wb_rst_i, begin wb_dat_o <= (others=>'0'); for i in 0 to CHANNELS-1 loop if (wb_adr_i(15 downto 2) = std_logic_vector(to_unsigned(i, wb_adr_i'length)) ) then wb_dat_o <= counter_Int( i ); end if; end loop; end process;end behave;To test it I hooked up the encoder I'm trying to use to the Papilio and tried using the following sketch on zpuino to read the values from the encoder. #define input (IO_SLOT (5))void setup() {Serial.begin(9600);}void loop() {Serial.print("Encoder value: ");Serial.println(input);delay(500);}The serial monitor showed this as constantly returning "Encoder value: 176160768". I know I'm doing something wrong right now but have no idea what I'm doing wrong or how to go about fixing it. Does anyone have any experience with similar problems? Thanks